/* ============================================================
   Icon + text feature item (2026-10-21 review, items 1-04, 1-05, 1-09).

   The one design for any block that shows an icon, a short title and a line or two of text:
   a line icon inside a soft coloured circle on the left, a bold navy title, muted body text.
   Reference: the landing page trust strip. Use the same markup everywhere:

     <div class="rw-feature">                       (or <a class="rw-feature rw-feature--link">)
       <span class="rw-feature__icon rw-feature__icon--blue" aria-hidden="true"><i class="bi bi-..."></i></span>
       <span class="rw-feature__body">
         <span class="rw-feature__title">Title</span>
         <span class="rw-feature__text">One or two short lines.</span>
       </span>
     </div>

   Icons come from Bootstrap Icons, so the page must load bootstrap-icons.min.css.
   ============================================================ */

.rw-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #101828;
  text-align: left;
}

.rw-feature__icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}

.rw-feature__icon--blue     { background: #e3eeff; color: #1d5fd1; }
.rw-feature__icon--mint     { background: #dcf3e9; color: #00255e; }
.rw-feature__icon--yellow   { background: #fff1c2; color: #00255e; }
.rw-feature__icon--lavender { background: #e9e5ff; color: #4338ca; }
.rw-feature__icon--green    { background: #dff3e7; color: #006b38; }
.rw-feature__icon--rose     { background: #ffe4e6; color: #be123c; }

.rw-feature__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.rw-feature__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #00255e;
}

.rw-feature__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #475467;
}

/* Clickable variant: the whole item is the link, with a 44px minimum target. */
.rw-feature--link {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .12s ease;
}
.rw-feature--link:hover { background: #f1f6fd; }
.rw-feature--link:hover .rw-feature__title { text-decoration: underline; text-underline-offset: 3px; }
.rw-feature--link:focus-visible { outline: 3px solid #0072ce; outline-offset: 2px; background: #f1f6fd; }

@media (prefers-reduced-motion: reduce) {
  .rw-feature--link { transition: none; }
}
