/* =========================================================================
   Pearl Island — Ways / Route Cards ("Three Ways to the Dock")
   A grid of cards, each with an emoji icon, a title and a numbered step
   list (circle badges), plus an optional warning band. Classes prefixed
   .piw- and scoped under .pi-widget; colors reuse the brand tokens.
   ========================================================================= */
.pi-widget .piw { }

.pi-widget .piw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 820px) { .pi-widget .piw-grid { grid-template-columns: 1fr; } }

.pi-widget .piw-card {
  background: var(--piw-card-bg, #fff);
  border: 1px solid rgba(59, 95, 95, .1);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 14px rgba(30, 36, 48, .06);
}

.pi-widget .piw-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: rgba(119, 195, 219, .16);
  margin-bottom: 14px;
}

.pi-widget .piw-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--pi-heading, var(--smaragd, #3B5F5F));
}

.pi-widget .piw-steps {
  list-style: none;
  counter-reset: w;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.pi-widget .piw-steps li {
  position: relative;
  padding-left: 34px;
  font-size: .92rem;
  color: #33404a;
  font-weight: 600;
  line-height: 1.4;
  counter-increment: w;
}
.pi-widget .piw-steps li::before {
  content: counter(w);
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--piw-badge, var(--smaragd, #3B5F5F));
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.pi-widget .piw-steps li b,
.pi-widget .piw-steps li strong { color: var(--smaragd, #3B5F5F); }

/* Warning band */
.pi-widget .piw-warn {
  max-width: 960px;
  margin: 26px auto 0;
  background: rgba(238, 114, 102, .08);
  border: 1.5px solid rgba(238, 114, 102, .3);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pi-widget .piw-warn .piw-warn-ic { font-size: 1.4rem; line-height: 1; flex: none; }
.pi-widget .piw-warn p { color: #8f4038; font-weight: 600; font-size: .92rem; margin: 0; }
.pi-widget .piw-warn p b, .pi-widget .piw-warn p strong { color: #b8463b; }
