/* RubionCMS product page. Builds on PublicHome.css (sections, eyebrow, rule lists, inverted band); only page-specific parts live here. */
.rb-product [hidden] { display: none; }

/* Editor screenshot next to the hero copy. */
.rb-product__shot { margin: 0; min-width: 0; }
.rb-product__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rb-border); border-radius: var(--rb-radius-lg); box-shadow: var(--rb-shadow-lg); }
.rb-product__shot figcaption { margin-top: 12px; color: var(--rb-muted); font-size: .875rem; }
.rb-product__shot-fallback { display: grid; place-items: center; min-height: 240px; padding: 24px; border-radius: var(--rb-radius-lg); background: var(--rb-surface-soft); text-align: center; }

/* Module groups in the inverted band: three columns instead of the four-step timeline. */
.rb-home .rb-product__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-product__module-links { display: grid; margin: 12px 0 0; padding: 0; list-style: none; }
.rb-home .rb-product__module-links a { min-height: 44px; margin-top: 0; }
.rb-home .rb-product__light-link { color: var(--rb-bg); }
.rb-home .rb-product__light-link:focus-visible { outline-color: var(--rb-bg); }

/* Included in every tariff / from Standard: two rule lists side by side. */
.rb-product__included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 6vw, 96px); }
.rb-product__included h3 { margin-bottom: 16px; }

.rb-home .rb-product__inline-link { color: var(--rb-text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.rb-product__inline-link:focus-visible { outline: 2px solid var(--rb-focus); outline-offset: 3px; }

@media (max-width: 959px) {
  .rb-home .rb-product__groups, .rb-product__included { grid-template-columns: 1fr; }
}
@container rb-home-section (max-width: 959px) {
  .rb-home .rb-product__groups, .rb-product__included { grid-template-columns: 1fr; }
}
