/* theme.css */
/* Restyling 2026 — shared base across the two directions */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --rs-purple: #6010F9;
  --rs-purple-600: #4E0DD8;
  --rs-purple-100: #E4D8FF;
  --rs-purple-50: #F3EEFF;
  --rs-ink: #0A0A0F;
  --rs-ink-2: #2A2A35;
  --rs-ink-3: #6B6B78;
  --rs-ink-4: #9B9BA8;
  --rs-line: #EAEAEF;
  --rs-line-2: #D3D3D9;
  --rs-bg: #FFFFFF;
  --rs-bg-soft: #FAFAFC;
  --rs-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rs-mono: "Geist Mono", ui-monospace, monospace;
  --rs-container: 1240px;
}

.rs, .rs * { box-sizing: border-box; }
.rs {
  font-family: var(--rs-display);
  color: var(--rs-ink);
  background: var(--rs-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

/* ===== Shared utilities ===== */
.rs .container { max-width: var(--rs-container); margin: 0 auto; padding: 0 32px; }
.rs .mono { font-family: var(--rs-mono); font-feature-settings: "ss01"; }
.rs a { color: inherit; text-decoration: none; }

/* ===== Gutenberg interop globale =====
 * 1) Group block wrapper interno: lo rendiamo trasparente al layout, così i
 *    children tornano "figli diretti" del Group per CSS grid/flex (.hero-grid,
 *    .method-grid, .ticker, .two-col, .ct-main-grid, ecc.).
 * 2) Container Mocart: max-width + centered anche quando applicato come
 *    className su un Group Gutenberg.
 * 3) Button wrapper: neutralizziamo lo styling del wrapper e applichiamo i
 *    nostri .btn / .btn-purple / .btn-ghost al link interno (evita doppio bordo). */
.rs .wp-block-group__inner-container { display: contents; }
.rs .wp-block-group.container { max-width: var(--rs-container); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.rs .wp-block-button.btn { padding: 0 !important; background: transparent !important; background-color: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
.rs .wp-block-button.btn > .wp-block-button__link.wp-element-button {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--rs-display); font-weight: 600; font-size: 14px;
	letter-spacing: -0.01em; line-height: 1.2;
	padding: 14px 22px; border-radius: 999px; border: 0; box-shadow: none;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
	text-decoration: none;
}
.rs .wp-block-button.btn-purple > .wp-block-button__link.wp-element-button { background: var(--rs-purple) !important; background-color: var(--rs-purple) !important; color: #fff !important; box-shadow: 0 10px 30px rgba(96,16,249,0.25); }
.rs .wp-block-button.btn-purple:hover > .wp-block-button__link.wp-element-button { background: var(--rs-purple-600) !important; background-color: var(--rs-purple-600) !important; transform: translateY(-1px); box-shadow: 0 16px 40px rgba(96,16,249,0.35); }
.rs .wp-block-button.btn-ghost > .wp-block-button__link.wp-element-button { background: transparent !important; background-color: transparent !important; color: var(--rs-ink) !important; border: 1px solid var(--rs-line-2) !important; }
.rs .wp-block-button.btn-ghost:hover > .wp-block-button__link.wp-element-button { border-color: var(--rs-ink) !important; }

/* Eyebrow */
.rs .eyebrow {
  font-family: var(--rs-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rs-purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rs .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rs-purple); display: inline-block;
}

/* Buttons */
.rs .btn {
  font-family: var(--rs-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 240ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.rs .btn-primary { background: var(--rs-ink); color: #fff !important; }
.rs .btn-primary:hover { background: var(--rs-purple); transform: translateY(-1px); }
.rs .btn-purple { background: var(--rs-purple); color: #fff !important; box-shadow: 0 10px 30px rgba(96,16,249,0.25); }
.rs .btn-purple:hover { background: var(--rs-purple-600); transform: translateY(-1px); box-shadow: 0 16px 40px rgba(96,16,249,0.35); }
.rs .btn-ghost { background: transparent; color: var(--rs-ink); border: 1px solid var(--rs-line-2); }
.rs .btn-ghost:hover { border-color: var(--rs-ink); }
.rs .btn-sm { padding: 10px 16px; font-size: 13px; }

/* Prompt bar — AI hero input */
.rs .prompt {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  padding: 18px 18px 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 60px -20px rgba(96,16,249,0.25), 0 1px 0 rgba(0,0,0,0.02);
}
.rs .prompt .spark {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--rs-purple); color: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px;
}
.rs .prompt input {
  flex: 1; border: 0; outline: 0;
  font-family: var(--rs-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--rs-ink);
  background: transparent;
  min-width: 0;
}
.rs .prompt .typing {
  flex: 1;
  font-family: var(--rs-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--rs-ink);
  min-height: 24px;
  letter-spacing: -0.01em;
}
.rs .prompt .typing .cursor {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--rs-purple);
  vertical-align: -3px;
  margin-left: 2px;
  animation: rs-blink 0.9s steps(1) infinite;
}
.rs .prompt .send {
  background: var(--rs-purple); color: #fff;
  border: 0; border-radius: 12px;
  width: 42px; height: 42px;
  cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center;
  transition: background 180ms;
}
.rs .prompt .send:hover { background: var(--rs-purple-600); }
.rs .prompt .hint {
  font-family: var(--rs-mono); font-size: 11px;
  color: var(--rs-ink-4); white-space: nowrap;
}
@keyframes rs-blink { 50% { opacity: 0; } }

/* Suggestion chips under prompt */
.rs .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rs .chip {
  font-family: var(--rs-mono);
  font-size: 12px;
  color: var(--rs-ink-2);
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 180ms;
}
.rs .chip:hover { border-color: var(--rs-purple); color: var(--rs-purple); }

/* Section kickers */
.rs .section { padding: 120px 0; }
.rs .section-tight { padding: 80px 0; }
.rs .section h2.h2 {
  font-family: var(--rs-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 14px 0 20px;
  max-width: 860px;
}
.rs .section h2.h2 em {
  font-family: "Inter Tight", var(--rs-display), serif;
  font-style: italic; font-weight: 500;
  color: var(--rs-purple);
}
.rs .section p.lead {
  font-size: 19px; line-height: 1.55; color: var(--rs-ink-3); max-width: 620px; margin: 0;
}

/* Card base */
.rs .card {
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  padding: 28px;
  transition: all 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rs .card:hover { border-color: var(--rs-ink-4); }

/* Nav */
.rs .nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rs-line);
}
/* Default nav-inner non-invasivo: solo flex. Padding/max-width editabili nativamente in Bricks. */
.rs .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.rs .nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; align-items: center;
}
.rs .nav-links a {
  font-size: 14px; font-weight: 500; color: var(--rs-ink-2);
  transition: color 180ms;
}
.rs .nav-links a:hover { color: var(--rs-purple); }

/* Active link — stato corrente (gestito da assets/js/nav.js).
   La voce della pagina attiva diventa viola. Per voci con submenu
   (.has-sub.is-active > .sub-toggle) viene evidenziato anche il toggle. */
.rs .nav-links a.is-active,
.rs .nav-links li.is-active > a,
.rs .nav-links .sub-toggle.is-active,
.rs .nav-links .has-sub.is-active > .sub-toggle {
  color: var(--rs-purple);
}
/* Eccezione: il bottone Contatti (pill viola) resta bianco anche se attivo */
.rs .nav-links a.btn.is-active,
.rs .nav-links li.is-active > a.btn { color: #fff; }
/* Submenu item attivo */
.rs .nav-links .submenu a.is-active .sub-title,
.rs .nav-links .submenu li.is-active .sub-title { color: var(--rs-purple); }

/* Nav submenu (dropdown) */
.rs .nav-links .has-sub { position: relative; }
.rs .nav-links .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; color: inherit; padding: 0;
}
.rs .nav-links .sub-toggle .caret {
  width: 8px; height: 8px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 200ms;
}
.rs .nav-links .has-sub[data-open="true"] .sub-toggle .caret { transform: rotate(-135deg) translateY(-2px); }
.rs .nav-links .submenu {
  position: absolute; top: calc(100% + 14px); left: -18px;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  box-shadow: 0 30px 60px -25px rgba(10,10,15,0.18), 0 10px 20px -10px rgba(10,10,15,0.08);
  padding: 10px;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms, transform 180ms, visibility 180ms;
  z-index: 60;
}
.rs .nav-links .has-sub:hover .submenu,
.rs .nav-links .has-sub[data-open="true"] .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.rs .nav-links .submenu li { display: block; }
.rs .nav-links .submenu a {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 12px; align-items: start;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--rs-ink-2);
  border-bottom: 0;
}
.rs .nav-links .submenu a:hover {
  background: var(--rs-purple-50);
  color: var(--rs-purple);
}
.rs .nav-links .submenu .sub-num {
  font-family: var(--rs-mono); font-size: 11px;
  color: var(--rs-ink-4);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.rs .nav-links .submenu a:hover .sub-num { color: var(--rs-purple); }
.rs .nav-links .submenu .sub-title {
  font-weight: 600; letter-spacing: -0.01em;
  display: block;
}
.rs .nav-links .submenu .sub-desc {
  display: block;
  font-size: 12px; color: var(--rs-ink-4);
  margin-top: 2px; font-weight: 400;
}
.rs .nav-links .submenu a:hover .sub-desc { color: var(--rs-purple); opacity: 0.75; }
.rs .nav-links .submenu .sub-divider { height: 1px; background: var(--rs-line); margin: 6px 8px; }
.rs .nav-links .submenu .sub-all {
  font-family: var(--rs-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--rs-purple) !important;
  padding: 10px 14px !important;
  grid-template-columns: 1fr !important;
}

/* Mobile: submenu inline */
.rs .nav-links[data-mobile="true"] .has-sub { display: block; width: 100%; }
.rs .nav-links[data-mobile="true"] .sub-toggle {
  width: 100%; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--rs-line);
  font-family: inherit;
  font-size: 18px; font-weight: 500; color: var(--rs-ink);
  background: transparent; border-radius: 0;
}
.rs .nav-links[data-mobile="true"] .submenu {
  position: static; box-shadow: none; border: 0;
  padding: 4px 0 10px; min-width: 0;
  opacity: 1; visibility: visible; transform: none;
  display: none;
  background: var(--rs-bg-soft);
  border-radius: 0;
  margin: 0 -4px;
}
.rs .nav-links[data-mobile="true"] .has-sub[data-open="true"] .submenu { display: block; }
.rs .nav-links[data-mobile="true"] .submenu a {
  padding: 10px 20px; grid-template-columns: 24px 1fr;
}

.rs .nav-badge {
  font-family: var(--rs-mono); font-size: 10px;
  background: var(--rs-purple-50); color: var(--rs-purple);
  padding: 3px 8px; border-radius: 6px;
  margin-left: 6px; letter-spacing: 0.04em;
  display: inline-block;
}

/* Service list item */
.rs .service-item {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 24px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rs-line);
  transition: all 200ms;
}
.rs .service-item:last-child { border-bottom: 0; }
.rs .service-item .num { font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); }
.rs .service-item .title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.rs .service-item .sub { font-size: 14px; color: var(--rs-ink-3); margin: 6px 0 0; font-style: italic; }
.rs .service-item:hover { padding-left: 12px; }
.rs .service-item:hover .title { color: var(--rs-purple); }

/* Client row */
.rs .clients {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; border-top: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line);
}
.rs .clients > div {
  height: 110px; display: flex; align-items: center; justify-content: center; padding: 22px 28px;
  border-right: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line);
  transition: all 250ms;
}
.rs .clients > div:nth-child(5n) { border-right: 0; }
.rs .clients > div:nth-last-child(-n+5) { border-bottom: 0; }
.rs .clients img {
  max-width: 100%; max-height: 48px; width: auto; height: auto;
  object-fit: contain;
  opacity: 0.58; filter: grayscale(100%) contrast(1.05);
  transition: all 250ms;
}
.rs .clients > div:hover { background: var(--rs-purple-50); }
.rs .clients > div:hover img { opacity: 1; filter: none; transform: scale(1.04); }

/* --- Gallery Gutenberg (.wp-block-gallery.clients) --------------------
 * Quando i loghi sono in una core Gallery, ogni cella è una <figure>.
 * Replichiamo lo stesso stile a griglia 5x2 con bordi e hover. */
.rs .clients.wp-block-gallery,
.rs figure.clients.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	border: 1px solid var(--rs-line);
	border-radius: 16px;
	overflow: hidden;
	margin: 0;
	background: #fff;
}
.rs .clients.wp-block-gallery > .wp-block-image {
	width: auto; flex: initial;
	height: 140px;
	display: flex; align-items: center; justify-content: center;
	padding: 18px 22px;
	border-right: 1px solid var(--rs-line);
	border-bottom: 1px solid var(--rs-line);
	margin: 0;
	transition: background 250ms;
	min-width: 0;
}
.rs .clients.wp-block-gallery > .wp-block-image > a {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%;
	min-width: 0;
}
.rs .clients.wp-block-gallery > .wp-block-image:nth-child(5n) { border-right: 0; }
.rs .clients.wp-block-gallery > .wp-block-image:nth-last-child(-n+5) { border-bottom: 0; }
.rs .clients.wp-block-gallery > .wp-block-image img {
	width: 100%; height: 88px;
	max-width: 92%;
	object-fit: contain;
	opacity: 0.88; filter: grayscale(30%) contrast(1.05);
	transition: all 250ms;
	display: block;
}
.rs .clients.wp-block-gallery > .wp-block-image:hover { background: var(--rs-purple-50); }
.rs .clients.wp-block-gallery > .wp-block-image:hover img { opacity: 1; filter: none; transform: scale(1.04); }

@media (max-width: 960px) {
	.rs .clients.wp-block-gallery { grid-template-columns: repeat(2, 1fr); }
	.rs .clients.wp-block-gallery > .wp-block-image { height: 130px; padding: 18px 20px; }
	.rs .clients.wp-block-gallery > .wp-block-image:nth-child(5n),
	.rs .clients.wp-block-gallery > .wp-block-image:nth-child(3n) { border-right: 1px solid var(--rs-line); }
	.rs .clients.wp-block-gallery > .wp-block-image:nth-child(2n) { border-right: 0; }
	.rs .clients.wp-block-gallery > .wp-block-image:nth-last-child(-n+5) { border-bottom: 1px solid var(--rs-line); }
	.rs .clients.wp-block-gallery > .wp-block-image:nth-last-child(-n+2) { border-bottom: 0; }
	.rs .clients.wp-block-gallery > .wp-block-image img { height: 76px; max-width: 90%; }
}
@media (max-width: 640px) {
	.rs .clients.wp-block-gallery > .wp-block-image { height: 112px; padding: 14px 16px; }
	.rs .clients.wp-block-gallery > .wp-block-image img { height: 64px; max-width: 90%; }
}

/* Testimonial */
.rs .testimonial {
  border: 1px solid var(--rs-line); border-radius: 20px;
  padding: 32px; background: #fff;
  display: flex; flex-direction: column; gap: 20px;
}
.rs .testimonial blockquote {
  margin: 0; font-size: 17px; line-height: 1.55;
  font-weight: 500; letter-spacing: -0.01em;
}
.rs .testimonial .who {
  display: flex; align-items: center; gap: 12px;
}
.rs .testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rs-purple-100), var(--rs-purple));
  display: grid; place-items: center; color: #fff;
  font-family: var(--rs-display); font-weight: 700; font-size: 14px;
}
.rs .testimonial .name { font-size: 14px; font-weight: 600; margin: 0; }
.rs .testimonial .role { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); margin: 2px 0 0; }

/* ====================================================================
 * Blog grid container — layout default 3 colonne
 * ==================================================================== */
.blog-grid-inner,
.blog-grid:not(.wp-block-query) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
@media (max-width: 960px) {
  .blog-grid-inner,
  .blog-grid:not(.wp-block-query) { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .blog-grid-inner,
  .blog-grid:not(.wp-block-query) { grid-template-columns: 1fr; gap: 20px; }
}

/* ====================================================================
 * Blog cards — CANONICAL, unico rule-set per home / blog list / related.
 * Markup atteso (shortcode mocart_latest_posts + mocart_related_posts):
 *   article.blog-card
 *     figure.thumb > a > img
 *     div.blog-card-body
 *       div.cat > a
 *       h3.blog-title > a
 *       time.blog-meta
 * ==================================================================== */
.blog-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.blog-card:hover {
  border-color: var(--rs-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(96,16,249,0.12);
}
.blog-card figure.thumb {
  margin: 0;
  aspect-ratio: 16 / 10;
  /* Sfumatura viola (tono del logo) — stessa palette dei servizi. */
  background: linear-gradient(135deg, #F3EEFF 0%, #C7A8FF 100%);
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}
.blog-card figure.thumb a {
  display: block; width: 100%; height: 100%;
}
.blog-card figure.thumb img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.blog-card:hover figure.thumb img { transform: scale(1.04); }
.blog-card .blog-card-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 22px 22px;
}
.blog-card .cat {
  font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin: 0;
}
.blog-card .cat a { color: inherit; text-decoration: none; }
.blog-card .cat a:hover { text-decoration: underline; }
.blog-card .blog-title,
.blog-card h3 {
  font-family: var(--rs-display);
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.3; color: var(--rs-ink);
  margin: 0;
  transition: color 180ms ease;
}
.blog-card .blog-title a,
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card:hover .blog-title a,
.blog-card:hover h3 a { color: var(--rs-purple); }
.blog-card .blog-meta {
  font-family: var(--rs-mono); font-size: 11px;
  color: var(--rs-ink-4); letter-spacing: 0.04em;
  margin: 0;
}

/* Tech stack pills */
.rs .tech-row {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.rs .tech-pill {
  font-family: var(--rs-mono); font-size: 12px;
  background: #fff; border: 1px solid var(--rs-line);
  border-radius: 10px;
  padding: 12px 16px;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--rs-ink-2);
}
.rs .tech-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rs-purple); }

/* Footer */
.rs .footer {
  border-top: 1px solid var(--rs-line);
  padding: 80px 0 40px;
  background: var(--rs-bg);
}
.rs .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.rs .footer-block-intro {
  font-size: 14px; line-height: 1.6;
  color: var(--rs-ink-3);
  max-width: 360px; margin: 0;
}
.rs .footer-actions {
  margin-top: 24px;
  display: flex; gap: 10px;
}
.rs .footer-actions .btn { padding: 10px 22px; }
.rs .footer-grid > div > a {
  display: block;
  font-size: 14px;
  color: var(--rs-ink-2);
  text-decoration: none;
  padding: 4px 0;
  transition: color 180ms;
}
.rs .footer-grid > div > a:hover { color: var(--rs-purple); }
.rs .footer-base {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--rs-line);
  display: flex; justify-content: space-between;
  font-family: var(--rs-mono); font-size: 11px;
  color: var(--rs-ink-4);
  letter-spacing: 0.04em;
}
@media (max-width: 960px) {
  .rs .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .rs .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .rs .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; text-align: center; }
  .rs .footer-grid > div:first-child { grid-column: 1 / -1; }
  .rs .footer-grid > div:first-child img { margin-left: auto; margin-right: auto; }
  .rs .footer-block-intro { margin-left: auto; margin-right: auto; }
  .rs .footer-actions { justify-content: center; flex-wrap: wrap; }
  .rs .footer-actions .btn { flex: 1 1 auto; min-width: 140px; justify-content: center; }
  .rs .footer h4 { text-align: center; }
  .rs .footer-grid > div > a { display: block; text-align: center; }
  /* 4° colonna (Contatti) full width sotto Servizi+Studio */
  .rs .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
  .rs .footer-base { flex-direction: column; gap: 8px; text-align: center; padding: 0 8px; }
}
.rs .footer h4 {
  font-family: var(--rs-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--rs-ink-4); margin: 0 0 16px;
  font-weight: 500;
}
.rs .footer a { display: block; color: var(--rs-ink-2); font-size: 14px; padding: 6px 0; }
.rs .footer a:hover { color: var(--rs-purple); }
.rs .footer .footer-linkedin { display: inline-flex; align-items: center; gap: 8px; color: var(--rs-ink-2); }
.rs .footer .footer-linkedin svg { flex-shrink: 0; transition: color 180ms; }
.rs .footer .footer-linkedin:hover,
.rs .footer .footer-linkedin:hover svg { color: var(--rs-purple); }
.rs .footer-base {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--rs-line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
}
.rs .footer-base a {
  display: inline; padding: 0; font-size: inherit;
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.rs .footer-base a:hover { color: var(--rs-purple); }

/* Automation flow graph — responsive, proporzionato su tutti i viewport */
.rs .flow-canvas {
  --flow-pad: clamp(18px, 3vw, 36px);
  position: relative;
  border: 1px solid var(--rs-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, var(--rs-bg-soft) 100%);
  aspect-ratio: 16 / 9;
  max-width: 780px;
  margin: 0 auto;
  padding: var(--flow-pad);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rs .flow-canvas .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rs-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--rs-line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 40%, transparent 80%);
}
.rs svg.flow-lines {
  position: absolute;
  top: var(--flow-pad);
  left: var(--flow-pad);
  width: calc(100% - 2 * var(--flow-pad));
  height: calc(100% - 2 * var(--flow-pad));
  pointer-events: none;
}
.rs svg.flow-lines path {
  stroke: var(--rs-purple); stroke-width: 1.5;
  fill: none; stroke-dasharray: 4 4; opacity: 0.5;
}
.rs .flow-grid {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: clamp(16px, 4vw, 32px);
}
.rs .flow-col-left,
.rs .flow-col-right {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center;
  align-self: stretch;
  height: 100%;
}
.rs .flow-col-left > .flow-node { justify-self: start; }
.rs .flow-col-right > .flow-node { justify-self: end; }
.rs .flow-col-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.rs .flow-node {
  background: #fff; border: 1px solid var(--rs-line);
  border-radius: 12px; padding: 10px 14px;
  font-family: var(--rs-mono); font-size: clamp(11px, 1.1vw, 13px);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.08);
  white-space: nowrap;
  width: fit-content;
}
.rs .flow-col-right .flow-node { margin-left: auto; }
.rs .flow-node .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rs-purple); flex-shrink: 0; }
.rs .flow-node.primary { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); padding: 12px 18px; }
.rs .flow-node.primary .dot { background: #fff; }

@media (max-width: 640px) {
  /* Su mobile ribaltiamo il layout: input sopra · Claude al centro · output sotto */
  .rs .flow-canvas { aspect-ratio: auto; height: auto; padding: 20px 14px; }
  .rs svg.flow-lines { display: none; }
  .rs .flow-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
    align-content: center;
    height: auto;
  }
  .rs .flow-col-left,
  .rs .flow-col-right {
    display: flex !important;
    grid-template-rows: none !important;
    height: auto !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .rs .flow-col-left > .flow-node,
  .rs .flow-col-right > .flow-node { justify-self: auto; }
  .rs .flow-col-center { display: flex; justify-content: center; align-items: center; }
  .rs .flow-node { font-size: 11px; padding: 6px 10px; }
  .rs .flow-node.primary { padding: 9px 14px; }
}

/* Ticker */
.rs .ticker {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rs-line); border-radius: 20px;
  overflow: hidden; background: #fff;
}
.rs .ticker > div { padding: 44px 32px; border-right: 1px solid var(--rs-line); }
.rs .ticker > div:last-child { border-right: 0; }
.rs .ticker .num {
  font-family: var(--rs-display); font-size: 44px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin: 0;
}
.rs .ticker .lbl {
  font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 14px 0 0;
  padding: 0 2px;
}

/* Method triad */
.rs .method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.rs .method-card {
  padding: 28px;
  border: 1px solid var(--rs-line);
  border-radius: 20px;
  background: #fff;
  position: relative;
}
.rs .method-card .num {
  font-family: var(--rs-mono); font-size: 11px;
  color: var(--rs-purple); letter-spacing: 0.1em; text-transform: uppercase;
}
.rs .method-card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.rs .method-card p { font-size: 14px; line-height: 1.6; color: var(--rs-ink-3); margin: 0; }

/* CTA block */
.rs .cta {
  border: 1px solid var(--rs-line);
  border-radius: 24px;
  padding: 80px 48px;
  text-align: center;
  background: #fff;
  position: relative; overflow: hidden;
}
.rs .cta h2 {
  font-family: var(--rs-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 16px 0 24px;
}
.rs .cta .prompt { margin: 0 auto; }
.rs .cta .chips { justify-content: center; }
.rs .cta p.lead { margin: 0 auto 40px; max-width: 640px; }
.rs .cta .eyebrow { display: inline-flex; }

/* ==========================================
   MOBILE MENU TOGGLE (hamburger button)
   ========================================== */
.rs .nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--rs-ink);
  border-radius: 10px;
  transition: background 180ms;
}
.rs .nav-toggle:hover { background: var(--rs-purple-50); }
.rs .nav-toggle { position: relative; }
.rs .nav-toggle svg { display: block; color: var(--rs-ink); }
.rs .nav-toggle .icon-close { display: none; }
.rs .nav-toggle .icon-open  { display: block; }
/* Quando il menu mobile è aperto: nascondi svg e disegna la X con pseudo-elements (robusto, no dipendenza da cache/plugin) */
body.menu-open .nav-toggle svg,
.rs .nav-toggle[aria-expanded="true"] svg { display: none !important; }
body.menu-open .nav-toggle::before,
body.menu-open .nav-toggle::after,
.rs .nav-toggle[aria-expanded="true"]::before,
.rs .nav-toggle[aria-expanded="true"]::after {
  content: ''; position: absolute;
  left: 9px; right: 9px;
  top: 50%; height: 2px;
  background: var(--rs-ink);
  border-radius: 2px;
}
body.menu-open .nav-toggle::before,
.rs .nav-toggle[aria-expanded="true"]::before { transform: translateY(-50%) rotate(45deg); }
body.menu-open .nav-toggle::after,
.rs .nav-toggle[aria-expanded="true"]::after  { transform: translateY(-50%) rotate(-45deg); }
.rs .nav-toggle[aria-expanded="true"] { z-index: 60; }

/* Hero glow animation — i 2 layer viaggiano attraversando l'intera superficie (anche il centro) */
@keyframes hero-glow {
  0%   { background-position: 10% 20%, 90% 80%; }
  20%  { background-position: 40% 50%, 60% 50%; }
  40%  { background-position: 70% 25%, 30% 75%; }
  60%  { background-position: 30% 80%, 70% 20%; }
  80%  { background-position: 60% 45%, 40% 55%; }
  100% { background-position: 90% 15%, 10% 85%; }
}

/* Mobile menu open state — inline styles applied via JS for reliability */
.rs .nav-links[data-mobile="true"] {
  position: fixed; top: 68px; left: 0; right: 0;
  width: 100vw;
  max-width: 100vw;
  flex-direction: column; align-items: stretch; gap: 0;
  background: #fff;
  border-bottom: 1px solid var(--rs-line);
  padding: 16px 24px 28px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 40;
  box-shadow: 0 20px 40px -20px rgba(10,10,15,0.15);
  display: none;
  box-sizing: border-box;
}
.rs .nav-links[data-mobile="true"].is-open {
  display: flex;
  animation: navFadeIn 200ms ease both;
}
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.rs .nav-links[data-mobile="true"] li { width: 100%; display: block; box-sizing: border-box; }
.rs .nav-links[data-mobile="true"] a {
  display: block;
  width: 100%;
  padding: 14px 4px;
  font-size: 18px; font-weight: 500;
  border-bottom: 1px solid var(--rs-line);
  box-sizing: border-box;
  white-space: normal;
}
.rs .nav-links[data-mobile="true"] li:last-child a {
  border-bottom: 0;
  margin-top: 14px;
  padding: 14px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================
   RESPONSIVE — Tablet (≤ 960px)
   ========================================== */
@media (max-width: 960px) {
  .rs .container { padding: 0 24px; }

  .rs .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .rs .nav-toggle { display: inline-flex; }
  .rs .nav-links:not([data-mobile="true"]) { display: none; }

  .rs .nav-badge { display: inline-block; margin-top: 8px; }

  .rs .h2 { font-size: clamp(32px, 7vw, 52px); }

  .rs .method-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }

  .rs .ticker { grid-template-columns: repeat(2, 1fr); }
  .rs .ticker > div:nth-child(2) { border-right: 0; }
  .rs .ticker > div:nth-child(-n+2) { border-bottom: 1px solid var(--rs-line); }
  .rs .ticker .num { font-size: 34px; }

  .rs .clients,
  .rs .clients.wp-block-gallery { grid-template-columns: repeat(2, 1fr); }
  .rs .clients > div { height: 130px; padding: 18px 20px; }
  .rs .clients > div:nth-child(5n),
  .rs .clients > div:nth-child(3n) { border-right: 1px solid var(--rs-line); }
  .rs .clients > div:nth-child(2n) { border-right: 0; }
  .rs .clients > div:nth-last-child(-n+5) { border-bottom: 1px solid var(--rs-line); }
  .rs .clients > div:nth-last-child(-n+2) { border-bottom: 0; }
  .rs .clients img { max-height: 76px; }
  .rs .clients.wp-block-gallery > .wp-block-image { height: 130px; padding: 18px 20px; }
  .rs .clients.wp-block-gallery > .wp-block-image:nth-child(5n),
  .rs .clients.wp-block-gallery > .wp-block-image:nth-child(3n) { border-right: 1px solid var(--rs-line); }
  .rs .clients.wp-block-gallery > .wp-block-image:nth-child(2n) { border-right: 0; }
  .rs .clients.wp-block-gallery > .wp-block-image:nth-last-child(-n+5) { border-bottom: 1px solid var(--rs-line); }
  .rs .clients.wp-block-gallery > .wp-block-image:nth-last-child(-n+2) { border-bottom: 0; }
  .rs .clients.wp-block-gallery > .wp-block-image img { height: 76px; max-width: 90%; }

  .rs .testimonial { padding: 24px; }
  .rs .testimonial blockquote { font-size: 16px; }

  .rs .cta { padding: 56px 24px; border-radius: 24px; }
  .rs .cta h2 { font-size: clamp(32px, 8vw, 56px); }

  .rs .prompt { flex-wrap: wrap; padding: 12px 14px; }
  .rs .prompt .typing, .rs .prompt input { min-width: 0; width: 100%; order: 2; }
  .rs .prompt .spark { order: 1; }
  .rs .prompt .hint { display: none; }
  .rs .prompt .send { order: 3; margin-left: auto; }

  .rs .tech-row { flex-wrap: wrap; gap: 8px; }
}

/* ==========================================
   RESPONSIVE — Mobile (≤ 640px)
   ========================================== */
@media (max-width: 640px) {
  .rs .container { padding: 0 20px; }
  .rs .nav-links { top: 60px; max-height: calc(100vh - 60px); }

  .rs .clients,
  .rs .clients.wp-block-gallery { grid-template-columns: repeat(2, 1fr); }
  .rs .clients > div { height: 112px; padding: 14px 16px; }
  .rs .clients.wp-block-gallery > .wp-block-image { height: 112px; padding: 14px 16px; }
  .rs .clients > div:nth-child(3n) { border-right: 1px solid var(--rs-line); }
  .rs .clients > div:nth-child(2n),
  .rs .clients.wp-block-gallery > .wp-block-image:nth-child(2n) { border-right: 0; }
  .rs .clients img,
  .rs .clients.wp-block-gallery > .wp-block-image img { height: 64px; max-width: 90%; }

  .rs .section { padding: 56px 0; }
  .rs .section-tight { padding: 40px 0; }

  .rs .method-card { padding: 22px; }
  .rs .method-card h3 { font-size: 19px; }

  .rs .cta { padding: 44px 20px; border-radius: 20px; }

  .rs .ticker { grid-template-columns: 1fr; }
  .rs .ticker > div { border-right: 0 !important; border-bottom: 1px solid var(--rs-line); }
  .rs .ticker > div:last-child { border-bottom: 0; }
}

/* pages/home.css */
/* Direction A — Editorial AI — home (front-page) specific styles
   Estratto da restyling/directions/direction-a-editorial.html */

.rs-a { background: #FFFFFF; }

/* Glow animato — sfondo globale della home, scorre oltre la hero su più section.
   Posizionato sul body.home così abbraccia più sezioni senza essere tagliato. */
body.home { position: relative; }
body.home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1800px;
  z-index: 0;
  pointer-events: none;
  /* Centri al 50% 50% del layer: il gradient viaggia ovunque (anche al centro) grazie a background-position animato */
  background:
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(96,16,249,0.22), transparent 60%),
    radial-gradient(ellipse 38% 32% at 50% 50%, rgba(196,168,255,0.30), transparent 60%);
  background-size: 160% 160%, 150% 150%;
  background-repeat: no-repeat;
  animation: hero-glow 28s ease-in-out infinite alternate;
  will-change: background-position, transform;
}
@media (prefers-reduced-motion: reduce) { body.home::before { animation: none; } }
/* Contenuto sopra il glow globale (il nav mantiene il suo z-index: 50 globale da theme.css) */
body.home main,
body.home > main,
body.home #primary,
body.home footer { position: relative; z-index: 1; }

.rs-a .hero {
  padding: 100px 0 120px;
  position: relative;
}
.rs-a .hero .container { position: relative; z-index: 2; }

/* Hero mesh + glow — stessa estetica dei servizi (sv-index-hero). */
.rs-a .hero { overflow: hidden; }
.rs-a .hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,16,249,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,16,249,0.10) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  opacity: 0.8;
}
.rs-a .hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 50% at 50% 40%, rgba(96,16,249,0.14), transparent 60%);
}

/* Hero 2-column grid with video */
.rs-a .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}
.rs-a .hero-main { min-width: 0; }
.rs-a .hero-video {
  position: sticky; top: 104px;
  margin-top: 48px;
}
.rs-a .hero-video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #0B0B10;
  cursor: pointer;
  border: 1px solid var(--rs-line);
  box-shadow: 0 30px 60px -30px rgba(10,10,15,0.35), 0 0 0 1px rgba(124,58,237,0.08);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 300ms;
}
.rs-a .hero-video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -30px rgba(124,58,237,0.35), 0 0 0 1px rgba(124,58,237,0.2);
}
.rs-a .hero-video-frame:hover .hero-video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--rs-purple);
  color: #fff;
}
.rs-a .hero-video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.rs-a .hero-video-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,15,0) 40%, rgba(10,10,15,0.65) 100%),
    linear-gradient(180deg, rgba(10,10,15,0.25) 0%, rgba(10,10,15,0) 30%);
}
.rs-a .hero-video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--rs-ink);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform 200ms, background 200ms, color 200ms;
}
.rs-a .hero-video-play svg { margin-left: 3px; }
.rs-a .hero-video-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px 6px 9px;
  background: rgba(10,10,15,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #fff;
  font-family: var(--rs-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rs-a .hero-video-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.6);
  animation: heroVideoPulse 2s infinite;
}
@keyframes heroVideoPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.rs-a .hero-video-caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.rs-a .hero-video-handle {
  font-family: var(--rs-mono);
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.02em;
}
.rs-a .hero-video-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
/* Playing state — swap in iframe */
.rs-a .hero-video-frame.playing .hero-video-thumb,
.rs-a .hero-video-frame.playing .hero-video-overlay,
.rs-a .hero-video-frame.playing .hero-video-play,
.rs-a .hero-video-frame.playing .hero-video-badge,
.rs-a .hero-video-frame.playing .hero-video-caption { display: none; }
.rs-a .hero-video-frame.playing iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.rs-a .hero .mesh {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rs-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--rs-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.65;
}
.rs-a .hero .glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 30% at 50% 40%, rgba(96,16,249,0.12), transparent 70%);
  pointer-events: none;
}
.rs-a .hero h1 {
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 32px 0 16px;
  max-width: 980px;
}
.rs-a .hero h1 .accent {
  color: var(--rs-purple);
  font-style: italic;
  font-weight: 500;
  font-family: "Inter Tight", serif;
}
.rs-a .hero p.lead {
  font-size: 20px; line-height: 1.5; color: var(--rs-ink-3);
  max-width: 620px; margin: 0 0 40px;
}
.rs-a .hero .meta {
  display: flex; gap: 24px; align-items: center; margin-top: 24px;
  font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.rs-a .hero .meta::before {
  content: ""; width: 40px; height: 1px; background: var(--rs-line-2);
}

/* Direction A — Responsive */
@media (max-width: 960px) {
  .rs-a .hero { padding: 64px 0 80px; }
  .rs-a .hero h1 { font-size: clamp(40px, 9vw, 64px); margin: 24px 0 14px; }
  .rs-a .hero p.lead { font-size: 17px; margin-bottom: 28px; }
  .rs-a .hero .meta { font-size: 10px; gap: 14px; flex-wrap: wrap; }
  .rs-a .hero .meta::before { display: none; }

  /* Hero: stack video below on tablet/mobile */
  .rs-a .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .rs-a .hero-video { position: static; margin-top: 0; max-width: 320px; }
  .rs-a .hero-video-frame { aspect-ratio: 16 / 10; }

  /* Two-column editorial grids → stacked */
  .rs-a .two-col { grid-template-columns: 1fr; gap: 32px; }

  /* Service list items */
  .rs-a .service-item { grid-template-columns: 48px 1fr auto; gap: 16px; padding: 20px 0; }
  .rs-a .service-item .title { font-size: 18px; }

  /* Blog 3 → 1 col */
  .rs-a .blog-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Testimonials 3 → 1 col */
  .rs-a .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Section header button row */
  .rs-a .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Footer: gestito globalmente in theme.css — nessun override qui */
}

@media (max-width: 640px) {
  .rs-a .hero { padding: 48px 0 64px; }
  .rs-a .hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .rs-a .hero .chips { gap: 8px; }
  .rs-a .hero .chips .chip { font-size: 12px; padding: 6px 12px; }

  .rs-a .service-item { grid-template-columns: 36px 1fr; gap: 12px; }
  .rs-a .service-item > span:last-child { display: none; }
  /* Footer: gestito globalmente in theme.css — nessun override qui */
}

/* Grid helpers for front-page — replace inline styles from source HTML */
.rs-a .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 48px;
}
.rs-a .two-col.flows { grid-template-columns: 1fr 1.2fr; align-items: center; }
.rs-a .two-col.techstack { grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.rs-a .two-col .lead { margin: 0 0 6px; padding-top: 0; }

.rs-a .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.rs-a .section-head-clients { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--rs-line); }

.rs-a .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rs-a .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.rs-a .testimonial-grid + .rs-a { }

/* Tech stack subhead */
.rs-a .tech-head {
  font-family: var(--rs-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}

/* Tech stack — Claude dot override */
.rs-a .tech-pill .dot-claude { background: #D97757; }

/* Section with top border */
.rs-a .section-bordered { border-top: 1px solid var(--rs-line); }
.rs-a .section-banded {
  background: var(--rs-bg-soft);
  border-top: 1px solid var(--rs-line);
  border-bottom: 1px solid var(--rs-line);
}

/* Clients meta */
.rs-a .clients-meta {
  font-family: var(--rs-mono);
  color: var(--rs-ink-4);
  font-size: 12px;
}

/* Stili dei loghi clienti (dimensioni + filtri bianco-nero) sono in theme.css */

/* Service sub quote (italic) */
.rs-a .service-item .sub { font-style: italic; }

/* Clients — eyebrow sopra h2, stessa impaginazione delle altre sezioni */
.rs-a .section-head-clients > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.rs-a .section-head-clients h2.h2 {
  font-family: var(--rs-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(40px, 5vw, 64px);
  margin: 0;
}
.rs-a .section-head-clients h2.h2 em {
  font-family: "Inter Tight", var(--rs-display), serif;
  font-style: italic;
  font-weight: 500;
  color: var(--rs-purple);
}

/* Flows CTA row */
.rs-a .flow-cta-row { margin-top: 32px; display: flex; gap: 12px; }

/* Blog card meta override */
.rs-a .blog-card .blog-meta {
  font-family: var(--rs-mono);
  color: var(--rs-ink-4);
  font-size: 11px;
}

/* Footer contacts column */
.rs-a .footer .footer-block-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rs-ink-3);
  max-width: 360px;
  margin: 0;
}
.rs-a .footer .footer-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.rs-a .footer .footer-actions .btn { padding: 10px 22px; }

/* CTA final prompt centering */
.rs-a .cta .prompt { margin: 0 auto; }
.rs-a .cta .chips { justify-content: center; }
.rs-a .cta p.lead { margin: 0 auto 40px; }

/* --------------------------------------------------------
 * Block Patterns — override per l'output di Gutenberg
 * (paragrafi/heading dei blocchi core hanno margini di default
 * che non corrispondono al markup originale del restyling).
 * -------------------------------------------------------- */

/* Regole Gutenberg-interop globali ora vivono in theme.css (validi ovunque). */

/* Hero: eyebrow/lead/meta come paragrafi editabili */
.rs-a .hero p.eyebrow { margin: 0 0 16px; }
.rs-a .hero p.lead    { margin: 20px 0 24px; }
.rs-a .hero p.meta    { margin: 18px 0 0; }
.rs-a .hero h1        { margin: 14px 0 0; }

/* Ticker: heading/lbl come blocchi editabili */
.rs .ticker h3.num    { margin: 0; }
.rs .ticker p.lbl     { margin: 8px 0 0; }

/* Ticker Gutenberg: le "celle" sono .wp-block-group figli del .ticker.
 * Con display:contents sul wrapper, i figli veri (le celle) sono grid items. */
/* Ticker: riduce il padding verticale della section wrapper */
.rs-a .section-tight:has(.ticker) { padding: 40px 0; }
.rs .wp-block-group.ticker { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rs-line); border-radius: 20px; overflow: hidden; background: #fff; }
.rs .wp-block-group.ticker > .wp-block-group { padding: 24px; border-right: 1px solid var(--rs-line); min-width: 0; }
.rs .wp-block-group.ticker > .wp-block-group:last-child { border-right: 0; }
@media (max-width: 960px) {
	.rs .wp-block-group.ticker { grid-template-columns: repeat(2, 1fr); }
	.rs .wp-block-group.ticker > .wp-block-group:nth-child(2) { border-right: 0; }
	.rs .wp-block-group.ticker > .wp-block-group:nth-child(-n+2) { border-bottom: 1px solid var(--rs-line); }
}
@media (max-width: 640px) {
	.rs .wp-block-group.ticker { grid-template-columns: 1fr; }
	.rs .wp-block-group.ticker > .wp-block-group { border-right: 0 !important; border-bottom: 1px solid var(--rs-line); }
	.rs .wp-block-group.ticker > .wp-block-group:last-child { border-bottom: 0; }
}

/* Regole Buttons Gutenberg globali ora vivono in theme.css. */

/* --- Pattern refactor — blocchi core editabili ---------------------- */

/* Chips (hero + CTA) — blocchi Paragraph con className "chip" */
.rs .chips { margin-top: 14px; }
.rs p.chip { margin: 0; }

/* Tech pills — blocchi Paragraph con className "tech-pill". Dot via ::before. */
.rs p.tech-pill { margin: 0; display: inline-flex; align-items: center; }
.rs p.tech-pill::before {
	content: ''; display: inline-block;
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--rs-purple); margin-right: 8px; flex: 0 0 auto;
}
.rs p.tech-pill.tech-pill-claude::before { background: #D97757; }

/* Method grid (già fatto, ma aggiungiamo compat con Columns core) */
.rs-a .wp-block-columns.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.rs-a .wp-block-columns.method-grid > .wp-block-column.method-card { flex: initial; }
@media (max-width: 640px) {
	.rs-a .wp-block-columns.method-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
}

/* Testimonial grid — core Columns + Quote + Avatar paragraph */
.rs-a .wp-block-columns.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.rs-a .wp-block-columns.testimonial-grid > .wp-block-column.testimonial { flex: initial; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.rs .testimonial .wp-block-quote { margin: 0; border: 0; padding: 0; background: transparent; }
.rs .testimonial .wp-block-quote p { font-size: 17px; line-height: 1.55; font-weight: 500; letter-spacing: -0.01em; margin: 0; font-style: italic; color: var(--rs-ink); }
.rs .testimonial .who { display: flex; align-items: center; gap: 12px; margin: 0; }
.rs .testimonial p.avatar {
	width: 40px; height: 40px; border-radius: 50%;
	background: linear-gradient(135deg, var(--rs-purple-100), var(--rs-purple));
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 13px; font-weight: 700; margin: 0; flex: 0 0 auto;
	font-family: var(--rs-display);
}
.rs .testimonial .who-text { margin: 0; }
.rs .testimonial p.name { font-size: 14px; font-weight: 600; margin: 0; }
.rs .testimonial p.role { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); margin: 2px 0 0; }
@media (max-width: 960px) {
	.rs-a .wp-block-columns.testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Services list — 6 Group editabili con struttura grid 60px / 1fr / auto */
.rs .wp-block-group.services-list { display: flex; flex-direction: column; }
.rs .wp-block-group.service-item {
	display: grid; grid-template-columns: 60px 1fr auto;
	gap: 24px; align-items: center;
	padding: 28px 0; border-bottom: 1px solid var(--rs-line);
	transition: padding-left 250ms;
}
.rs .wp-block-group.service-item:last-child { border-bottom: 0; }
.rs .wp-block-group.service-item p.num { font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); margin: 0; }
.rs .wp-block-group.service-item .service-item__body { min-width: 0; }
.rs .wp-block-group.service-item h3.title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.rs .wp-block-group.service-item h3.title a { color: inherit; text-decoration: none; }
.rs .wp-block-group.service-item p.sub { font-size: 14px; color: var(--rs-ink-3); margin: 6px 0 0; font-style: italic; }
.rs .wp-block-group.service-item p.service-item__link { font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); margin: 0; }
.rs .wp-block-group.service-item p.service-item__link a { color: inherit; text-decoration: none; }
.rs .wp-block-group.service-item:hover { padding-left: 12px; }
.rs .wp-block-group.service-item:hover h3.title a { color: var(--rs-purple); }
.rs .wp-block-group.service-item:hover p.service-item__link a { color: var(--rs-purple); }
.rs .wp-block-group.service-item h3.title .nav-badge { margin-left: 8px; vertical-align: middle; }
@media (max-width: 960px) {
	.rs .wp-block-group.service-item { grid-template-columns: 48px 1fr auto; gap: 16px; padding: 20px 0; }
	.rs .wp-block-group.service-item h3.title { font-size: 18px; }
}
@media (max-width: 640px) {
	.rs .wp-block-group.service-item { grid-template-columns: 36px 1fr; gap: 12px; }
	.rs .wp-block-group.service-item p.service-item__link { display: none; }
}

/* --- Blog Query Loop: rendiamolo come .blog-card ---------------------
 * Il wrapper .wp-block-query è l'outer; gli articoli stanno in ul.wp-block-post-template.
 * Annulliamo il grid 3-col su .blog-grid (applicato alla versione legacy) e
 * lo spostiamo sull'ul (dove vivono davvero i post). */
.rs-a .blog-grid.wp-block-query { display: block; }
.rs-a .blog-grid.wp-block-query > .wp-block-post-template,
.rs-a .blog-grid.wp-block-query > ul.wp-block-post-template { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; }
/* WP Core applica una width calc sui li via .is-flex-container.columns-3 — annulliamo.
 * Usiamo !important per vincere sulla regola del block-library CSS. */
.rs-a .blog-grid .wp-block-post,
.rs-a .blog-grid .wp-block-post-template.is-flex-container.columns-3 > li { list-style: none; margin: 0; padding: 0; width: auto !important; max-width: none !important; flex: initial !important; }
.rs-a .blog-grid .blog-card { border: 1px solid var(--rs-line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.rs-a .blog-grid .blog-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #F3EEFF 0%, #C7A8FF 100%); }
.rs-a .blog-grid .blog-card .wp-block-post-featured-image a,
.rs-a .blog-grid .blog-card .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-a .blog-grid .blog-card .wp-block-post-terms { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); text-transform: uppercase; letter-spacing: 0.1em; padding: 20px 20px 0; margin: 0; }
.rs-a .blog-grid .blog-card .wp-block-post-terms a { color: inherit; }
.rs-a .blog-grid .blog-card .wp-block-post-title { padding: 12px 20px 0; margin: 0; font-family: var(--rs-display); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.rs-a .blog-grid .blog-card .wp-block-post-title a { color: inherit; }
.rs-a .blog-grid .blog-card .wp-block-post-title a:hover { color: var(--rs-purple); }
.rs-a .blog-grid .blog-card .wp-block-post-date { padding: 10px 20px 20px; font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); }
@media (max-width: 960px) {
	.rs-a .blog-grid.wp-block-query > .wp-block-post-template,
	.rs-a .blog-grid.wp-block-query > ul.wp-block-post-template { grid-template-columns: 1fr; }
}

/* pages/chi-sono.css */
/* Chi sono — stili dedicati (estratto da restyling/directions/chi-sono-a.html) */

/* Hero */
.cs-hero {
	padding: 80px 0 60px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--rs-line);
}
/* Mesh (::before) + glow (::after) — stessa estetica dei servizi (sv-index-hero). */
.cs-hero::before,
.cs-hero .mesh {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(96,16,249,0.10) 1px, transparent 1px),
		linear-gradient(90deg, rgba(96,16,249,0.10) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	opacity: 0.8;
}
.cs-hero::after,
.cs-hero .glow {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 50% 50% at 50% 40%, rgba(96,16,249,0.14), transparent 60%);
}
.cs-hero > .container,
.cs-hero > .wp-block-group,
.cs-hero > .brxe-container,
.cs-hero .container { position: relative; z-index: 2; }
.cs-hero .crumb {
	font-family: var(--rs-mono);
	font-size: 11px;
	color: var(--rs-ink-4);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	display: flex;
	gap: 10px;
	align-items: center;
}
.cs-hero .crumb a:hover { color: var(--rs-purple); }
.cs-hero .availability { display: none !important; }
.cs-hero .availability--hidden-original {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	background: var(--rs-purple-50);
	border: 1px solid rgba(96, 16, 249, 0.2);
	border-radius: 999px;
	font-family: var(--rs-mono);
	font-size: 12px;
	color: var(--rs-purple);
	letter-spacing: 0.04em;
	margin-top: 24px;
}
.cs-hero .availability .dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #22C55E;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
	animation: csPulse 2s ease-in-out infinite;
}
@keyframes csPulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
	50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.08); }
}
.cs-hero h1 {
	font-size: clamp(44px, 7vw, 104px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.95;
	margin: 24px 0 20px;
	max-width: 1000px;
}
.cs-hero h1 em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--rs-purple);
}
.cs-hero p.lead {
	font-size: 20px;
	line-height: 1.55;
	color: var(--rs-ink-3);
	max-width: 680px;
	margin: 0;
}

/* Main layout */
.cs-main { padding: 80px 0; border-bottom: 1px solid var(--rs-line); }
.cs-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 72px;
	align-items: start;
}
.cs-portrait { position: sticky; top: 104px; }
.cs-portrait .photo {
	aspect-ratio: 3 / 4;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	background: var(--rs-ink);
}
.cs-portrait .photo img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.cs-portrait .photo .watermark {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 40px 24px 20px;
	font-family: var(--rs-mono);
	font-size: 10px;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	display: flex;
	justify-content: space-between;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}
.cs-portrait .meta {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}
.cs-portrait .meta li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-top: 1px solid var(--rs-line);
	font-size: 13px;
}
.cs-portrait .meta li:last-child { border-bottom: 1px solid var(--rs-line); }
.cs-portrait .meta li .k {
	font-family: var(--rs-mono);
	color: var(--rs-ink-4);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.cs-portrait .meta li .v {
	font-weight: 600;
	color: var(--rs-ink);
	letter-spacing: -0.01em;
}

.cs-bio h2 {
	font-family: var(--rs-display);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 0 0 20px;
}
.cs-bio h2 em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--rs-purple);
}
.cs-bio p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--rs-ink-2);
	margin: 0 0 18px;
}
/* Dropcap rimossa su richiesta. */
.cs-bio .pullquote {
	margin: 36px 0;
	padding: 28px 32px;
	background: var(--rs-bg-soft);
	border-left: 3px solid var(--rs-purple);
	border-radius: 0 16px 16px 0;
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-size: 22px;
	line-height: 1.45;
	font-weight: 500;
	color: var(--rs-ink);
	letter-spacing: -0.01em;
}
.cs-bio .pullquote em {
	font-style: italic;
	color: var(--rs-purple);
}

/* Values */
.cs-values {
	padding: 80px 0;
	border-bottom: 1px solid var(--rs-line);
	background: var(--rs-bg-soft);
}
.cs-values .head { margin-bottom: 40px; max-width: 680px; }
.cs-values .head h2 {
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 14px 0 14px;
}
.cs-values .head h2 em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--rs-purple);
}
.cs-values .head p {
	font-size: 16px;
	color: var(--rs-ink-3);
	line-height: 1.6;
	margin: 0;
}
.cs-vals-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.cs-val {
	background: #fff;
	border: 1px solid var(--rs-line);
	border-radius: 16px;
	padding: 28px;
	transition: all 240ms;
}
.cs-val:hover {
	border-color: var(--rs-purple);
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -20px rgba(96, 16, 249, 0.2);
}
.cs-val .num {
	font-family: var(--rs-mono);
	font-size: 11px;
	color: var(--rs-purple);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	display: block;
	margin-bottom: 18px;
}
.cs-val h3 {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin: 0 0 10px;
}
.cs-val p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rs-ink-3);
	margin: 0;
}

/* Timeline */
.cs-tl { padding: 80px 0; border-bottom: 1px solid var(--rs-line); }
.cs-tl .head { margin-bottom: 48px; max-width: 680px; }
.cs-tl .head h2 {
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 14px 0;
}
.cs-tl .head h2 em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--rs-purple);
}
.cs-tl-list { display: flex; flex-direction: column; gap: 0; position: relative; }
.cs-tl-item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 40px;
	padding: 28px 0;
	border-bottom: 1px solid var(--rs-line);
	align-items: baseline;
	position: relative;
}
.cs-tl-item:first-child { border-top: 1px solid var(--rs-line); }
.cs-tl-item .year {
	font-family: var(--rs-mono);
	font-size: 14px;
	color: var(--rs-purple);
	font-weight: 500;
	letter-spacing: 0.02em;
}
.cs-tl-item h3 {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.015em;
	margin: 0 0 8px;
}
.cs-tl-item p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rs-ink-3);
	margin: 0 0 10px;
	max-width: 640px;
}
.cs-tl-item .tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.cs-tl-item .tags span {
	font-family: var(--rs-mono);
	font-size: 10px;
	padding: 4px 8px;
	background: var(--rs-bg-soft);
	border: 1px solid var(--rs-line);
	border-radius: 6px;
	color: var(--rs-ink-3);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Stack */
.cs-stack {
	padding: 80px 0;
	border-bottom: 1px solid var(--rs-line);
	background: var(--rs-bg-soft);
}
.cs-stack .head { margin-bottom: 40px; max-width: 680px; }
.cs-stack .head h2 {
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 14px 0 14px;
}
.cs-stack .head h2 em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--rs-purple);
}
.cs-stack .head p {
	font-size: 16px;
	color: var(--rs-ink-3);
	line-height: 1.6;
	margin: 0;
}
.cs-stack-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: #fff;
	border: 1px solid var(--rs-line);
	border-radius: 16px;
	overflow: hidden;
}
.cs-stack-cell {
	padding: 24px 22px;
	border-right: 1px solid var(--rs-line);
	border-bottom: 1px solid var(--rs-line);
}
.cs-stack-cell:nth-child(4n) { border-right: 0; }
.cs-stack-cell:nth-last-child(-n+4) { border-bottom: 0; }
.cs-stack-cell .cat {
	font-family: var(--rs-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--rs-ink-4);
	margin: 0 0 10px;
}
.cs-stack-cell h4 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0 0 10px;
	color: var(--rs-purple);
}
.cs-stack-cell .tools {
	font-family: var(--rs-mono);
	font-size: 12px;
	color: var(--rs-ink-3);
	line-height: 1.7;
}

/* Numbers */
.cs-nums { padding: 56px 0; border-bottom: 1px solid var(--rs-line); }
.cs-nums-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.cs-num {
	padding: 16px 32px;
	border-left: 1px solid var(--rs-line);
}
.cs-num:first-child { border-left: 0; padding-left: 0; }
.cs-num .v {
	font-family: var(--rs-display);
	font-size: clamp(40px, 5vw, 64px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--rs-ink);
}
.cs-num .v em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: var(--rs-purple);
}
.cs-num .k {
	font-family: var(--rs-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rs-ink-4);
	margin-top: 10px;
}

/* CTA dark */
.cs-cta { padding: 80px 32px; }
.cs-cta-inner {
	max-width: var(--rs-container);
	margin: 0 auto;
	background: var(--rs-ink);
	color: #fff;
	border-radius: 28px;
	padding: 72px 56px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cs-cta-inner::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(96, 16, 249, 0.35), transparent 60%);
}
.cs-cta-inner > * { position: relative; z-index: 2; }
.cs-cta-inner .tag {
	font-family: var(--rs-mono);
	font-size: 11px;
	color: #C7A8FF;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.cs-cta-inner h2 {
	font-family: var(--rs-display);
	font-size: clamp(32px, 4.6vw, 56px);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 16px 0;
	color: #fff;
	line-height: 1.05;
}
.cs-cta-inner h2 em {
	font-family: "Inter Tight", serif;
	font-style: italic;
	font-weight: 500;
	color: #C7A8FF;
}
.cs-cta-inner p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 auto 28px;
	max-width: 580px;
	line-height: 1.55;
}
.cs-cta-inner .actions {
	display: inline-flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}
/* wp:button core output — stile per sfondo dark */
.cs-cta-inner .wp-block-button.btn-white > .wp-block-button__link.wp-element-button {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--rs-ink) !important;
	border: 0 !important;
	box-shadow: none !important;
}
.cs-cta-inner .wp-block-button.btn-white:hover > .wp-block-button__link.wp-element-button {
	background: var(--rs-purple-100) !important;
	background-color: var(--rs-purple-100) !important;
	transform: translateY(-1px);
}
.cs-cta-inner .wp-block-button.btn-ghost > .wp-block-button__link.wp-element-button {
	background: transparent !important;
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.cs-cta-inner .wp-block-button.btn-ghost:hover > .wp-block-button__link.wp-element-button {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.06) !important;
	background-color: rgba(255, 255, 255, 0.06) !important;
}
/* Fallback vecchio markup (se usato) */
.cs-cta-inner .btn-white { background: #fff; color: var(--rs-ink) !important; }
.cs-cta-inner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cs-cta-inner .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

/* Responsive */
@media (max-width: 960px) {
	.cs-hero { padding: 56px 0 40px; }
	.cs-hero h1 { font-size: clamp(36px, 9vw, 64px); }
	.cs-main { padding: 56px 0; }
	.cs-grid { grid-template-columns: 1fr; gap: 40px; }
	.cs-portrait { position: static; max-width: 320px; }
	.cs-values { padding: 56px 0; }
	.cs-vals-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.cs-tl { padding: 56px 0; }
	.cs-tl-item { grid-template-columns: 90px 1fr; gap: 24px; padding: 22px 0; }
	.cs-stack { padding: 56px 0; }
	.cs-stack-grid { grid-template-columns: repeat(2, 1fr); }
	.cs-stack-cell:nth-child(4n) { border-right: 1px solid var(--rs-line); }
	.cs-stack-cell:nth-child(2n) { border-right: 0; }
	.cs-stack-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--rs-line); }
	.cs-stack-cell:nth-last-child(-n+2) { border-bottom: 0; }
	.cs-nums-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
	.cs-num { padding: 0 20px; }
	.cs-num:nth-child(3) { border-left: 0; padding-left: 0; }
	.cs-cta { padding: 60px 16px 56px; }
	.cs-cta-inner { padding: 48px 24px; border-radius: 20px; }
}
@media (max-width: 640px) {
	.cs-hero { padding: 40px 0 28px; }
	.cs-hero h1 { margin: 20px 0 14px; }
	.cs-vals-grid { grid-template-columns: 1fr; }
	.cs-tl-item { grid-template-columns: 1fr; gap: 8px; }
	.cs-stack-grid { grid-template-columns: 1fr; }
	.cs-stack-cell { border-right: 0 !important; }
	.cs-nums-grid { grid-template-columns: 1fr; }
	.cs-num { border-left: 0 !important; padding: 0 !important; }
}

/* pages/servizi.css */
/**
 * Mocart Studio 2026 — Servizi (index + 6 dettagli) styles.
 * Tradotti dagli HTML restyling/directions/servizi-*.html
 * Prefisso classi: sv-
 */

/* ----- INDEX: hero ----- */
.rs-a .sv-index-hero { padding: 120px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--rs-line); }
.rs-a .sv-index-hero .mesh { position: absolute; inset: 0; background-image: linear-gradient(var(--rs-line) 1px, transparent 1px), linear-gradient(90deg, var(--rs-line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%); opacity: 0.6; pointer-events: none; }
.rs-a .sv-index-hero .glow { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(96,16,249,0.12), transparent 60%); pointer-events: none; }
.rs-a .sv-index-hero .container { position: relative; z-index: 2; max-width: 980px; text-align: center; }
.rs-a .sv-index-hero .sv-crumb { font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); letter-spacing: 0.06em; text-transform: uppercase; display: flex; gap: 8px; justify-content: center; margin: 0; }
.rs-a .sv-index-hero .sv-crumb a { color: var(--rs-ink-3); }
.rs-a .sv-index-hero .sv-crumb a::after { content: " /"; color: var(--rs-line-2); margin-left: 8px; }
.rs-a .sv-index-hero h1 { font-size: clamp(48px, 7vw, 104px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin: 24px auto 24px; }
.rs-a .sv-index-hero h1 em { color: var(--rs-purple); font-style: italic; font-weight: 500; }
.rs-a .sv-index-hero .lead { font-size: 20px; line-height: 1.5; color: var(--rs-ink-2); max-width: 680px; margin: 0 auto 32px; }
.rs-a .sv-index-hero .sv-ticker { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); letter-spacing: 0.08em; text-transform: uppercase; margin: 40px 0 0; padding: 0; list-style: none; }
.rs-a .sv-index-hero .sv-ticker li { margin: 0; }

/* ----- INDEX: cards ----- */
.rs-a .sv-cards { padding: 80px 0 40px; }
.rs-a .sv-cards .sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rs-a .sv-card { display: grid; grid-template-rows: auto 1fr auto; gap: 20px; border: 1px solid var(--rs-line); border-radius: 20px; padding: 40px; background: #fff; transition: all 240ms cubic-bezier(0.2, 0, 0, 1); position: relative; overflow: hidden; min-height: 320px; text-decoration: none; color: inherit; }
.rs-a .sv-card:hover { border-color: var(--rs-purple); box-shadow: 0 30px 60px -25px rgba(96,16,249,0.2); transform: translateY(-2px); }
.rs-a .sv-card .num { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.rs-a .sv-card:hover .num { color: var(--rs-purple); }
.rs-a .sv-card h3 { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
.rs-a .sv-card .quote { font-style: italic; font-size: 15px; color: var(--rs-ink-3); line-height: 1.5; margin: 0; max-width: 440px; }
.rs-a .sv-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rs-a .sv-card .tags li { font-family: var(--rs-mono); font-size: 10px; background: var(--rs-bg-soft); border: 1px solid var(--rs-line); padding: 4px 10px; border-radius: 999px; color: var(--rs-ink-3); letter-spacing: 0.04em; text-transform: uppercase; }
.rs-a .sv-card .cta-row { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--rs-line); font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); margin: 0; }
.rs-a .sv-card .cta-row .go { color: var(--rs-purple); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.rs-a .sv-card:hover .cta-row .go { gap: 10px; }
.rs-a .sv-card.featured {
	background: linear-gradient(140deg, var(--rs-purple) 0%, #4A0CC6 100%);
	color: #fff;
	border-color: var(--rs-purple);
	display: flex; flex-direction: column; gap: 24px;
	padding: 44px 40px;
}
.rs-a .sv-card.featured:hover { border-color: var(--rs-purple); box-shadow: 0 40px 80px -25px rgba(96,16,249,0.45); }
.rs-a .sv-card.featured .num { color: rgba(255,255,255,0.72); margin-bottom: 12px; }
.rs-a .sv-card.featured .cta-row { color: rgba(255,255,255,0.72); border-top: 1px solid rgba(255,255,255,0.18); padding-top: 16px; }
.rs-a .sv-card.featured .tags li { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.20); color: rgba(255,255,255,0.92); }
.rs-a .sv-card.featured h3 { color: #fff; font-size: 36px; margin: 0; line-height: 1.05; letter-spacing: -0.025em; }
.rs-a .sv-card.featured .lead { color: rgba(255,255,255,0.92); font-size: 15px; line-height: 1.55; margin: 14px 0 0; max-width: none; }
.rs-a .sv-card.featured .quote { color: rgba(255,255,255,0.72); font-style: italic; font-size: 14px; max-width: none; margin: 14px 0 0; padding-left: 14px; border-left: 2px solid rgba(255,255,255,0.3); }
.rs-a .sv-card.featured .cta-row .go { color: #E4D8FF; }

.rs-a .sv-card.featured .sv-card__head > *:first-child { margin-top: 0; }

/* Sezioni interne scure */
.rs-a .sv-card.featured .sv-card__cosa,
.rs-a .sv-card.featured .sv-card__use {
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid rgba(255,255,255,0.18);
}
.rs-a .sv-card.featured .sv-card__foot { margin-top: auto; }
.rs-a .sv-card.featured .sub-eyebrow {
	font-family: var(--rs-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #E4D8FF;
	margin: 0 0 12px;
	font-weight: 500;
}
.rs-a .sv-card.featured .feature-list {
	list-style: none; padding: 0; margin: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
	font-family: var(--rs-mono); font-size: 12px;
	color: rgba(255,255,255,0.92); line-height: 1.5;
}
.rs-a .sv-card.featured .feature-list li { display: flex; align-items: flex-start; gap: 6px; }
.rs-a .sv-card.featured .feature-list li::before { content: '+'; color: #E4D8FF; font-weight: 700; flex-shrink: 0; }
.rs-a .sv-card.featured .use-list {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; gap: 10px;
	font-size: 13px; color: rgba(255,255,255,0.88); line-height: 1.5;
}
.rs-a .sv-card.featured .use-list li { position: relative; padding-left: 16px; }
.rs-a .sv-card.featured .use-list li::before { content: '→'; position: absolute; left: 0; top: 0; color: #E4D8FF; font-weight: 500; }
.rs-a .sv-card.featured .use-list strong { color: #fff; font-weight: 600; }

/* Desktop: layout asimmetrico 2 colonne.
   Col sx (4 righe): 01 Brand · 03 ADV · 04 SEO · 05 Mobile
   Col dx: 02 Web (riga 1) · 06 Automazioni AI (verticale, span righe 2-4) */
@media (min-width: 961px) {
	.rs-a .sv-cards .sv-grid { grid-template-rows: repeat(4, auto); }
	.rs-a .sv-cards .sv-grid > .sv-card:nth-child(1) { grid-column: 1; grid-row: 1; }      /* Brand */
	.rs-a .sv-cards .sv-grid > .sv-card:nth-child(2) { grid-column: 2; grid-row: 1; }      /* Web */
	.rs-a .sv-cards .sv-grid > .sv-card:nth-child(3) { grid-column: 1; grid-row: 2; }      /* ADV */
	.rs-a .sv-cards .sv-grid > .sv-card:nth-child(4) { grid-column: 1; grid-row: 3; }      /* SEO (sopra Mobile) */
	.rs-a .sv-cards .sv-grid > .sv-card:nth-child(5) { grid-column: 1; grid-row: 4; }      /* Mobile */
	.rs-a .sv-cards .sv-grid > .sv-card.featured       { grid-column: 2; grid-row: 2 / span 3; } /* Automazioni AI verticale */
}

/* ----- INDEX: compare (why integrated) ----- */
.rs-a .sv-compare { padding: 60px 0; border-top: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line); background: var(--rs-bg-soft); }
.rs-a .sv-compare .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.rs-a .sv-compare h2 { font-size: clamp(32px, 3.5vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0; }
.rs-a .sv-compare h2 em { color: var(--rs-purple); font-style: italic; font-weight: 500; }
.rs-a .sv-compare p { font-size: 16px; line-height: 1.6; color: var(--rs-ink-3); margin: 0; }
.rs-a .sv-compare .compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rs-line); border-radius: 16px; overflow: hidden; background: #fff; }
.rs-a .sv-compare .compare-grid .bad,
.rs-a .sv-compare .compare-grid .good,
.rs-a .sv-compare .compare-grid > div { padding: 32px 36px; }
.rs-a .sv-compare .compare-grid .bad { border-right: 1px solid var(--rs-line); background: var(--rs-bg-soft); }
.rs-a .sv-compare .compare-grid h4 { font-size: 13px; font-weight: 500; font-family: var(--rs-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--rs-ink-4); margin: 0 0 14px; }
.rs-a .sv-compare .compare-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--rs-ink-2); line-height: 1.55; }
.rs-a .sv-compare .compare-grid ul li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.rs-a .sv-compare .compare-grid ul li + li { border-top: 1px solid rgba(0,0,0,0.05); }
.rs-a .sv-compare .compare-grid .mark { display: inline-block; width: 14px; flex-shrink: 0; font-weight: 700; padding-top: 2px; font-size: 16px; line-height: 1; }
.rs-a .sv-compare .compare-grid .bad .mark { color: var(--rs-ink-4); }
.rs-a .sv-compare .compare-grid .good .mark { color: var(--rs-purple); }

/* ----- DETAIL: hero ----- */
.rs-a .sv-hero { padding: 100px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--rs-line); }
.rs-a .sv-hero .mesh { position: absolute; inset: 0; background-image: linear-gradient(var(--rs-line) 1px, transparent 1px), linear-gradient(90deg, var(--rs-line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 60% at 20% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 60% at 20% 50%, #000 20%, transparent 75%); opacity: 0.6; pointer-events: none; }
.rs-a .sv-hero .glow { position: absolute; inset: 0; background: radial-gradient(ellipse 40% 40% at 20% 50%, rgba(96,16,249,0.12), transparent 60%); pointer-events: none; }
.rs-a .sv-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.rs-a .sv-hero h1 { font-size: clamp(48px, 6vw, 88px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; margin: 20px 0; }
.rs-a .sv-hero h1 em { color: var(--rs-purple); font-style: italic; font-weight: 500; }
.rs-a .sv-hero .sv-crumb { font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.rs-a .sv-hero .sv-crumb a { color: var(--rs-ink-3); margin-right: 8px; }
.rs-a .sv-hero .sv-crumb a::after { content: " /"; color: var(--rs-line-2); margin-left: 8px; }
.rs-a .sv-hero .lead { font-size: 19px; line-height: 1.55; color: var(--rs-ink-2); margin: 0 0 8px; max-width: 640px; }
.rs-a .sv-hero .sv-meta { display: flex; gap: 32px; flex-wrap: wrap; font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); letter-spacing: 0.08em; text-transform: uppercase; margin: 32px 0 0; padding: 0; list-style: none; }
.rs-a .sv-hero .sv-meta li { margin: 0; }

/* Hero mockup (illustrazione a destra del titolo) */
.rs-a .sv-hero .mockup {
	aspect-ratio: 4/3.6; border-radius: 20px;
	border: 1px solid var(--rs-line);
	background: linear-gradient(180deg, #fff 0%, #FAF8FF 100%);
	position: relative; overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(96,16,249,0.25);
	display: flex; flex-direction: column;
}
.rs-a .sv-hero .mockup > .content {
	flex: 1; display: flex; flex-direction: column;
	padding: 18px !important;
}
.rs-a .sv-hero .mockup > .browser-bar + .content { padding-top: 14px !important; }
.rs-a .sv-hero .mockup .browser-bar {
	height: 28px; background: #FAFAFC; border-bottom: 1px solid var(--rs-line);
	display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.rs-a .sv-hero .mockup .browser-bar > span { width: 8px; height: 8px; border-radius: 50%; background: var(--rs-line-2); }
.rs-a .sv-hero .mockup .browser-bar .url {
	width: auto; height: auto; border-radius: 6px; background: #fff;
	margin: 0 auto; font-family: var(--rs-mono); font-size: 10px;
	color: var(--rs-ink-4); border: 1px solid var(--rs-line); padding: 3px 10px;
}
.rs-a .sv-hero .mockup > .content { padding: 20px; }
.rs-a .sv-hero .mockup .bar { height: 6px; background: var(--rs-line); border-radius: 3px; margin-bottom: 10px; }
.rs-a .sv-hero .mockup .bar.w-80 { width: 80%; }
.rs-a .sv-hero .mockup .bar.w-60 { width: 60%; }
.rs-a .sv-hero .mockup .bar.w-40 { width: 40%; background: var(--rs-purple); }
.rs-a .sv-hero .mockup .bar.w-30 { width: 30%; }
.rs-a .sv-hero .mockup .hero-block {
	margin-top: 20px; height: 140px; border-radius: 12px;
	background: linear-gradient(135deg, #E4D8FF, #6010F9);
	position: relative; overflow: hidden;
}
.rs-a .sv-hero .mockup .hero-block::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.4), transparent 50%);
}
.rs-a .sv-hero .mockup .grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.rs-a .sv-hero .mockup .grid-cards > div {
	height: 70px; border-radius: 10px; background: var(--rs-bg-soft); border: 1px solid var(--rs-line);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--rs-mono); font-size: 10px; color: var(--rs-ink-4);
}

/* ----- DETAIL: content layout ----- */
.rs-a .sv-layout { padding: 80px 0; }
.rs-a .sv-layout .container { display: grid; grid-template-columns: 220px 1fr; gap: 80px; align-items: start; }
.rs-a .sv-toc { position: sticky; top: 100px; font-family: var(--rs-mono); font-size: 12px; }
.rs-a .sv-toc h5 { text-transform: uppercase; letter-spacing: 0.12em; color: var(--rs-ink-4); font-weight: 500; margin: 0 0 14px; font-size: 12px; }
.rs-a .sv-toc ul { list-style: none; padding: 0; margin: 0; }
.rs-a .sv-toc a { display: block; padding: 8px 0 8px 14px; color: var(--rs-ink-3); border-left: 1px solid var(--rs-line); margin-left: -15px; text-decoration: none; }
.rs-a .sv-toc a:hover, .rs-a .sv-toc a.active { color: var(--rs-purple); border-color: var(--rs-purple); }

.rs-a .sv-content h2 { font-size: clamp(32px, 3.5vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 20px; }
.rs-a .sv-content h2 em { color: var(--rs-purple); font-style: italic; font-weight: 500; }
.rs-a .sv-content h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 48px 0 12px; }
.rs-a .sv-content p { font-size: 17px; line-height: 1.6; color: var(--rs-ink-2); margin: 0 0 16px; max-width: 680px; }
.rs-a .sv-content blockquote, .rs-a .sv-content .wp-block-quote { margin: 32px 0; padding: 20px 28px; border-left: 3px solid var(--rs-purple); font-style: italic; font-size: 18px; color: var(--rs-ink-2); background: var(--rs-bg-soft); border-radius: 0 12px 12px 0; }
.rs-a .sv-content blockquote p { margin: 0; max-width: none; }
.rs-a .sv-content .sv-section { margin-bottom: 48px; }
.rs-a .sv-content .sv-section > .eyebrow { display: inline-block; }

/* Feature grid */
.rs-a .sv-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.rs-a .sv-features .sv-feat { border: 1px solid var(--rs-line); border-radius: 16px; padding: 24px; background: #fff; }
.rs-a .sv-features .sv-feat .tag { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.rs-a .sv-features .sv-feat h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 10px 0 8px; }
.rs-a .sv-features .sv-feat p { font-size: 14px; color: var(--rs-ink-3); margin: 0; line-height: 1.55; max-width: none; }

/* Timeline */
.rs-a .sv-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line); margin: 32px 0; }
.rs-a .sv-timeline .sv-step { padding: 24px 20px; border-right: 1px solid var(--rs-line); }
.rs-a .sv-timeline .sv-step:last-child { border-right: 0; }
.rs-a .sv-timeline .sv-step .step { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.rs-a .sv-timeline .sv-step h5 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 10px 0 8px; }
.rs-a .sv-timeline .sv-step p { font-size: 13px; color: var(--rs-ink-3); line-height: 1.55; margin: 0; max-width: none; }
.rs-a .sv-timeline .sv-step .days { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); margin: 12px 0 0; display: block; }

/* Pricing */
.rs-a .sv-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.rs-a .sv-pricing .sv-plan { border: 1px solid var(--rs-line); border-radius: 20px; padding: 28px; background: #fff; display: flex; flex-direction: column; }
.rs-a .sv-pricing .sv-plan.featured { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); position: relative; }
.rs-a .sv-pricing .sv-plan.featured .tag { color: #C7B0FF; }
.rs-a .sv-pricing .sv-plan.featured .price, .rs-a .sv-pricing .sv-plan.featured h4 { color: #fff; }
.rs-a .sv-pricing .sv-plan.featured ul li { color: rgba(255,255,255,0.8); }
.rs-a .sv-pricing .sv-plan .tag { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.rs-a .sv-pricing .sv-plan h4 { font-size: 20px; font-weight: 600; margin: 8px 0; }
.rs-a .sv-pricing .sv-plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 20px; max-width: none; }
.rs-a .sv-pricing .sv-plan .price span { font-size: 14px; color: var(--rs-ink-4); font-weight: 500; }
.rs-a .sv-pricing .sv-plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--rs-ink-3); line-height: 1.8; }
.rs-a .sv-pricing .sv-plan ul li::before { content: "\2713 "; color: var(--rs-purple); font-weight: 700; margin-right: 4px; }
.rs-a .sv-pricing .sv-plan .sv-plan-cta { margin-top: auto; }

/* FAQ — accordion servizi (stessa estetica di ct-faq contatti) */
.rs-a .sv-faq-list { border-top: 1px solid var(--rs-line); }
.rs-a .sv-faq-list details {
  border-bottom: 1px solid var(--rs-line);
  margin: 0;
  padding: 0;
}
.rs-a .sv-faq-list summary {
  list-style: none;
  padding: 24px 0;
  cursor: pointer;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px;
  width: 100% !important;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rs-ink);
  transition: color 200ms;
}
.rs-a .sv-faq-list summary::after { margin-left: auto; }
.rs-a .sv-faq-list summary::-webkit-details-marker { display: none; }
.rs-a .sv-faq-list summary:hover { color: var(--rs-purple); }
.rs-a .sv-faq-list summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rs-line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 240ms;
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
}
.rs-a .sv-faq-list details[open] summary {
  color: var(--rs-purple);
}
.rs-a .sv-faq-list details[open] summary::after {
  background: var(--rs-purple);
  color: #fff;
  border-color: var(--rs-purple);
  transform: rotate(45deg);
}
.rs-a .sv-faq-list .faq-answer,
.rs-a .sv-faq-list details > p,
.rs-a .sv-faq-list details > div {
  padding: 0 48px 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rs-ink-3);
  max-width: 780px;
  margin: 0;
}
.rs-a .sv-faq-list .faq-answer p { margin: 0 0 12px; }
.rs-a .sv-faq-list .faq-answer p:last-child { margin-bottom: 0; }
.rs-a .sv-faq-list p strong,
.rs-a .sv-faq-list .faq-answer strong { color: var(--rs-ink); font-weight: 600; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
	.rs-a .sv-index-hero { padding: 80px 0 56px; }
	.rs-a .sv-cards { padding: 56px 0 24px; }
	.rs-a .sv-cards .sv-grid { grid-template-columns: 1fr; }
	.rs-a .sv-card.featured { grid-column: span 1; padding: 32px 28px; gap: 18px; }
	.rs-a .sv-card.featured h3 { font-size: 30px; }
	.rs-a .sv-card.featured .feature-list { grid-template-columns: 1fr; gap: 6px; }
	.rs-a .sv-compare .container { grid-template-columns: 1fr; gap: 32px; }
	.rs-a .sv-compare .compare-grid { grid-template-columns: 1fr; }
	.rs-a .sv-compare .compare-grid .bad { border-right: 0; border-bottom: 1px solid var(--rs-line); }
	.rs-a .sv-card { padding: 28px; min-height: 0; }

	.rs-a .sv-hero { padding: 72px 0 56px; }
	.rs-a .sv-hero .container { grid-template-columns: 1fr; gap: 40px; }
	.rs-a .sv-hero h1 { font-size: clamp(36px, 8vw, 56px); }
	.rs-a .sv-hero .mockup { aspect-ratio: auto; max-width: 520px; margin: 0 auto; }
	.rs-a .sv-hero .mockup > .content { flex: none; }
	.rs-a .sv-layout { padding: 56px 0; }
	.rs-a .sv-layout .container { grid-template-columns: 1fr; gap: 32px; }
	.rs-a .sv-toc { position: static; }
	.rs-a .sv-features { grid-template-columns: 1fr; }
	.rs-a .sv-pricing { grid-template-columns: 1fr; }
	.rs-a .sv-timeline { grid-template-columns: 1fr 1fr; }
	.rs-a .sv-timeline .sv-step { border-right: 0; border-bottom: 1px solid var(--rs-line); }
	.rs-a .sv-timeline .sv-step:last-child, .rs-a .sv-timeline .sv-step:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 640px) {
	.rs-a .sv-index-hero { padding: 56px 0 40px; }
	.rs-a .sv-index-hero .lead { font-size: 17px; }
	.rs-a .sv-index-hero .sv-ticker { flex-direction: column; gap: 10px; }
	.rs-a .sv-card { padding: 24px; }
	.rs-a .sv-card h3 { font-size: 24px; }
	.rs-a .sv-hero { padding: 56px 0 40px; }
	.rs-a .sv-content h2 { font-size: 28px; margin: 32px 0 14px; }
	.rs-a .sv-content h3 { font-size: 20px; margin: 28px 0 10px; }
	.rs-a .sv-content p { font-size: 15px; }
	.rs-a .sv-timeline { grid-template-columns: 1fr; }
	.rs-a .sv-timeline .sv-step { border-right: 0; border-bottom: 1px solid var(--rs-line); }
	.rs-a .sv-timeline .sv-step:last-child { border-bottom: 0; }
	.rs-a .sv-pricing .sv-plan { padding: 22px; }
	.rs-a .sv-pricing .sv-plan .price { font-size: 32px; }
}

/* pages/portfolio.css */
/* =========================================================
   Portfolio — Archive + Single case_study
   Traduzione da restyling/directions/portfolio-a.html
   e portfolio-detail-a.html. Tutto prefissato con .pf-* / .cs-*.
   ========================================================= */

/* ---------- ARCHIVE HERO ---------- */
.pf-hero {
	padding: 100px 0 56px;
	position: relative; overflow: hidden;
	border-bottom: 1px solid var(--rs-line);
}
/* Mesh (::before) + glow (::after) — stessa estetica dei servizi (sv-index-hero). */
.pf-hero::before,
.pf-hero .mesh {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(96,16,249,0.10) 1px, transparent 1px),
		linear-gradient(90deg, rgba(96,16,249,0.10) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	opacity: 0.8;
}
.pf-hero::after,
.pf-hero .glow {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 50% 50% at 50% 40%, rgba(96,16,249,0.14), transparent 60%);
}
.pf-hero .container,
.pf-hero > .brxe-container { position: relative; z-index: 2; }

/* Hero single case study — mesh + glow unificati (vedi blocco .cs-hero sopra) */
.cs-hero > .breadcrumb, .cs-hero > .header-row { position: relative; z-index: 2; }
.pf-hero .tag {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
	letter-spacing: 0.14em; text-transform: uppercase;
}
.pf-hero h1 {
	font-size: clamp(48px, 7vw, 92px);
	font-weight: 700; letter-spacing: -0.035em; line-height: 1;
	margin: 24px 0 20px;
}
.pf-hero h1 .accent {
	font-family: var(--rs-display); font-style: italic; font-weight: 600;
	color: var(--rs-purple);
}
.pf-hero p {
	font-size: 19px; color: var(--rs-ink-2); max-width: 680px; line-height: 1.55; margin: 0;
}
.pf-hero .stats-row {
	margin-top: 40px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	border-top: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line);
}
.pf-hero .stats-row > div {
	padding: 22px 18px; border-right: 1px solid var(--rs-line);
}
.pf-hero .stats-row > div:last-child { border-right: 0; }
.pf-hero .stats-row .num {
	font-family: var(--rs-display);
	font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin: 0;
	color: var(--rs-ink);
}
.pf-hero .stats-row .num em { font-style: normal; color: var(--rs-purple); font-family: inherit; }
.pf-hero .stats-row .num .unit {
	font-size: 0.45em; color: var(--rs-ink-4); font-family: var(--rs-mono);
	letter-spacing: 0.02em; margin-left: 4px; vertical-align: 0.25em;
}
.pf-hero .stats-row .lbl {
	font-family: var(--rs-mono); font-size: 10px;
	color: var(--rs-ink-4); letter-spacing: 0.1em; text-transform: uppercase;
	margin: 6px 0 0;
}

/* ---------- FILTERS ---------- */
.pf-filters {
	padding: 20px 0;
	border-bottom: 1px solid var(--rs-line);
	background: var(--rs-bg-soft, #FAFAFC);
}
.pf-filters .row {
	display: flex; gap: 10px; flex-wrap: wrap;
}
.pf-filters a {
	font-family: var(--rs-mono); font-size: 12px;
	padding: 8px 14px; border: 1px solid var(--rs-line);
	border-radius: 999px;
	color: var(--rs-ink-2); text-decoration: none;
	letter-spacing: 0.04em;
	transition: border-color 200ms, color 200ms, background 200ms;
}
.pf-filters a:hover { border-color: var(--rs-purple); color: var(--rs-purple); }
.pf-filters a.active {
	border-color: var(--rs-purple);
	background: var(--rs-purple);
	color: #fff;
}
.pf-filters a .count { opacity: 0.65; margin-left: 2px; }

/* ---------- CASES LIST ---------- */
.pf-list { padding: 72px 0 80px; }
.pf-list .label {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
	letter-spacing: 0.14em; text-transform: uppercase;
}
.pf-list h2.section-title {
	font-size: clamp(28px, 3.5vw, 42px); font-weight: 600;
	letter-spacing: -0.025em; margin: 12px 0 40px; max-width: 680px; line-height: 1.15;
}
.pf-list h2.section-title em {
	font-family: var(--rs-display); font-style: italic; font-weight: 600; color: var(--rs-purple);
}

.pf-case {
	display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
	align-items: center; padding: 40px 0;
	border-top: 1px solid var(--rs-line);
}
.pf-case:last-of-type { border-bottom: 1px solid var(--rs-line); }
.pf-case.reverse { direction: rtl; }
.pf-case.reverse > * { direction: ltr; }

.pf-case .case-meta .num {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.14em; margin-bottom: 14px;
}
.pf-case .case-meta .tag {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
	letter-spacing: 0.12em; text-transform: uppercase;
}
.pf-case .case-meta h3 {
	font-size: clamp(28px, 3.5vw, 44px); font-weight: 600;
	letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 16px;
}
.pf-case .case-meta h3 a {
	color: inherit; text-decoration: none;
	background-image: linear-gradient(var(--rs-purple), var(--rs-purple));
	background-repeat: no-repeat;
	background-size: 0 1px;
	background-position: 0 100%;
	transition: background-size 300ms;
}
.pf-case .case-meta h3 a:hover { background-size: 100% 1px; }
.pf-case .case-meta h3 em {
	font-family: var(--rs-display); font-style: italic; font-weight: 600;
	color: var(--rs-purple);
}
.pf-case .case-meta p.desc {
	font-size: 16px; line-height: 1.65; color: var(--rs-ink-2);
	margin: 0 0 24px; max-width: 480px;
}
.pf-case .meta-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
	border-top: 1px solid var(--rs-line); border-bottom: 1px solid var(--rs-line);
	margin-bottom: 24px;
}
.pf-case .meta-grid > div { padding: 14px 16px; border-right: 1px solid var(--rs-line); }
.pf-case .meta-grid > div:last-child { border-right: 0; }
.pf-case .meta-grid .k {
	font-family: var(--rs-mono); font-size: 10px;
	color: var(--rs-ink-4); letter-spacing: 0.1em; text-transform: uppercase;
	margin: 0 0 5px;
}
.pf-case .meta-grid .v { font-size: 13px; color: var(--rs-ink); margin: 0; font-weight: 500; }
.pf-case .case-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* Case visual (thumbnail tile) */
.pf-case .case-visual {
	aspect-ratio: 4/3; border-radius: 20px;
	position: relative; overflow: hidden;
	border: 1px solid var(--rs-line);
	display: block; text-decoration: none;
	background-color: #FAFAFC;
	transition: transform 300ms ease;
}
.pf-case .case-visual:hover { transform: translateY(-4px); }
.pf-case .case-visual::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
				radial-gradient(circle at 75% 70%, rgba(0,0,0,0.12), transparent 55%);
	pointer-events: none;
}
.pf-case .case-visual[style*="background-image"]::before { opacity: 0.5; }

/* Gradient fallback tiles (no thumbnail) */
.pf-case .case-visual.v1 { background: linear-gradient(135deg, #FDF4E3 0%, #F0C67A 55%, #B8833A 100%); }
.pf-case .case-visual.v2 { background: linear-gradient(135deg, #1B0B3A 0%, #4B1FC6 50%, #A570FF 100%); }
.pf-case .case-visual.v3 { background: linear-gradient(135deg, #FAFAFC 0%, #E4D8FF 100%); }
.pf-case .case-visual.v4 { background: linear-gradient(135deg, #0A0A0F 0%, #4B1FC6 100%); }
.pf-case .case-visual.v5 { background: linear-gradient(135deg, #E8F7EE 0%, #7EC898 100%); }
.pf-case .case-visual.v6 { background: linear-gradient(135deg, #FFE8E4 0%, #F09B8A 100%); }
.pf-case .case-visual.v7 { background: linear-gradient(135deg, #0A0A0F 0%, #1B0B3A 100%); }
.pf-case .case-visual.v8 { background: linear-gradient(135deg, #F3EEFF 0%, #C7A8FF 100%); }

/* ---------- CASES GRID (shortcode [mocart_portfolio_grid]) ---------- */
.pf-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 16px;
}
.pf-card { list-style: none; }
.pf-card-link {
	display: flex; flex-direction: column;
	border: 1px solid var(--rs-line);
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	text-decoration: none; color: inherit;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
	height: 100%;
}
.pf-card-link:hover {
	transform: translateY(-4px);
	border-color: var(--rs-purple);
	box-shadow: 0 18px 40px -22px rgba(96,16,249,0.28);
}
.pf-card-thumb {
	margin: 0;
	aspect-ratio: 4 / 3;
	background: var(--rs-bg-soft, #FAFAFC);
	border-bottom: 1px solid var(--rs-line);
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.pf-card-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 400ms ease;
}
.pf-card-link:hover .pf-card-thumb img { transform: scale(1.03); }
.pf-card-thumb--empty {
	background: linear-gradient(135deg, #F3EEFF 0%, #C7A8FF 100%);
}
.pf-card-body {
	padding: 20px 22px 22px;
	display: flex; flex-direction: column; gap: 8px;
	position: relative;
}
.pf-card-eyebrow {
	font-family: var(--rs-mono); font-size: 10px;
	color: var(--rs-purple); letter-spacing: 0.14em; text-transform: uppercase;
}
.pf-card-title {
	font-size: 20px; font-weight: 600;
	letter-spacing: -0.02em; line-height: 1.2;
	margin: 2px 0 0;
	color: var(--rs-ink);
}
.pf-card-client {
	font-size: 13px; color: var(--rs-ink-3, #6B6B78);
	margin: 0;
}
.pf-card-arrow {
	position: absolute; top: 22px; right: 22px;
	font-family: var(--rs-mono); font-size: 16px;
	color: var(--rs-ink-4);
	transition: color 220ms ease, transform 220ms ease;
}
.pf-card-link:hover .pf-card-arrow {
	color: var(--rs-purple);
	transform: translateX(4px);
}
@media (max-width: 960px) {
	.pf-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
	.pf-grid { grid-template-columns: 1fr; gap: 16px; }
	.pf-card-title { font-size: 18px; }
}

/* ---------- EMPTY ---------- */
.pf-empty {
	padding: 48px; border: 1px dashed var(--rs-line); border-radius: 20px;
	text-align: center; background: var(--rs-bg-soft, #FAFAFC);
}
.pf-empty p {
	font-size: 16px; color: var(--rs-ink-2); margin: 0 0 14px; line-height: 1.6;
}
.pf-empty .btn { margin-top: 12px; }

/* ---------- PAGINATION ---------- */
.pf-pagination {
	margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rs-line);
	display: flex; justify-content: center;
}
.pf-pagination .page-numbers {
	display: inline-block;
	font-family: var(--rs-mono); font-size: 13px;
	padding: 10px 16px; margin: 0 4px;
	border: 1px solid var(--rs-line); border-radius: 999px;
	color: var(--rs-ink-2); text-decoration: none;
	transition: border-color 200ms, color 200ms;
}
.pf-pagination .page-numbers:hover { border-color: var(--rs-purple); color: var(--rs-purple); }
.pf-pagination .page-numbers.current {
	background: var(--rs-ink); color: #fff; border-color: var(--rs-ink);
}

/* ---------- ARCHIVE CTA ----------
 * Layout (padding/max-width/margin) in `:where()` → specificità 0, così i
 * pannelli Bricks (per-breakpoint) vincono sempre senza !important.
 * Estetica (bg, radius, glow) fuori dal :where() per restare stabile.
 */
:where(.pf-cta) { padding: 64px 0; }
:where(.pf-cta .cta-box) {
	padding: 64px 56px;
	max-width: calc(var(--rs-container, 1240px) - 64px);
	margin: 0 auto;
}
:where(.pf-cta .cta-inner) { max-width: 620px; margin: 0 auto; }

.pf-cta .cta-box {
	background: var(--rs-ink); color: #fff;
	border-radius: 24px;
	position: relative; overflow: hidden;
	text-align: center;
}
.pf-cta .cta-box::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(96,16,249,0.35), transparent 60%);
	pointer-events: none;
}
.pf-cta .cta-inner { position: relative; z-index: 2; }
.pf-cta .tag {
	font-family: var(--rs-mono); font-size: 11px; color: #C7A8FF;
	letter-spacing: 0.14em; text-transform: uppercase;
}
.pf-cta h2 {
	font-size: clamp(28px, 3.8vw, 44px); font-weight: 600;
	letter-spacing: -0.025em; margin: 14px 0 16px; color: #fff;
}
.pf-cta h2 em { font-family: var(--rs-display); font-style: italic; color: #C7A8FF; font-weight: 600; }
.pf-cta p { font-size: 16px; color: rgba(255,255,255,0.78); margin: 0 0 26px; line-height: 1.6; }
.pf-cta .buttons { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pf-cta .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,0.25); }

/* ---------- SINGLE CASE STUDY ---------- */
.cs-hero {
	padding: 80px 0 48px;
	border-bottom: 1px solid var(--rs-line);
	position: relative; overflow: hidden;
}
.cs-hero .breadcrumb {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.12em; text-transform: uppercase;
}
.cs-hero .breadcrumb a { color: inherit; text-decoration: none; }
.cs-hero .breadcrumb a:hover { color: var(--rs-purple); }
.cs-hero .breadcrumb span.sep { margin: 0 10px; color: var(--rs-line); }
.cs-hero .header-row {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end;
	margin-top: 32px;
}
.cs-hero .tag {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
	letter-spacing: 0.14em; text-transform: uppercase;
}
.cs-hero h1 {
	font-size: clamp(40px, 6vw, 80px); font-weight: 700;
	letter-spacing: -0.035em; line-height: 1.02; margin: 16px 0 20px;
}
.cs-hero h1 em {
	font-family: var(--rs-display); font-style: italic; font-weight: 500;
	color: var(--rs-purple);
}
.cs-hero p.lead {
	font-size: 19px; color: var(--rs-ink-2); line-height: 1.55;
	margin: 0 0 28px; max-width: 540px;
}
.cs-hero .buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-hero .meta-card {
	border: 1px solid var(--rs-line); border-radius: 20px; padding: 28px;
	background: #fff;
}
.cs-hero .meta-card h5 {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 16px; font-weight: 500;
}
.cs-hero .meta-card dl {
	display: grid; grid-template-columns: 110px 1fr; gap: 14px 18px; margin: 0;
}
.cs-hero .meta-card dt {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.08em; text-transform: uppercase; margin: 0;
}
.cs-hero .meta-card dd {
	margin: 0; font-size: 14px; color: var(--rs-ink); font-weight: 500;
}
.cs-hero .meta-card dd a { color: var(--rs-purple); text-decoration: none; }
.cs-hero .meta-card dd a:hover { text-decoration: underline; }
.cs-hero .meta-card dd .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cs-hero .meta-card dd .chips span {
	font-family: var(--rs-mono); font-size: 10px; color: var(--rs-ink-3);
	padding: 3px 9px; border: 1px solid var(--rs-line); border-radius: 999px;
	letter-spacing: 0.06em; font-weight: normal;
}

/* Cover — screenshot del sito live via mShots */
.cs-cover { padding: 48px 0 0; }
.cs-cover .container { max-width: 1200px; }
.cs-cover .img {
	aspect-ratio: 16/10; border-radius: 22px;
	background-color: var(--rs-bg-soft);
	background-image: linear-gradient(135deg, #F3EEFF 0%, #C7A8FF 100%);
	position: relative; overflow: hidden;
	border: 1px solid var(--rs-line);
	display: block;
	text-decoration: none;
}
.cs-cover .img-site { transition: transform 300ms, box-shadow 300ms; }
.cs-cover .img-site:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -24px rgba(10,10,15,0.16); }
.cs-cover .cs-cover-hint {
	position: absolute; top: 20px; right: 20px;
	font-family: var(--rs-mono); font-size: 11px;
	padding: 8px 14px;
	background: rgba(10,10,15,0.72);
	color: #fff;
	border-radius: 999px;
	backdrop-filter: blur(10px);
	opacity: 0; transform: translateY(-6px);
	transition: all 250ms;
	letter-spacing: 0.08em;
}
.cs-cover .img-site:hover .cs-cover-hint { opacity: 1; transform: translateY(0); }

/* Generic section */
.cs-section { padding: 72px 0; }
.cs-section .container { max-width: 1040px; }
.cs-section .label {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
	letter-spacing: 0.14em; text-transform: uppercase;
}
.cs-section h2 {
	font-size: clamp(30px, 4vw, 48px); font-weight: 600;
	letter-spacing: -0.025em; margin: 14px 0 20px; line-height: 1.1;
}
.cs-section h2 em {
	font-family: var(--rs-display); font-style: italic;
	font-weight: 500; color: var(--rs-purple);
}
.cs-section p {
	font-size: 17px; line-height: 1.7; color: var(--rs-ink-2); margin: 0 0 18px;
}
.cs-section .prose { max-width: 760px; margin: 0 auto; }
.cs-section .prose > *:first-child { margin-top: 0; }
.cs-section .prose > *:last-child { margin-bottom: 0; }
.cs-section .prose p { font-size: 17px; line-height: 1.75; color: var(--rs-ink-2); margin: 0 0 20px; }
.cs-section .prose h2 {
	font-family: var(--rs-display);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--rs-ink);
	margin: 48px 0 20px;
}
.cs-section .prose h2:first-child { margin-top: 0; }
.cs-section .prose h2 em {
	font-family: var(--rs-display); font-style: italic;
	font-weight: 500; color: var(--rs-purple);
}
.cs-section .prose h3 {
	font-family: var(--rs-display);
	font-size: clamp(22px, 2.2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--rs-ink);
	margin: 36px 0 14px;
}
.cs-section .prose ul,
.cs-section .prose ol {
	font-size: 17px;
	line-height: 1.75;
	color: var(--rs-ink-2);
	margin: 0 0 20px;
	padding-left: 24px;
}
.cs-section .prose li { margin-bottom: 10px; }
.cs-section .prose li::marker { color: var(--rs-purple); }
.cs-section .prose a { color: var(--rs-purple); text-decoration: underline; text-underline-offset: 3px; }
.cs-section .prose a:hover { text-decoration-thickness: 2px; }
.cs-section .prose blockquote {
	border-left: 3px solid var(--rs-purple);
	padding: 4px 0 4px 20px;
	margin: 28px 0;
	font-family: var(--rs-display);
	font-style: italic;
	font-size: 20px;
	line-height: 1.55;
	color: var(--rs-ink);
}
.cs-section .prose strong { color: var(--rs-ink); font-weight: 600; }

/* KPI strip */
.cs-kpis {
	border: 1px solid var(--rs-line); border-radius: 20px;
	background: #fff; overflow: hidden;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}
.cs-kpis > div {
	padding: 28px 24px; border-right: 1px solid var(--rs-line);
	min-width: 0;
	display: flex; flex-direction: column; justify-content: flex-start;
}
.cs-kpis > div:last-child { border-right: 0; }
.cs-kpis .num {
	display: flex; align-items: baseline; gap: 4px;
	font-family: var(--rs-display); font-weight: 600;
	letter-spacing: -0.02em; color: var(--rs-ink);
	line-height: 1; margin: 0;
	min-width: 0;
	flex-wrap: wrap;
}
.cs-kpis .num-val {
	font-size: clamp(26px, 2.6vw, 38px);
	letter-spacing: -0.03em;
	color: var(--rs-ink);
	min-width: 0;
	overflow-wrap: break-word;
	line-height: 1.05;
}
.cs-kpis .num-unit {
	font-size: clamp(13px, 1.1vw, 17px);
	color: var(--rs-purple);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: lowercase;
	white-space: nowrap;
}
.cs-kpis .lbl {
	font-family: var(--rs-mono); font-size: 10px; color: var(--rs-ink-4);
	letter-spacing: 0.08em; text-transform: uppercase; margin: 12px 0 0;
	line-height: 1.4;
	word-break: break-word;
}

@media (max-width: 1100px) {
	.cs-kpis > div { padding: 22px 18px; }
}
@media (max-width: 960px) {
	.cs-kpis { grid-template-columns: repeat(2, 1fr); }
	.cs-kpis > div:nth-child(2n) { border-right: 0; }
	.cs-kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--rs-line); }
}
@media (max-width: 640px) {
	.cs-kpis { grid-template-columns: 1fr; }
	.cs-kpis > div { border-right: 0; border-bottom: 1px solid var(--rs-line); padding: 20px 22px; }
	.cs-kpis > div:last-child { border-bottom: 0; }
}

/* Split brief / obiettivo */
.cs-split {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
	padding: 24px 0;
}
.cs-split > div {
	padding: 32px; border: 1px solid var(--rs-line); border-radius: 20px;
	background: var(--rs-bg-soft, #FAFAFC);
}
.cs-split h3 {
	font-size: 22px; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em;
	display: flex; align-items: center; gap: 10px;
}
.cs-split h3::before {
	content: '◆'; color: var(--rs-purple); font-size: 14px;
}
.cs-split p { font-size: 15px; line-height: 1.65; margin: 0 0 12px; color: var(--rs-ink-2); }
.cs-split ul { padding-left: 20px; margin: 0; font-size: 15px; color: var(--rs-ink-2); }
.cs-split li { margin-bottom: 8px; line-height: 1.55; }
.cs-split li::marker { color: var(--rs-purple); }

/* Gallery */
.cs-gallery {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
	margin: 32px 0;
}
.cs-gallery .shot {
	border-radius: 14px; border: 1px solid var(--rs-line);
	aspect-ratio: 4/3; position: relative; overflow: hidden;
	background-color: #FAFAFC;
	background-size: cover; background-position: center;
	margin: 0;
}
.cs-gallery .shot.span-3 { grid-column: span 3; aspect-ratio: 16/10; }
.cs-gallery .shot.span-6 { grid-column: span 6; aspect-ratio: 21/9; }
.cs-gallery .shot.span-2 { grid-column: span 2; }
/* Gradient fallback quando non c'è background-image */
.cs-gallery .shot.g1 { background-image: linear-gradient(135deg, #FDF4E3, #F0C67A); }
.cs-gallery .shot.g2 { background-image: linear-gradient(135deg, #0A0A0F, #4B1FC6); }
.cs-gallery .shot.g3 { background-image: linear-gradient(135deg, #F3EEFF, #C7A8FF); }
.cs-gallery .shot.g4 { background-image: linear-gradient(135deg, #FAFAFC, #E4D8FF); }
.cs-gallery .shot.g5 { background-image: linear-gradient(135deg, #FDF4E3, #FFFFFF); }
.cs-gallery .shot.g6 { background-image: linear-gradient(135deg, #3D2408, #B8833A); }

/* Quote block — single column centrato (senza risultati laterali) */
.cs-quote {
	background: linear-gradient(135deg, #F3EEFF 0%, #FFFFFF 100%);
	border: 1px solid var(--rs-line); border-radius: 24px;
	padding: 64px 56px;
	display: block;
}
/* Il max-width/margin del quote block è controllato via _widthMax native su
   cs0035 (editabile dal pannello Bricks). Niente !important qui. */
.cs-quote .divider { display: none; }
.cs-quote blockquote {
	font-family: var(--rs-display); font-style: italic;
	font-size: 26px; line-height: 1.4; color: var(--rs-ink);
	margin: 0 0 28px; font-weight: 400;
}
.cs-quote blockquote::before {
	content: '"'; font-size: 72px; line-height: 0.2; color: var(--rs-purple);
	display: block; margin: 0 auto 16px;
}
.cs-quote .by {
	align-items: center; gap: 14px;
	justify-content: center;
}
/* .by è un .brxe-block: i suoi figli non devono stirarsi a 100%. */
.cs-quote .by > .brxe-block { width: auto; text-align: left; }
.cs-quote .avatar {
	width: 48px; height: 48px; border-radius: 50%;
	background: linear-gradient(135deg, var(--rs-purple), #A570FF);
	color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 600; font-size: 15px;
}
.cs-quote .by-name { font-weight: 600; font-size: 15px; display: block; }
.cs-quote .by-role {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-top: 2px;
}
.cs-quote .results h4 {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 20px; font-weight: 500;
}
.cs-quote .results .row {
	display: flex; justify-content: space-between; align-items: baseline;
	padding: 14px 0; border-bottom: 1px solid var(--rs-line);
}
.cs-quote .results .row:last-child { border-bottom: 0; }
.cs-quote .results .row .k {
	font-size: 14px; color: var(--rs-ink-2);
}
.cs-quote .results .row .v {
	font-family: var(--rs-display); font-weight: 500;
	font-size: 24px; letter-spacing: -0.01em; color: var(--rs-purple);
}

/* Next / other cases */
.cs-next {
	background: var(--rs-bg-soft, #FAFAFC);
	padding: 80px 0;
	border-top: 1px solid var(--rs-line);
}
.cs-next .container { max-width: 1240px; }
.cs-next .label {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple);
	letter-spacing: 0.14em; text-transform: uppercase;
}
.cs-next .next-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px;
}
.cs-next .next-row.next-row-3 {
	grid-template-columns: repeat(3, 1fr);
}
.cs-next .next-card {
	border: 1px solid var(--rs-line); border-radius: 20px;
	padding: 0; background: #fff; text-decoration: none; color: inherit;
	transition: transform 300ms, box-shadow 300ms;
	display: block; overflow: hidden;
}
.cs-next .next-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -20px rgba(75,31,198,0.25); }
.cs-next .next-card .next-thumb {
	display: block; width: 100%; aspect-ratio: 16/10;
	background-color: #F3EEFF; background-size: cover; background-position: center;
	border-bottom: 1px solid var(--rs-line);
}
.cs-next .next-card .dir,
.cs-next .next-card h3,
.cs-next .next-card p,
.cs-next .next-card .arrow { padding: 0 24px; }
.cs-next .next-card .dir {
	font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4);
	letter-spacing: 0.12em; text-transform: uppercase;
	margin: 20px 0 10px;
}
.cs-next .next-card h3 {
	font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px;
	line-height: 1.2;
}
.cs-next .next-card p {
	font-size: 14px; color: var(--rs-ink-3); margin: 0 0 16px; line-height: 1.55;
}
.cs-next .next-card .arrow {
	color: var(--rs-purple); font-size: 20px; display: block;
	padding-bottom: 24px;
}

/* Single CTA (dark box, full width inside container) */
.cs-cta {
	padding: 64px 20px 80px;
}
.cs-cta .cta-box {
	max-width: var(--rs-container, 1240px); margin: 0 auto;
	background: var(--rs-ink); color: #fff;
	border-radius: 28px; padding: 80px 56px;
	position: relative; overflow: hidden; text-align: center;
}
.cs-cta .cta-box::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(96,16,249,0.35), transparent 60%);
	pointer-events: none;
}
.cs-cta .cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cs-cta .tag {
	font-family: var(--rs-mono); font-size: 11px; color: #C7A8FF;
	letter-spacing: 0.14em; text-transform: uppercase;
}
.cs-cta h2 {
	font-size: clamp(32px, 4.5vw, 52px); font-weight: 600;
	letter-spacing: -0.025em; margin: 14px 0 18px; color: #fff;
}
.cs-cta h2 em { font-family: var(--rs-display); color: #C7A8FF; font-weight: 500; }
.cs-cta p { font-size: 16px; color: rgba(255,255,255,0.75); margin: 0 0 28px; }
.cs-cta .buttons { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cs-cta .btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,0.25); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
	/* Archive */
	.pf-hero { padding: 64px 0 40px; }
	.pf-hero h1 { font-size: clamp(40px, 9vw, 64px); }
	.pf-hero .stats-row { grid-template-columns: repeat(2, 1fr); }
	.pf-hero .stats-row > div:nth-child(2) { border-right: 0; }
	.pf-hero .stats-row > div:nth-child(1),
	.pf-hero .stats-row > div:nth-child(2) { border-bottom: 1px solid var(--rs-line); }

	.pf-list { padding: 48px 0 64px; }
	.pf-case { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
	.pf-case.reverse { direction: ltr; }
	.pf-case.reverse .case-visual { order: -1; }
	.pf-case .case-meta h3 { font-size: clamp(24px, 5vw, 32px); }
	.pf-case .case-visual { aspect-ratio: 16/10; }

	/* Mobile CTA: default in :where() (Bricks panel per-breakpoint vince). */
	:where(.pf-cta) { padding: 48px 0; }
	:where(.pf-cta .cta-box) { padding: 40px 28px; margin: 0 20px; }
	.pf-cta .cta-box { border-radius: 20px; }

	/* Single */
	.cs-hero { padding: 56px 0 32px; }
	.cs-hero h1 { font-size: clamp(36px, 8vw, 56px); }
	.cs-hero .header-row { grid-template-columns: 1fr; gap: 32px; }
	.cs-hero .meta-card dl { grid-template-columns: 100px 1fr; }
	.cs-section { padding: 48px 0; }
	.cs-split { grid-template-columns: 1fr; gap: 20px; }
	.cs-split > div { padding: 24px; }
	.cs-gallery { grid-template-columns: repeat(2, 1fr); }
	.cs-gallery .shot,
	.cs-gallery .shot.span-3,
	.cs-gallery .shot.span-6,
	.cs-gallery .shot.span-2 { grid-column: span 2; aspect-ratio: 4/3; }
	.cs-quote { padding: 32px 24px; grid-template-columns: 1fr; gap: 32px; }
	.cs-quote .divider { display: none; }
	.cs-quote blockquote { font-size: 20px; }
	.cs-next .next-row,
	.cs-next .next-row.next-row-3 { grid-template-columns: 1fr; }
	.cs-cta .cta-box { padding: 56px 28px; }
}

@media (max-width: 640px) {
	.pf-hero .stats-row { grid-template-columns: 1fr; }
	.pf-hero .stats-row > div { border-right: 0; border-bottom: 1px solid var(--rs-line); }
	.pf-hero .stats-row > div:last-child { border-bottom: 0; }
	.pf-case .meta-grid { grid-template-columns: 1fr; }
	.pf-case .meta-grid > div { border-right: 0; border-bottom: 1px solid var(--rs-line); }
	.pf-case .meta-grid > div:last-child { border-bottom: 0; }
	.pf-cta h2 { font-size: 26px; }

	.cs-gallery { grid-template-columns: 1fr; }
	.cs-gallery .shot,
	.cs-gallery .shot.span-3,
	.cs-gallery .shot.span-6,
	.cs-gallery .shot.span-2 { grid-column: span 1; }
}

/* --- Archive Portfolio: nuovo layout grid 3-col con logo --- */
.rs-a .pf-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 48px;
}
.rs-a .pf-card {
	background: #fff;
	border: 1px solid var(--rs-line);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 250ms, border-color 250ms, box-shadow 250ms;
}
.rs-a .pf-card:hover {
	transform: translateY(-4px);
	border-color: var(--rs-purple-100);
	box-shadow: 0 20px 40px -16px rgba(96,16,249,0.12);
}
.rs-a .pf-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	padding: 24px 32px;
	background: var(--rs-bg-soft);
	border-bottom: 1px solid var(--rs-line);
	transition: background 250ms;
}
.rs-a .pf-card:hover .pf-card__logo { background: var(--rs-purple-50); }
.rs-a .pf-card__logo img {
	max-width: 72%;
	max-height: 100px;
	width: auto; height: auto;
	object-fit: contain;
	opacity: 0.9;
	filter: grayscale(30%);
	transition: all 250ms;
}
.rs-a .pf-card:hover .pf-card__logo img { opacity: 1; filter: none; transform: scale(1.04); }
.rs-a .pf-card__logo-fallback {
	font-family: var(--rs-display);
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--rs-purple);
	background: linear-gradient(135deg, var(--rs-purple-50), var(--rs-purple-100));
	width: 80px; height: 80px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.rs-a .pf-card__body {
	padding: 24px 28px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}
.rs-a .pf-card__eyebrow {
	font-family: var(--rs-mono);
	font-size: 11px;
	color: var(--rs-purple);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0;
}
.rs-a .pf-card__title {
	font-family: var(--rs-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}
.rs-a .pf-card__title a { color: inherit; text-decoration: none; }
.rs-a .pf-card:hover .pf-card__title a { color: var(--rs-purple); }
.rs-a .pf-card__desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--rs-ink-3);
	margin: 0;
}
.rs-a .pf-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}
.rs-a .pf-card__tags li {
	font-family: var(--rs-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--rs-bg-soft);
	color: var(--rs-ink-2);
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid var(--rs-line);
}
.rs-a .pf-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--rs-line);
}
.rs-a .pf-card__cta {
	font-family: var(--rs-display);
	font-size: 13px;
	font-weight: 600;
	color: var(--rs-purple);
	text-decoration: none;
}
.rs-a .pf-card__live {
	font-family: var(--rs-mono);
	font-size: 11px;
	color: var(--rs-ink-4);
	text-decoration: none;
	letter-spacing: 0.04em;
}
.rs-a .pf-card__live:hover { color: var(--rs-ink); }

@media (max-width: 960px) {
	.rs-a .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.rs-a .pf-card__logo { height: 120px; padding: 20px 24px; }
}
@media (max-width: 640px) {
	.rs-a .pf-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
	.rs-a .pf-card__logo { height: 110px; }
	.rs-a .pf-card__body { padding: 20px 22px; }
}

/* --- Altri case study: riusa pf-card con spaziatura ridotta --- */
.cs-next h2 {
	font-family: var(--rs-display);
	font-size: clamp(28px, 3.5vw, 44px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin: 14px 0 32px;
	color: var(--rs-ink);
}
.cs-next .cs-next-grid { margin-top: 32px; }

/* pages/contatti.css */
/**
 * Mocart Studio 2026 — Contatti page styles.
 * Tradotti dall'HTML restyling/directions/contatti-a.html
 */

/* Hero */
.rs-a .ct-hero { padding: 80px 0 40px; position: relative; overflow: hidden; border-bottom: 1px solid var(--rs-line); }
/* Mesh (::before) + glow (::after) — stessa estetica dei servizi (sv-index-hero). */
.rs-a .ct-hero::before,
.rs-a .ct-hero .mesh {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: linear-gradient(rgba(96,16,249,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(96,16,249,0.10) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	opacity: 0.8;
}
.rs-a .ct-hero::after,
.rs-a .ct-hero .glow {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 50% 50% at 50% 40%, rgba(96,16,249,0.14), transparent 60%);
}
.rs-a .ct-hero .container,
.rs-a .ct-hero > .brxe-container { position: relative; z-index: 2; }
.rs-a .ct-hero p.crumb { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); text-transform: uppercase; letter-spacing: 0.14em; display: flex; gap: 10px; align-items: center; margin: 0; }
.rs-a .ct-hero p.crumb a:hover { color: var(--rs-purple); }
.rs-a .ct-hero h1 { font-size: clamp(44px, 6.8vw, 96px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin: 28px 0 20px; max-width: 1000px; }
.rs-a .ct-hero h1 em { font-family: "Inter Tight", serif; font-style: italic; font-weight: 500; color: var(--rs-purple); }
.rs-a .ct-hero p.lead { font-size: 19px; line-height: 1.55; color: var(--rs-ink-3); max-width: 640px; margin: 0 0 28px; }
.rs-a .ct-hero .availability { display: none !important; }
.rs-a .ct-hero .availability .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); animation: ctPulse 2s ease-in-out infinite; }
@keyframes ctPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0.08); } }

/* Channels — core Columns + Column con className ct-channel */
.rs-a .ct-channels { padding: 32px 0; border-bottom: 1px solid var(--rs-line); background: var(--rs-bg-soft); }
.rs-a .wp-block-columns.ct-channels-grid,
.rs-a .ct-channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid var(--rs-line); border-radius: 16px; overflow: hidden; margin: 0; }
.rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel,
.rs-a .ct-channel { padding: 24px 22px; border-right: 1px solid var(--rs-line); transition: background 200ms; flex: initial; }
.rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel:hover,
.rs-a .ct-channel:hover { background: var(--rs-purple-50); }
.rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel:last-child,
.rs-a .ct-channel:last-child { border-right: 0; }
.rs-a .ct-channel .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--rs-purple-50); color: var(--rs-purple); display: grid; place-items: center; margin-bottom: 14px; }
.rs-a .ct-channel p.k { font-family: var(--rs-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--rs-ink-4); margin: 0 0 4px; }
.rs-a .ct-channel p.v { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--rs-ink); margin: 0; }
.rs-a .ct-channel p.v a { color: inherit; text-decoration: none; }
.rs-a .ct-channel p.v a:hover { color: var(--rs-purple); }
.rs-a .ct-channel p.sub { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); margin: 6px 0 0; }

/* Main form grid */
.rs-a .ct-main { padding: 80px 0; border-bottom: 1px solid var(--rs-line); }
.rs-a .ct-main-grid { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: start; }
.rs-a .ct-form-head p.label { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); text-transform: uppercase; letter-spacing: 0.14em; display: inline-block; margin-bottom: 16px; }
.rs-a .ct-form-head h2 { font-family: var(--rs-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 14px; }
.rs-a .ct-form-head h2 em { font-family: "Inter Tight", serif; font-style: italic; font-weight: 500; color: var(--rs-purple); }
.rs-a .ct-form-head p { font-size: 16px; line-height: 1.6; color: var(--rs-ink-3); margin: 0 0 32px; max-width: 560px; }

/* Form */
.rs-a .ct-form { background: var(--rs-bg-soft); border: 1px solid var(--rs-line); border-radius: 20px; padding: 32px; }
.rs-a .ct-form .progress { display: flex; gap: 6px; margin-bottom: 28px; }
.rs-a .ct-form .progress .step { flex: 1; height: 3px; background: var(--rs-line); border-radius: 2px; position: relative; overflow: hidden; }
.rs-a .ct-form .progress .step.active { background: var(--rs-purple); }
.rs-a .ct-form .group { margin-bottom: 24px; }
.rs-a .ct-form .group label { display: block; font-family: var(--rs-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rs-ink-2); margin-bottom: 10px; font-weight: 500; }
.rs-a .ct-form .group label .req { color: var(--rs-purple); }
.rs-a .ct-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rs-a .ct-form input[type="text"],
.rs-a .ct-form input[type="email"],
.rs-a .ct-form input[type="tel"],
.rs-a .ct-form textarea,
.rs-a .ct-form select { width: 100%; background: #fff; border: 1px solid var(--rs-line); border-radius: 12px; padding: 14px 16px; font-family: var(--rs-display); font-size: 15px; color: var(--rs-ink); outline: none; transition: all 180ms; }
.rs-a .ct-form input:focus, .rs-a .ct-form textarea:focus, .rs-a .ct-form select:focus { border-color: var(--rs-purple); box-shadow: 0 0 0 3px rgba(96,16,249,0.1); }
.rs-a .ct-form textarea { min-height: 140px; resize: vertical; font-family: var(--rs-display); line-height: 1.5; }
.rs-a .ct-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239B9BA8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* Chips (multi-select) */
.rs-a .ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-a .ct-chip { position: relative; }
.rs-a .ct-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rs-a .ct-chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border: 1px solid var(--rs-line); border-radius: 999px; font-family: var(--rs-display); font-size: 13px; font-weight: 500; color: var(--rs-ink-2); cursor: pointer; transition: all 180ms; }
.rs-a .ct-chip span::before { content: ''; width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 1.5px solid var(--rs-line-2); display: inline-block; transition: all 180ms; }
.rs-a .ct-chip input:checked ~ span { background: var(--rs-purple); color: #fff; border-color: var(--rs-purple); box-shadow: 0 4px 14px rgba(96,16,249,0.3); }
.rs-a .ct-chip input:checked ~ span::before { background: #fff; border-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%236010F9' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* Pills (budget) */
.rs-a .ct-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rs-a .ct-pill { position: relative; }
.rs-a .ct-pill input { position: absolute; opacity: 0; pointer-events: none; }
.rs-a .ct-pill span { display: block; padding: 14px 10px; background: #fff; border: 1px solid var(--rs-line); border-radius: 12px; font-family: var(--rs-mono); font-size: 12px; text-align: center; cursor: pointer; transition: all 180ms; color: var(--rs-ink-2); letter-spacing: 0.02em; }
.rs-a .ct-pill input:checked ~ span { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); }

/* Privacy */
.rs-a .ct-privacy { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--rs-line); border-radius: 12px; margin-bottom: 24px; }
.rs-a .ct-privacy input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rs-purple); flex-shrink: 0; }
.rs-a .ct-privacy label { font-size: 13px; line-height: 1.5; color: var(--rs-ink-2); margin: 0; font-family: var(--rs-display); text-transform: none; letter-spacing: 0; font-weight: 400; }
.rs-a .ct-privacy label a { color: var(--rs-purple); text-decoration: underline; }

.rs-a .ct-form .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.rs-a .ct-form .hint { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); }

/* Aside */
.rs-a .ct-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.rs-a .ct-aside-card { background: #fff; border: 1px solid var(--rs-line); border-radius: 20px; padding: 28px; }
.rs-a .ct-aside-card.dark { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); position: relative; overflow: hidden; }
.rs-a .ct-aside-card.dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 20% 30%, rgba(96,16,249,0.4), transparent 60%); pointer-events: none; }
.rs-a .ct-aside-card.dark > * { position: relative; z-index: 2; }
.rs-a .ct-aside-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 16px; }
.rs-a .ct-aside-card.dark h3 { color: #fff; }
.rs-a .ct-aside-card .who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rs-a .ct-aside-card .who .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--rs-purple-100), var(--rs-purple)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; flex-shrink: 0; font-family: var(--rs-display); }
.rs-a .ct-aside-card.dark .who .avatar { background: linear-gradient(135deg, #C7A8FF, var(--rs-purple)); }
.rs-a .ct-aside-card .who .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.rs-a .ct-aside-card .who .role { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); margin: 3px 0 0; letter-spacing: 0.02em; }
.rs-a .ct-aside-card.dark .who .role { color: rgba(255,255,255,0.6); }
.rs-a .ct-aside-card p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.rs-a .ct-aside-card.dark p { color: rgba(255,255,255,0.8); }
.rs-a .ct-aside-card .meta { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rs-line); }
.rs-a .ct-aside-card.dark .meta { border-color: rgba(255,255,255,0.1); }
.rs-a .ct-aside-card .meta li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rs-line); font-size: 13px; }
.rs-a .ct-aside-card.dark .meta li { border-color: rgba(255,255,255,0.1); }
.rs-a .ct-aside-card .meta li:last-child { border-bottom: 0; }
.rs-a .ct-aside-card .meta li .k { font-family: var(--rs-mono); color: var(--rs-ink-4); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.rs-a .ct-aside-card .meta li .v { font-weight: 500; color: var(--rs-ink); }
.rs-a .ct-aside-card.dark .meta li .v { color: #fff; }

/* FAQ — wp:details native */
.rs-a .ct-faq { padding: 80px 0; border-bottom: 1px solid var(--rs-line); }
.rs-a .ct-faq .head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.rs-a .ct-faq .head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 0; }
.rs-a .ct-faq .head p { font-size: 16px; line-height: 1.6; color: var(--rs-ink-3); margin: 0; }
.rs-a .ct-faq-list { border-top: 1px solid var(--rs-line); }
.rs-a .ct-faq-item { border-bottom: 1px solid var(--rs-line); margin: 0; padding: 0; }
.rs-a .ct-faq-item summary { list-style: none; padding: 24px 0; cursor: pointer; display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 24px; width: 100% !important; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--rs-ink); transition: color 200ms; }
.rs-a .ct-faq-item summary::after { margin-left: auto; }
.rs-a .ct-faq-item summary::-webkit-details-marker { display: none; }
.rs-a .ct-faq-item summary:hover { color: var(--rs-purple); }
.rs-a .ct-faq-item summary::after { content: '+'; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rs-line); display: grid; place-items: center; flex-shrink: 0; transition: all 240ms; font-weight: 300; font-size: 20px; }
.rs-a .ct-faq-item[open] summary::after { background: var(--rs-purple); color: #fff; border-color: var(--rs-purple); transform: rotate(45deg); }
.rs-a .ct-faq-item > p,
.rs-a .ct-faq-item .faq-answer { padding: 0 48px 16px 0; font-size: 15px; line-height: 1.7; color: var(--rs-ink-3); max-width: 780px; margin: 0 0 16px; }
.rs-a .ct-faq-item > p:last-child,
.rs-a .ct-faq-item .faq-answer { padding-bottom: 24px; }
.rs-a .ct-faq-item .faq-answer p { margin: 0 0 12px; }
.rs-a .ct-faq-item .faq-answer p:last-child { margin-bottom: 0; }
.rs-a .ct-faq-item p strong,
.rs-a .ct-faq-item .faq-answer strong { color: var(--rs-ink); font-weight: 600; }
.rs-a .ct-faq-item[open] summary { color: var(--rs-purple); }

/* ==========================================
   FLUENT FORMS — stilato come il tema rs-a
   ========================================== */
.rs-a .ct-form .fluentform { margin: 0; }
.rs-a .ct-form .fluentform .ff-el-group { margin-bottom: 20px; }
.rs-a .ct-form .fluentform .ff-el-input--label label,
.rs-a .ct-form .fluentform label {
  display: block;
  font-family: var(--rs-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rs-ink-2);
  margin-bottom: 10px;
  font-weight: 500;
}
.rs-a .ct-form .fluentform .ff-el-is-required label::after,
.rs-a .ct-form .fluentform label .ff-el-is-required-star { color: var(--rs-purple); margin-left: 4px; }
.rs-a .ct-form .fluentform input[type="text"],
.rs-a .ct-form .fluentform input[type="email"],
.rs-a .ct-form .fluentform input[type="tel"],
.rs-a .ct-form .fluentform input[type="url"],
.rs-a .ct-form .fluentform input[type="number"],
.rs-a .ct-form .fluentform textarea,
.rs-a .ct-form .fluentform select,
.rs-a .ct-form .fluentform .ff-el-form-control {
  width: 100% !important;
  background: #fff !important;
  border: 1px solid var(--rs-line) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-family: var(--rs-display) !important;
  font-size: 15px !important;
  color: var(--rs-ink) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 180ms ease !important;
  height: auto !important;
  line-height: 1.4 !important;
}
.rs-a .ct-form .fluentform textarea,
.rs-a .ct-form .fluentform textarea.ff-el-form-control { min-height: 140px !important; resize: vertical !important; line-height: 1.5 !important; }
.rs-a .ct-form .fluentform input:focus,
.rs-a .ct-form .fluentform textarea:focus,
.rs-a .ct-form .fluentform select:focus,
.rs-a .ct-form .fluentform .ff-el-form-control:focus {
  border-color: var(--rs-purple) !important;
  box-shadow: 0 0 0 3px rgba(96,16,249,0.1) !important;
}
.rs-a .ct-form .fluentform input::placeholder,
.rs-a .ct-form .fluentform textarea::placeholder { color: var(--rs-ink-4); opacity: 1; }

/* Colonne multi-campo */
.rs-a .ct-form .fluentform .ff-t-container { gap: 20px; }
.rs-a .ct-form .fluentform .ff-t-cell { padding: 0 !important; }

/* Checkbox/radio (GDPR, consensi) */
.rs-a .ct-form .fluentform .ff-el-form-check input[type="checkbox"],
.rs-a .ct-form .fluentform .ff-el-form-check input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--rs-purple);
  margin-right: 10px;
  vertical-align: middle;
}
.rs-a .ct-form .fluentform .ff-el-form-check label {
  font-family: var(--rs-display);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--rs-ink-2);
  font-weight: 400;
  display: inline;
}

/* Submit button — pill viola come il tema */
.rs-a .ct-form .fluentform .ff-btn-submit,
.rs-a .ct-form .fluentform button[type="submit"],
.rs-a .ct-form .fluentform .ff_btn_style {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 28px !important;
  background: var(--rs-purple) !important;
  background-color: var(--rs-purple) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--rs-display) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px -10px rgba(96,16,249,0.55) !important;
  transition: background 180ms ease, transform 180ms ease !important;
  text-transform: none !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
  width: auto !important;
}
.rs-a .ct-form .fluentform .ff-btn-submit:hover,
.rs-a .ct-form .fluentform button[type="submit"]:hover,
.rs-a .ct-form .fluentform .ff_btn_style:hover {
  background: var(--rs-purple-600, #4a0cc6) !important;
  transform: translateY(-1px);
}

/* Messaggi di errore/successo */
.rs-a .ct-form .fluentform .error,
.rs-a .ct-form .fluentform .text-danger,
.rs-a .ct-form .fluentform .ff-el-is-error .text-danger {
  font-family: var(--rs-mono);
  font-size: 11px;
  color: #D13438;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
}
.rs-a .ct-form .fluentform .ff-message-success,
.rs-a .ct-form .fluentform .ff_success_message {
  background: var(--rs-purple-50, #F2ECFF);
  border: 1px solid var(--rs-purple-100, #C7A8FF);
  color: var(--rs-ink);
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 14px;
}

/* CTA dark */
.rs-a .ct-cta { padding: 80px 32px; }
.rs-a .ct-cta-inner { max-width: var(--rs-container, 1240px); margin: 0 auto; background: var(--rs-ink); color: #fff; border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.rs-a .ct-cta-inner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(96,16,249,0.35), transparent 60%); pointer-events: none; }
.rs-a .ct-cta-inner > * { position: relative; z-index: 2; }
.rs-a .ct-cta-inner p.tag { font-family: var(--rs-mono); font-size: 11px; color: #C7A8FF; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 auto; max-width: none; }
.rs-a .ct-cta-inner h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 600; letter-spacing: -0.025em; margin: 14px 0; color: #fff; line-height: 1.1; }
.rs-a .ct-cta-inner p { font-size: 16px; color: rgba(255,255,255,0.75); margin: 0 auto 24px; max-width: 580px; }
.rs-a .ct-cta-inner .wp-block-button.btn-white > .wp-block-button__link.wp-element-button { background: #fff !important; background-color: #fff !important; color: var(--rs-ink) !important; }
.rs-a .ct-cta-inner .wp-block-button.btn-white:hover > .wp-block-button__link.wp-element-button { background: var(--rs-purple-50) !important; transform: translateY(-1px); }

/* Responsive */
@media (max-width: 960px) {
  .rs-a .ct-hero { padding: 56px 0 36px; }
  .rs-a .ct-hero h1 { font-size: clamp(36px, 9vw, 64px); }
  .rs-a .wp-block-columns.ct-channels-grid,
  .rs-a .ct-channels-grid { grid-template-columns: repeat(2, 1fr); }
  .rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel:nth-child(2n),
  .rs-a .ct-channel:nth-child(2n) { border-right: 0; }
  .rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel:nth-child(-n+2),
  .rs-a .ct-channel:nth-child(-n+2) { border-bottom: 1px solid var(--rs-line); }
  .rs-a .ct-main { padding: 56px 0; }
  .rs-a .ct-main-grid { grid-template-columns: 1fr; gap: 40px; }
  .rs-a .ct-aside { position: static; }
  .rs-a .ct-form { padding: 24px; }
  .rs-a .ct-form .row { grid-template-columns: 1fr; gap: 20px; }
  .rs-a .ct-pills { grid-template-columns: repeat(2, 1fr); }
  .rs-a .ct-faq { padding: 56px 0; }
  .rs-a .ct-faq .head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .rs-a .ct-cta { padding: 56px 16px; }
  .rs-a .ct-cta-inner { padding: 48px 24px; border-radius: 20px; }
}
@media (max-width: 640px) {
  .rs-a .ct-hero { padding: 40px 0 28px; }
  .rs-a .ct-hero h1 { font-size: clamp(32px, 10vw, 48px); margin: 20px 0 14px; }
  .rs-a .wp-block-columns.ct-channels-grid,
  .rs-a .ct-channels-grid { grid-template-columns: 1fr; }
  .rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel,
  .rs-a .ct-channel { border-right: 0 !important; border-bottom: 1px solid var(--rs-line); }
  .rs-a .wp-block-columns.ct-channels-grid > .wp-block-column.ct-channel:last-child,
  .rs-a .ct-channel:last-child { border-bottom: 0; }
  .rs-a .ct-form { padding: 20px; border-radius: 16px; }
  .rs-a .ct-pills { grid-template-columns: 1fr 1fr; }
  .rs-a .ct-faq-item summary { font-size: 16px; }
  .rs-a .ct-cta-inner { padding: 36px 20px; }
}

/* pages/blog.css */
/**
 * Mocart Studio 2026 — Blog (archive + single) styles.
 * Tradotti da restyling/directions/blog-a.html + articolo-a.html.
 */

/* ============== BLOG ARCHIVE (home.php) ============== */

/* Hero */
.rs-a .blog-hero { padding: 100px 0 60px; position: relative; overflow: hidden; border-bottom: 1px solid var(--rs-line); }
/* Mesh (::before) + glow (::after) — stessa estetica dei servizi (sv-index-hero). */
.rs-a .blog-hero::before,
.rs-a .blog-hero .mesh {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: linear-gradient(rgba(96,16,249,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(96,16,249,0.10) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
	opacity: 0.8;
}
.rs-a .blog-hero::after,
.rs-a .blog-hero .glow {
	content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 50% 50% at 50% 40%, rgba(96,16,249,0.14), transparent 60%);
}
.rs-a .blog-hero .container,
.rs-a .blog-hero > .brxe-container { position: relative; z-index: 2; }
.rs-a .blog-hero p.breadcrumb { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.rs-a .blog-hero p.breadcrumb a { color: inherit; text-decoration: none; }
.rs-a .blog-hero p.breadcrumb a:hover { color: var(--rs-purple); }
.rs-a .blog-hero p.breadcrumb .sep { margin: 0 10px; color: var(--rs-line); }
.rs-a .blog-hero h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: 24px 0 20px; }
.rs-a .blog-hero h1 .accent { font-family: "Inter Tight", serif; font-style: italic; font-weight: 500; color: var(--rs-purple); }
.rs-a .blog-hero p { font-size: 19px; color: var(--rs-ink-2); max-width: 640px; line-height: 1.55; margin: 0; }
.rs-a .blog-hero .search,
.rs-a .blog-hero form[role="search"] { margin-top: 40px; max-width: 560px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid var(--rs-line); border-radius: 14px; box-shadow: 0 4px 20px -10px rgba(10,10,15,0.08); }
.rs-a .blog-hero .search input,
.rs-a .blog-hero form[role="search"] input[type="search"] { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; font-family: inherit; color: var(--rs-ink); }
.rs-a .blog-hero form[role="search"] label { flex: 1; }
.rs-a .blog-hero form[role="search"] .search-submit { background: var(--rs-ink); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-family: var(--rs-display); font-size: 13px; cursor: pointer; }

/* Filters */
.rs-a .blog-filters { padding: 28px 0 0; border-bottom: 1px solid var(--rs-line); }
.rs-a .blog-filters .row { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 20px; }
.rs-a .blog-filters a,
.rs-a .blog-filters button { font-family: inherit; font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rs-line); background: #fff; color: var(--rs-ink-2); transition: all 180ms; text-decoration: none; cursor: pointer; line-height: 1.2; }
.rs-a .blog-filters a:hover,
.rs-a .blog-filters button:hover { border-color: var(--rs-purple); color: var(--rs-purple); }
.rs-a .blog-filters a.active,
.rs-a .blog-filters button.active { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); }
.rs-a .blog-filters .count { font-family: var(--rs-mono); font-size: 10px; opacity: 0.6; margin-left: 6px; }
.rs-a .blog-grid-empty-msg { text-align: center; padding: 56px 20px; color: var(--rs-ink-4); font-size: 14px; font-family: var(--rs-mono); }

/* Featured */
.rs-a .blog-featured { padding: 60px 0; border-bottom: 1px solid var(--rs-line); }
.rs-a .blog-featured .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.rs-a .blog-featured .thumb-big { aspect-ratio: 4/3; border-radius: 20px; background: linear-gradient(135deg, #F3EEFF 0%, #C7A8FF 60%, #6010F9 130%); position: relative; overflow: hidden; border: 1px solid var(--rs-line); display: block; }
.rs-a .blog-featured .thumb-big::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 50%), radial-gradient(circle at 70% 70%, rgba(96,16,249,0.4), transparent 60%); pointer-events: none; }
.rs-a .blog-featured .thumb-big::after { content: 'IN EVIDENZA'; position: absolute; top: 20px; left: 20px; font-family: var(--rs-mono); font-size: 10px; letter-spacing: 0.12em; padding: 6px 11px; background: rgba(10,10,15,0.7); backdrop-filter: blur(8px); color: #fff; border-radius: 999px; z-index: 2; }
.rs-a .blog-featured .cat { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); text-transform: uppercase; letter-spacing: 0.1em; }
.rs-a .blog-featured h2 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 16px 0 20px; }
.rs-a .blog-featured h2 a { color: inherit; text-decoration: none; }
.rs-a .blog-featured h2 a:hover { color: var(--rs-purple); }
.rs-a .blog-featured p { font-size: 17px; line-height: 1.6; color: var(--rs-ink-2); margin: 0 0 28px; }
.rs-a .blog-featured .meta-row { display: flex; align-items: center; gap: 14px; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--rs-line); font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); text-transform: uppercase; letter-spacing: 0.08em; }
.rs-a .blog-featured .meta-row .dot-sep { color: var(--rs-line); }
.rs-a .blog-featured .avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--rs-purple), #A570FF); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: 0; font-family: var(--rs-display); }

/* Articles grid section */
.rs-a .blog-grid-section { padding: 72px 0 120px; }
.rs-a .blog-grid-section .heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.rs-a .blog-grid-section .heading h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.rs-a .blog-grid-section .heading .sub { font-family: var(--rs-mono); font-size: 12px; color: var(--rs-ink-4); letter-spacing: 0.08em; text-transform: uppercase; }
.rs-a .blog-grid-section .blog-grid,
.rs-a .blog-grid-section .blog-grid-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.rs-a .blog-grid-section .blog-card[hidden] { display: none !important; }
.rs-a .blog-featured[hidden] { display: none !important; }
.rs-a .blog-grid-nav { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 32px; }
.rs-a .blog-grid-nav .page-numbers { display: inline-flex; gap: 8px; list-style: none; padding: 0; }
.rs-a .blog-grid-nav .page-numbers li a,
.rs-a .blog-grid-nav .page-numbers li span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rs-line); background: #fff; color: var(--rs-ink-2); text-decoration: none; font-family: var(--rs-display); font-size: 13px; }
.rs-a .blog-grid-nav .page-numbers li .current { background: var(--rs-ink); color: #fff; border-color: var(--rs-ink); }
.rs-a .blog-empty { padding: 40px; background: var(--rs-bg-soft); border-radius: 16px; color: var(--rs-ink-3); text-align: center; }

/* Newsletter */
.rs-a .blog-newsletter { padding: 80px 0 120px; }
.rs-a .blog-newsletter .wrap { position: relative; overflow: hidden; background: var(--rs-bg-soft); border: 1px solid var(--rs-line); border-radius: 24px; padding: 56px 64px; }
.rs-a .blog-newsletter .wrap::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 60% at 20% 50%, rgba(96,16,249,0.08), transparent 60%); pointer-events: none; }
.rs-a .blog-newsletter .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rs-a .blog-newsletter h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.025em; margin: 16px 0 12px; }
.rs-a .blog-newsletter p { font-size: 16px; color: var(--rs-ink-2); margin: 0; line-height: 1.55; }
.rs-a .blog-newsletter form { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; background: #fff; border: 1px solid var(--rs-line); border-radius: 16px; box-shadow: 0 8px 24px -12px rgba(10,10,15,0.08); position: relative; }
.rs-a .blog-newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 16px; font-size: 15px; font-family: inherit; color: var(--rs-ink); background: transparent; }
.rs-a .blog-newsletter .mocart-newsletter-feedback { width: 100%; margin: 4px 8px 0; font-family: var(--rs-mono); font-size: 12px; min-height: 0; }
.rs-a .blog-newsletter .mocart-newsletter-feedback:empty { display: none; }
.rs-a .blog-newsletter .mocart-newsletter-feedback.is-success { color: var(--rs-purple); }
.rs-a .blog-newsletter .mocart-newsletter-feedback.is-error { color: #D13438; }
.rs-a .blog-newsletter button[disabled] { opacity: 0.65; cursor: progress; }
.rs-a .blog-newsletter .btn-purple { padding: 12px 22px; }

/* ============== BLOG SINGLE (single.php) ============== */

.rs-a .art-hero { padding: 80px 0 40px; border-bottom: 1px solid var(--rs-line); position: relative; overflow: hidden; }
.rs-a .art-hero .container { position: relative; z-index: 2; max-width: 820px; }
.rs-a .art-hero p.breadcrumb { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.rs-a .art-hero p.breadcrumb a { color: inherit; text-decoration: none; }
.rs-a .art-hero p.breadcrumb a:hover { color: var(--rs-purple); }
.rs-a .art-hero p.breadcrumb .sep { margin: 0 10px; color: var(--rs-line); }
.rs-a .art-hero .cat { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-purple); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 32px; display: inline-block; }
.rs-a .art-hero h1 { font-size: clamp(36px, 5.5vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 24px; }
.rs-a .art-hero p.tldr { font-size: 20px; line-height: 1.55; color: var(--rs-ink-2); max-width: 720px; margin: 0 0 36px; }
.rs-a .art-hero .byline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--rs-line); }
.rs-a .art-hero .byline .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--rs-purple), #A570FF); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; font-family: var(--rs-display); }
.rs-a .art-hero .byline .author { font-weight: 600; font-size: 14px; color: var(--rs-ink); display: block; }
.rs-a .art-hero .byline .role { font-size: 13px; color: var(--rs-ink-4); display: block; }
.rs-a .art-hero .byline .meta { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-ink-4); letter-spacing: 0.08em; text-transform: uppercase; display: flex; gap: 14px; align-items: center; margin-left: auto; }
.rs-a .art-hero .byline .meta .pill { padding: 4px 10px; border: 1px solid var(--rs-line); border-radius: 999px; }

/* Cover */
.rs-a .art-cover { padding: 40px 0 0; }
.rs-a .art-cover .container { max-width: 1040px; }
.rs-a .art-cover .img { aspect-ratio: 16/9; border-radius: 20px; background: linear-gradient(135deg, #F3EEFF 0%, #E4D8FF 100%); position: relative; overflow: hidden; border: 1px solid var(--rs-line); }
.rs-a .art-cover .img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Body / prose */
.rs-a .art-body { padding: 64px 0 80px; }
.rs-a .art-body .container { max-width: 760px; }
.rs-a .art-body .prose { font-size: 17px; line-height: 1.75; color: var(--rs-ink-2); }
.rs-a .art-body .prose p { margin: 0 0 24px; }
.rs-a .art-body .prose h2 { font-family: var(--rs-display); font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--rs-ink); margin: 48px 0 20px; }
.rs-a .art-body .prose h3 { font-family: var(--rs-display); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--rs-ink); margin: 36px 0 14px; }
.rs-a .art-body .prose a { color: var(--rs-purple); text-decoration: underline; text-underline-offset: 3px; }
.rs-a .art-body .prose strong { color: var(--rs-ink); font-weight: 600; }
.rs-a .art-body .prose blockquote { border-left: 3px solid var(--rs-purple); padding: 8px 0 8px 24px; margin: 28px 0; font-style: italic; color: var(--rs-ink); }
.rs-a .art-body .prose ul,
.rs-a .art-body .prose ol { margin: 0 0 24px 20px; padding: 0; }
.rs-a .art-body .prose li { margin: 0 0 8px; }
.rs-a .art-body .prose code { background: var(--rs-bg-soft); padding: 2px 6px; border-radius: 4px; font-family: var(--rs-mono); font-size: 0.9em; }
.rs-a .art-body .prose pre { background: var(--rs-ink); color: #fff; padding: 20px; border-radius: 12px; overflow-x: auto; margin: 28px 0; }
.rs-a .art-body .prose pre code { background: transparent; padding: 0; color: inherit; }
.rs-a .art-body .prose img,
.rs-a .art-body .prose .wp-block-image img { max-width: 100%; height: auto; border-radius: 12px; margin: 28px 0; }
.rs-a .art-body .prose .wp-block-gallery { margin: 32px 0; }
.rs-a .art-body .prose .wp-block-embed { margin: 32px 0; }

/* Related */
.rs-a .art-related { padding: 80px 0; border-top: 1px solid var(--rs-line); background: var(--rs-bg-soft); }
.rs-a .art-related .container { max-width: 1240px; }
.rs-a .art-related h2 { font-family: var(--rs-display); font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 32px; }
.rs-a .art-related .blog-grid,
.rs-a .art-related .blog-grid-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Article CTA */
.rs-a .art-cta { padding: 80px 0 120px; }
.rs-a .art-cta .container { max-width: 1240px; }
.rs-a .art-cta .wrap { background: var(--rs-ink); color: #fff; border-radius: 24px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
.rs-a .art-cta .wrap::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(96,16,249,0.35), transparent 60%); }
.rs-a .art-cta .wrap > * { position: relative; z-index: 2; }
.rs-a .art-cta .tag { font-family: var(--rs-mono); font-size: 11px; color: #C7A8FF; letter-spacing: 0.14em; text-transform: uppercase; }
.rs-a .art-cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.025em; margin: 14px 0 24px; color: #fff; line-height: 1.1; }
.rs-a .art-cta h2 em { font-family: "Inter Tight", serif; font-style: italic; font-weight: 500; color: #C7A8FF; }

/* Responsive */
@media (max-width: 960px) {
  .rs-a .blog-hero { padding: 64px 0 40px; }
  .rs-a .blog-hero h1 { font-size: clamp(36px, 9vw, 64px); }
  .rs-a .blog-hero p { font-size: 16px; }
  .rs-a .blog-featured { padding: 48px 0; }
  .rs-a .blog-featured .container { grid-template-columns: 1fr; gap: 32px; }
  .rs-a .blog-grid-section { padding: 48px 0 72px; }
  .rs-a .blog-grid-section .heading { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
  .rs-a .blog-grid-section .blog-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .rs-a .blog-newsletter { padding: 48px 0 72px; }
  .rs-a .blog-newsletter .wrap { padding: 36px 28px; border-radius: 20px; }
  .rs-a .blog-newsletter .inner { grid-template-columns: 1fr; gap: 24px; }

  .rs-a .art-body { padding: 48px 0 64px; }
  .rs-a .art-hero { padding: 56px 0 32px; }
  .rs-a .art-related { padding: 56px 0; }
  .rs-a .art-related .blog-grid { grid-template-columns: 1fr; }
  .rs-a .art-cta { padding: 56px 0 72px; }
  .rs-a .art-cta .wrap { padding: 44px 28px; border-radius: 20px; }
}
@media (max-width: 640px) {
  .rs-a .blog-grid-section .blog-grid { grid-template-columns: 1fr; }
  .rs-a .blog-filters .row { padding-bottom: 16px; overflow-x: auto; flex-wrap: nowrap; }
  .rs-a .blog-filters a,
  .rs-a .blog-filters button { flex: 0 0 auto; white-space: nowrap; }
  .rs-a .blog-newsletter form { flex-direction: column; padding: 12px; }
  .rs-a .blog-newsletter .btn-purple { justify-content: center; }
}

/* --- TOC sidebar sticky (single post) --- */
.rs-a .art-body--with-toc .container {
	display: grid;
	grid-template-columns: 260px minmax(0, 720px);
	gap: 56px;
	max-width: 1100px;
	align-items: start;
}
.rs-a .art-body--with-toc .prose { min-width: 0; }
/* Article TOC — stile coerente con .sv-toc delle pagine servizi */
.rs-a .art-toc {
	position: sticky;
	top: 100px;
	align-self: start;
	font-family: var(--rs-mono);
	font-size: 12px;
}
.rs-a .art-toc-inner { padding: 0; }
.rs-a .art-toc .lwptoc, .rs-a .art-toc .ez-toc-v2_0_73, .rs-a .art-toc div[id^="ez-toc"] {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
/* Neutralizza il theme "light" / "white" di LuckyWP che applica background grigio sul wrapper interno */
.rs-a .art-toc .lwptoc-light .lwptoc_i,
.rs-a .art-toc .lwptoc-white .lwptoc_i,
.rs-a .art-toc .lwptoc-transparent .lwptoc_i,
.rs-a .art-toc .lwptoc_i {
	background: transparent !important;
	color: inherit !important;
	padding: 0 !important;
	border: 0 !important;
}
.rs-a .art-toc .lwptoc-light .lwptoc_i a,
.rs-a .art-toc .lwptoc-light .lwptoc_i a:visited { color: var(--rs-ink-3) !important; }
.rs-a .art-toc .lwptoc_title, .rs-a .art-toc .ez-toc-title {
	font-family: var(--rs-mono) !important;
	font-size: 12px !important;
	text-transform: uppercase;
	color: var(--rs-ink-4) !important;
	letter-spacing: 0.12em;
	font-weight: 500 !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	border-bottom: 0 !important;
}
.rs-a .art-toc .lwptoc_toggle, .rs-a .art-toc .ez-toc-js-icon-con { display: none !important; }
.rs-a .art-toc .lwptoc_items, .rs-a .art-toc .ez-toc-list, .rs-a .art-toc ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}
.rs-a .art-toc .lwptoc_item, .rs-a .art-toc .ez-toc-list li, .rs-a .art-toc li {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	font-family: var(--rs-mono);
	font-size: 12px;
	line-height: 1.45;
}
.rs-a .art-toc ul ul { padding-left: 14px !important; border-left: 1px solid var(--rs-line); margin: 0 !important; }
/* Selettori con specificità extra per battere .lwptoc-notInherit del plugin */
.rs-a .art-toc .lwptoc-notInherit .lwptoc_i div a,
.rs-a .art-toc .lwptoc_i div a,
.rs-a .art-toc a {
	display: block !important;
	padding: 8px 0 8px 14px !important;
	margin-left: -15px !important;
	color: var(--rs-ink-3) !important;
	background: transparent !important;
	border: 0 !important;
	border-left: 1px solid var(--rs-line) !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: color 180ms, border-color 180ms !important;
	font-weight: 400 !important;
}
.rs-a .art-toc .lwptoc-notInherit .lwptoc_i div a:focus,
.rs-a .art-toc a:focus { outline: 0 !important; box-shadow: none !important; }
.rs-a .art-toc .lwptoc_item_number { color: var(--rs-ink-4) !important; margin-right: 8px !important; font-weight: 500 !important; }
/* Hover / active — specificità sufficiente a battere .lwptoc-light plugin hover */
.rs-a .art-toc .lwptoc-notInherit .lwptoc_i div a:hover,
.rs-a .art-toc .lwptoc-light .lwptoc_i div a:hover,
.rs-a .art-toc .lwptoc-white .lwptoc_i div a:hover,
.rs-a .art-toc .lwptoc-notInherit .lwptoc_i div a.active,
.rs-a .art-toc .lwptoc-light .lwptoc_i div a.active,
.rs-a .art-toc .lwptoc-white .lwptoc_i div a.active,
.rs-a .art-toc .lwptoc_i div a:hover,
.rs-a .art-toc .lwptoc_i div a.active,
.rs-a .art-toc a:hover,
.rs-a .art-toc a.active,
.rs-a .art-toc li.active > a,
.rs-a .art-toc .lwptoc_item.active > a { color: var(--rs-purple) !important; border-left-color: var(--rs-purple) !important; }
/* Label e numero ereditano il colore dal link (span interni) */
.rs-a .art-toc .lwptoc_i div a:hover .lwptoc_item_label,
.rs-a .art-toc .lwptoc_i div a:hover .lwptoc_item_number,
.rs-a .art-toc .lwptoc_i div a.active .lwptoc_item_label,
.rs-a .art-toc .lwptoc_i div a.active .lwptoc_item_number,
.rs-a .art-toc .lwptoc_item.active .lwptoc_item_label,
.rs-a .art-toc .lwptoc_item.active .lwptoc_item_number { color: var(--rs-purple) !important; }
.rs-a .art-toc .lwptoc_item_label { color: inherit !important; }

@media (max-width: 960px) {
	.rs-a .art-body--with-toc .container {
		grid-template-columns: 1fr;
		gap: 32px;
		max-width: 760px;
	}
	.rs-a .art-toc {
		position: static;
		padding: 20px 24px;
		background: var(--rs-bg-soft);
		border-radius: 14px;
	}
}

/* ====================================================================
 * FORCE BLOG GRID RESPONSIVE — placed at end of file so it wins cascade
 * over all earlier base rules. Covers every blog-grid variant:
 *   - .blog-grid-inner (shortcode home)
 *   - .rs-a .blog-grid (front-page)
 *   - .rs-a .blog-grid-section .blog-grid-inner (archive)
 *   - .rs-a .art-related .blog-grid-inner (single post related)
 * Target: 3 desktop → 2 tablet (<=960) → 1 mobile (<=640)
 * ==================================================================== */
@media (max-width: 960px) {
	.blog-grid-inner,
	.blog-grid:not(.wp-block-query),
	.rs-a .blog-grid,
	.rs-a .blog-grid-section .blog-grid,
	.rs-a .blog-grid-section .blog-grid-inner,
	.rs-a .art-related .blog-grid,
	.rs-a .art-related .blog-grid-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}
@media (max-width: 767px) {
	.blog-grid-inner,
	.blog-grid:not(.wp-block-query),
	.rs-a .blog-grid,
	.rs-a .blog-grid-section .blog-grid,
	.rs-a .blog-grid-section .blog-grid-inner,
	.rs-a .art-related .blog-grid,
	.rs-a .art-related .blog-grid-inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
