/* ==========================================================================
   Quotation Formats — 06 Benefits
   Paste into the block's WP Coder shortcode (CSS tab), or WPCode > CSS Snippet.
   Fully scoped to .vyq-benefits — safe to load on any page, in any order.
   ========================================================================== */

/* --- Design tokens (scoped: they never leak to the rest of the page) ------ */
.vyq-benefits {
  --vyq-primary: #ED1A3B !important;
  --vyq-primary-light: #FDECEF !important;
  --vyq-text: #1F2937 !important;
  --vyq-text-light: #6B7280 !important;
  --vyq-bg-soft: #FAFAFA !important;
  --vyq-border-light: #F3F4F6 !important;
  --vyq-white: #FFFFFF !important;
  --vyq-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  --vyq-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* --- Base ----------------------------------------------------------------- */
.vyq-benefits,
.vyq-benefits * {
  box-sizing: border-box !important;
  /* Reset only has to beat the theme defaults. Equal specificity to the
     rules below, so it must stay first in the file — they re-apply the
     spacing this block actually wants. */
  margin: 0 !important;
  padding: 0 !important;
}

/* --- Classic-theme group wrapper ------------------------------------------
   On a classic theme (Sydney), WordPress wraps every group block's children in
   an extra .wp-block-group__inner-container div at render time — it is not in
   the pasted markup. That wrapper would be the only child of our grid/flex
   containers, so every layout below would collapse to one column.
   display: contents takes it out of the layout without removing it. */
.vyq-benefits .wp-block-group__inner-container {
  display: contents !important;
}

.vyq-benefits {
  font-family: var(--vyq-font) !important;
  color: var(--vyq-text) !important;
  line-height: 1.6 !important;
  background: var(--vyq-bg-soft) !important;
  padding: 56px 0 !important;
}

.vyq-benefits-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* --- Section head --------------------------------------------------------- */
.vyq-benefits-head {
  text-align: center !important;
  margin-bottom: 36px !important;
}

.vyq-benefits-eyebrow {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--vyq-primary) !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  margin-bottom: 8px !important;
}

.vyq-benefits-title {
  font-family: var(--vyq-font) !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--vyq-text) !important;
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
}

/* --- Cards ---------------------------------------------------------------- */
.vyq-benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.vyq-benefits-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  background: var(--vyq-white) !important;
  border: 1px solid var(--vyq-border-light) !important;
  border-radius: 10px !important;
  padding: 20px !important;
  transition: all 0.2s ease !important;
}

.vyq-benefits-item:hover {
  border-color: var(--vyq-primary-light) !important;
  box-shadow: var(--vyq-shadow-sm) !important;
}

/* Tick icon as a data URI so each card's markup stays plain text for editors */
.vyq-benefits-item::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ED1A3B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z'/%3E%3C/svg%3E") !important;
  display: inline-block !important;
  width: 22px !important;
  height: 22px !important;
  line-height: 0 !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.vyq-benefits-body {
  min-width: 0 !important;
}

.vyq-benefits-item-title {
  font-family: var(--vyq-font) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--vyq-text) !important;
  margin-bottom: 3px !important;
}

.vyq-benefits-item-text {
  font-size: 13px !important;
  color: var(--vyq-text-light) !important;
  line-height: 1.55 !important;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 640px) {
  .vyq-benefits {
    padding: 36px 0 !important;
  }
  .vyq-benefits-inner {
    padding: 0 16px !important;
  }
  .vyq-benefits-title {
    font-size: 22px !important;
  }
  .vyq-benefits-grid {
    grid-template-columns: 1fr !important;
  }
}
