
/* RM SHOP V2 — 2026-10-16. Native Gutenberg; no article URLs or data images in CSS. */
.rm-rbs-feed .rm-rbs-review-label:after{content:"GUIDA";}
.rm-rbs{max-width:1120px;width:100%;margin:22px auto 0;color:#102744}
.rm-rbs *{box-sizing:border-box}
.rm-rbs a{text-decoration:none!important}
.rm-rbs-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px;margin:0 0 17px}
.rm-rbs-head h2{font-size:26px!important;line-height:1.2!important;font-weight:800!important;margin:0!important;color:#102744!important}
.rm-rbs-head>a{font-size:13px;color:#075cba;font-weight:800}
.rm-rbs-bento{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.16fr);gap:14px}
.rm-rbs-hero{position:relative;isolation:isolate;overflow:hidden;min-height:355px;background:#e7f2ff;border:1px solid #e0eaf2;border-radius:17px;display:flex;align-items:stretch}
.rm-rbs-hero-visual{position:absolute;z-index:-1;right:0;top:0;width:53%;height:100%;background-position:center;background-size:contain;background-repeat:no-repeat}
.rm-rbs-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#e8f3ff 0%,#e8f3ff 43%,rgba(232,243,255,.14) 57%,transparent 69%)}
.rm-rbs-hero-copy{display:flex;width:51%;padding:24px 2px 23px 23px;flex-direction:column;justify-content:space-between;gap:18px;align-items:flex-start}
.rm-rbs-tag{font-size:10.5px;line-height:1.3;color:#075ba6;font-weight:800;letter-spacing:.08em}
.rm-rbs-hero-title{display:block;font-size:27px;line-height:1.13;letter-spacing:-.022em;color:#0e2946;font-weight:800}
.rm-rbs-hero-sub{display:block;margin-top:9px;font-size:13px;line-height:1.45;color:#3a5a79}
.rm-rbs-cta{display:inline-block;padding:11px 14px;background:#095fe8;color:white;border-radius:9px;font-size:12px;font-weight:800}
.rm-rbs-minis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.rm-rbs-mini{display:flex;position:relative;isolation:isolate;overflow:hidden;min-height:170px;border:1px solid #e6eaef;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(13,48,83,.045)}
.rm-rbs-mini-visual{position:absolute;right:0;top:0;height:100%;width:48%;z-index:-1;background-size:contain;background-position:center right;background-repeat:no-repeat}
.rm-rbs-mini:before{content:"";inset:0;position:absolute;z-index:-1;background:linear-gradient(90deg,#fff 0%,#fff 42%,rgba(255,255,255,.15) 53%,transparent 60%)}
.rm-rbs-mini-copy{display:flex;min-width:0;width:57%;padding:15px 0 15px 16px;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:7px}
.rm-rbs-mini-kicker{font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.05em;color:#a75e31}
.rm-rbs-mini-title{font-size:16px;line-height:1.24;color:#0e2946;font-weight:800}
.rm-rbs-mini-cta{font-size:12px;line-height:1.3;font-weight:800;color:#0861b6}

/* RM_REVIEWS_30704_COMPACT - SOLO BOZZA */
body.page-id-30704 .rm-rbs-review-head{max-width:1120px;margin:30px auto 14px;padding-bottom:12px;border-bottom:1px solid #dce5ed}
body.page-id-30704 .rm-rbs-review-head h2{font-size:24px!important;font-weight:800!important;color:#102744!important;margin:0!important}
body.page-id-30704 .rm-rbs-review-head p{font-size:13px;color:#5c728a;margin:6px 0 0!important}
body.page-id-30704 .rm-rbs-feed{max-width:1120px;margin:0 auto 28px}
body.page-id-30704 .rm-rbs-feed .wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;list-style:none!important;padding:0!important;margin:0!important}
body.page-id-30704 .rm-rbs-feed .wp-block-post-template>li{display:flex!important;min-width:0!important;padding:0!important;margin:0!important;list-style:none!important}
body.page-id-30704 .rm-rbs-feed .rm-rbs-review-card{display:flex!important;align-items:center!important;justify-content:space-between!important;position:relative!important;gap:12px!important;width:100%!important;height:100%!important;min-height:90px!important;padding:14px 54px 14px 16px!important;margin:0!important;background:#fff!important;border:1px solid #dce6f0!important;border-radius:13px!important;box-shadow:0 1px 3px rgba(16,48,78,.04)!important;box-sizing:border-box!important}
body.page-id-30704 .rm-rbs-feed .rm-rbs-review-body{flex:1;min-width:0}
body.page-id-30704 .rm-rbs-feed .wp-block-post-title{font-size:16px!important;line-height:1.35!important;font-weight:750!important;margin:0!important}
body.page-id-30704 .rm-rbs-feed .wp-block-post-title a{display:block;font-size:16px!important;line-height:1.35!important;font-weight:750!important;color:#245bd1!important;text-decoration:none!important}
body.page-id-30704 .rm-rbs-feed .rm-rbs-review-arrow{position:absolute!important;right:16px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;border:1px solid #d5e5f5;border-radius:50%;background:#f2f7fc;color:#2165a1;font-size:14px}
body.page-id-30704 .rm-rbs-feed .rm-rbs-review-card:hover{border-color:#bcd2e8!important;box-shadow:0 5px 17px rgba(16,48,78,.08)!important}
@media(max-width:960px){body.page-id-30704 .rm-rbs-feed .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.page-id-30704 .rm-rbs-feed .wp-block-post-template{grid-template-columns:1fr!important;gap:10px!important}body.page-id-30704 .rm-rbs-feed .rm-rbs-review-card{min-height:82px!important;padding:13px 52px 13px 15px!important}}
@media(max-width:960px){.rm-rbs-bento{grid-template-columns:1fr}.rm-rbs-hero,.rm-rbs-hero-copy{min-height:330px}.rm-rbs-feed .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.rm-rbs{margin-top:16px}.rm-rbs-head h2,.rm-rbs-review-head h2{font-size:22px!important}.rm-rbs-hero,.rm-rbs-hero-copy{min-height:270px}.rm-rbs-hero-copy{width:53%;padding:16px 4px 16px 14px}.rm-rbs-hero-visual{width:49%}.rm-rbs-hero-title{font-size:22px}.rm-rbs-hero-sub{font-size:11px}.rm-rbs-cta{font-size:10px;padding:9px 8px}.rm-rbs-minis{gap:9px}.rm-rbs-mini{display:flex;flex-direction:column;min-height:0}.rm-rbs-mini:before{display:none}.rm-rbs-mini-visual{position:relative;order:-1;width:100%;height:101px;background-position:center;background-size:contain;flex:0 0 101px}.rm-rbs-mini-copy{width:100%;padding:10px;min-height:116px}.rm-rbs-mini-title{font-size:13px}.rm-rbs-mini-cta{font-size:10px}.rm-rbs-feed .wp-block-post-template{grid-template-columns:1fr!important}.rm-rbs-feed .rm-rbs-review-card{min-height:90px}.rm-rbs-feed .rm-rbs-review-thumb{width:74px;height:74px;flex-basis:74px}}


/* Fixed, selectable editorial visuals: image files are standalone, not data URIs */
.rm-rbs-mac .rm-rbs-hero-visual{background-image:url('./shop-images/mac-mini.webp')}
.rm-rbs-coffee .rm-rbs-mini-visual{background-image:url('./shop-images/macchine-caffe.webp')}
.rm-rbs-tread .rm-rbs-mini-visual{background-image:url('./shop-images/tapis-roulant.webp')}
.rm-rbs-phone .rm-rbs-mini-visual{background-image:url('./shop-images/smartphone.webp')}
.rm-rbs-tablet .rm-rbs-mini-visual{background-image:url('./shop-images/tablet.webp')}
/* Dynamic review cover rendered by core/post-featured-image */
.rm-rbs-feed .rm-rbs-review-featured{flex:0 0 84px!important;width:84px!important;height:84px!important;margin:0!important;min-width:0;overflow:hidden;align-self:center;border-radius:9px;background:#f2f6fa}
.rm-rbs-feed .rm-rbs-review-featured a{display:block;width:100%;height:100%}
.rm-rbs-feed .rm-rbs-review-featured img{display:block;width:100%!important;height:100%!important;object-fit:contain!important}
/* Neutral no-photo fallback: never presents an unrelated product image */
.rm-rbs-feed .rm-rbs-review-thumb{position:relative;display:grid;place-items:center;color:#8ba2b6;font-size:10px;letter-spacing:.07em;font-weight:800}
.rm-rbs-feed .rm-rbs-review-thumb:after{content:'GUIDA';}
.rm-rbs-feed .rm-rbs-review-card:has(.rm-rbs-review-featured img) .rm-rbs-review-thumb{display:none!important}
.rm-rbs-feed .rm-rbs-review-card{align-items:center!important}
.rm-rbs-feed .rm-rbs-review-label:after{content:'GUIDA'}
.rm-rbs-feed .wp-block-post-template>li{min-width:0!important}
@media(max-width:600px){
 .rm-rbs-mini{isolation:isolate}
 .rm-rbs-mini-visual{height:112px;flex-basis:112px;background-size:contain!important}
 .rm-rbs-mini-copy{padding:10px 11px 12px;min-height:112px;gap:8px}
 .rm-rbs-mini-kicker{position:absolute;top:8px;left:8px;z-index:3;background:rgba(255,255,255,.95);padding:5px 7px;border:1px solid rgba(216,227,237,.9);border-radius:5px;box-shadow:0 1px 5px rgba(35,59,92,.04)}
 .rm-rbs-mini-title{font-size:13px!important;line-height:1.24!important}
 .rm-rbs-mini-cta{font-size:11px!important}
 .rm-rbs-feed .rm-rbs-review-featured{width:74px!important;height:74px!important;flex-basis:74px!important}
 .rm-rbs-review-head{margin-top:26px}
 .rm-rbs-review-card{gap:10px}
}
@media(max-width:380px){
 .rm-rbs-mini-title{font-size:12px!important}
 .rm-rbs-mini-copy{padding:10px 8px}
 .rm-rbs-head h2{font-size:20px!important}
 .rm-rbs-hero-title{font-size:20px!important}
}

/* Narrow mobile: avoid copy/image collision in hero. */
@media(max-width:600px){
 .rm-rbs-hero{display:flex;flex-direction:column;min-height:0}
 .rm-rbs-hero:before{display:none}
 .rm-rbs-hero-visual{position:relative;z-index:0;order:-1;width:100%;height:178px;min-height:178px;background-position:center;background-size:contain;background-color:#e8f3ff}
 .rm-rbs-hero-copy{order:1;width:100%;min-height:165px;padding:14px 17px 16px;gap:11px;background:#e7f2ff}
 .rm-rbs-hero-title{font-size:22px!important;line-height:1.12!important}
 .rm-rbs-hero-sub{font-size:12px!important;line-height:1.3}
 .rm-rbs-cta{font-size:11px!important;padding:9px 13px}
}


/* RM_HERO_COMPACT_30704 - SOLO ANTEPRIMA BOZZA */
body.page-id-30704 article.page > .entry-header,
body.page-id-30704 .entry-header:has(> h1.entry-title),
body.page-id-30704 h1.entry-title,
body.page-id-30704 h1.page-title,
body.page-id-30704 h1.wp-block-post-title{
 display:none!important;
}
body.page-id-30704 .rm-v3-hero-compact{
 max-width:1120px;width:100%;box-sizing:border-box;
 margin:8px auto 14px;display:flex;flex-wrap:wrap;
 align-items:stretch;gap:28px;
}
body.page-id-30704 .rm-v3-hero-compact-copy{
 flex:1.15 1 460px;min-width:0;padding:9px 0;
 display:flex;flex-direction:column;justify-content:center;
}
body.page-id-30704 .rm-v3-hero-compact-eyebrow{
 font-size:11px!important;letter-spacing:.08em;
 font-weight:800!important;text-transform:uppercase;
 color:#245bd2!important;margin:0 0 12px!important;
}
body.page-id-30704 .rm-v3-hero-compact-copy h1{
 font-size:clamp(34px,3.6vw,47px)!important;
 line-height:1.08!important;letter-spacing:-.035em;
 font-weight:850!important;color:#141920!important;
 margin:0 0 14px!important;
}
body.page-id-30704 .rm-v3-hero-compact-description{
 font-size:15px!important;line-height:1.5!important;
 color:#526479!important;margin:0 0 19px!important;
}
body.page-id-30704 .rm-v3-hero-compact-actions{
 display:flex;gap:10px;flex-wrap:wrap;
}
body.page-id-30704 .rm-v3-hero-compact-actions a{
 display:inline-flex;align-items:center;justify-content:center;
 padding:11px 15px;border-radius:8px;
 border:1px solid #2458d6;background:#2458d6;
 color:white!important;text-decoration:none!important;
 font-size:13px!important;font-weight:800!important;
}
body.page-id-30704 .rm-v3-hero-compact-actions a:last-child{
 background:white;color:#2458d6!important;
}
body.page-id-30704 .rm-v3-hero-compact-panel{
 flex:1 1 355px;min-width:0;min-height:255px;
 box-sizing:border-box;padding:23px 27px;
 border-radius:19px;color:white;
 background:radial-gradient(ellipse at 85% 10%,#254b91,#17356a 65%);
 display:flex;flex-direction:column;justify-content:space-between;
}
body.page-id-30704 .rm-v3-hero-compact-brand{
 display:flex;justify-content:space-between;align-items:center;
 color:#a9c0e0;font-size:11px;font-weight:750;
}
body.page-id-30704 .rm-v3-hero-compact-brand span:last-child{
 display:grid;place-items:center;width:35px;height:35px;
 border:1px solid #6380b0;border-radius:9px;
 color:white;font-size:13px;font-weight:850;
}
body.page-id-30704 .rm-v3-hero-compact-panel-bottom p{
 color:white!important;font-size:clamp(27px,3vw,36px)!important;
 line-height:1.07!important;letter-spacing:-.03em;
 font-weight:850!important;max-width:330px;margin:0 0 19px!important;
}
body.page-id-30704 .rm-v3-hero-compact-lines{
 display:flex;gap:6px;
}
body.page-id-30704 .rm-v3-hero-compact-lines span{
 height:4px;border-radius:8px;background:#fff;width:35%;
}
body.page-id-30704 .rm-v3-hero-compact-lines span:nth-child(2){
 width:18%;background:#9cb7df;
}
body.page-id-30704 .rm-v3-hero-compact-lines span:nth-child(3){
 width:10%;background:#5f7fac;
}
@media(max-width:700px){
 body.page-id-30704 .rm-v3-hero-compact{gap:16px}
 body.page-id-30704 .rm-v3-hero-compact-copy h1{font-size:35px!important}
 body.page-id-30704 .rm-v3-hero-compact-panel{
  min-height:190px;padding:20px 22px;
 }
}

body.page-id-30704 .rm-v3-feed .wp-block-post-title a{color:#245bd1!important;text-decoration:none!important}


/* RM_HOME_30704_COMPACT_LINKS_20261025 — corregge titoli Gutenberg troppo grandi, SOLO home V3. */
body.page-id-30704 .rm-v3-feed .wp-block-post-title,
body.page-id-30704 .rm-v3-feed .wp-block-post-title a {
  font-size:15px!important;
  line-height:1.4!important;
  font-weight:650!important;
  letter-spacing:normal!important;
  margin:0!important;
  text-decoration:none!important;
}
body.page-id-30704 .rm-v3-feed .wp-block-post-template {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px 30px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.page-id-30704 .rm-v3-feed .wp-block-post-template > li {margin:0!important;min-width:0!important;list-style:none!important}
@media(max-width:820px){body.page-id-30704 .rm-v3-feed .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 22px!important}}
@media(max-width:560px){body.page-id-30704 .rm-v3-feed .wp-block-post-template{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}}


/* RM_HOME_30704_ALIGNED_STATIC_LINKS_20261025
   Le 4 griglie di link editoriali fissi adottano le stesse colonne e spaziature delle query dinamiche. */
body.page-id-30704 div[style*="grid-template-columns:repeat(auto-fit,minmax(300px,1fr))"][style*="gap:36px 60px"] {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:30px!important;
  row-gap:20px!important;
  margin-top:0!important;
  margin-bottom:26px!important;
}
@media(max-width:820px){
  body.page-id-30704 div[style*="grid-template-columns:repeat(auto-fit,minmax(300px,1fr))"][style*="gap:36px 60px"]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:22px!important;
    row-gap:16px!important;
  }
}
@media(max-width:560px){
  body.page-id-30704 div[style*="grid-template-columns:repeat(auto-fit,minmax(300px,1fr))"][style*="gap:36px 60px"]{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:12px!important;
  }
}
