/* Site-wide visual blocks (2026-11-16). Generalised from about-visual.css.
   Use with <Icon name="..."/> from src/components/icons.tsx.
   Blocks: .vb-tiles (icon tiles), .vb-cards (numbered icon cards), .vb-photos (photo cards),
   .vb-flow (horizontal step flow), .vb-ilist (compact icon list for split columns),
   .vb-compare (two-column yes / no cards). */
.vb-ic { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vb-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background-color: #13263f; color: #e6c66e; flex-shrink: 0; }
.vb-badge--sm { width: 40px; height: 40px; border-radius: 11px; }
.vb-badge--sm .vb-ic { width: 21px; height: 21px; }

/* Icon tiles */
.vb-tiles { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.vb-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.vb-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.vb-tiles > li { background-color: #ffffff; border-radius: 16px; padding: 1.6rem; box-shadow: 0 6px 20px rgba(19, 38, 63, 0.07); display: grid; gap: 0.5rem; align-content: start; }
.vb-tiles > li .vb-badge { margin-bottom: 0.5rem; }
.vb-tiles strong { font-size: 1.12rem; color: #13263f; line-height: 1.35; }
.vb-tiles > li > span:not(.vb-badge) { color: #3a4556; line-height: 1.6; }

/* Numbered icon cards */
.vb-cards { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.vb-cards--2 { grid-template-columns: repeat(2, 1fr); }
.vb-cards--4 { grid-template-columns: repeat(4, 1fr); }
.vb-cards > li { background-color: #ffffff; border-radius: 16px; padding: 1.4rem; display: grid; gap: 0.55rem; align-content: start; border-top: 4px solid #c9a84c; box-shadow: 0 6px 20px rgba(19, 38, 63, 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.vb-cards > li:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(19, 38, 63, 0.12); }
.vb-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.vb-cards .vb-badge { width: 46px; height: 46px; border-radius: 12px; }
.vb-num { font-size: 1.6rem; font-weight: 700; color: #a07c30; opacity: 0.55; }
.vb-cards strong { color: #13263f; font-size: 1.05rem; line-height: 1.35; }
.vb-cards > li > span:last-child { color: #3a4556; line-height: 1.55; font-size: 0.95rem; }
.vb-cards > li.vb-cta { background-color: #13263f; border-top-color: #e6c66e; }
.vb-cards > li.vb-cta strong { color: #ffffff; font-size: 1.2rem; }
.vb-cards > li.vb-cta span { color: rgba(255, 255, 255, 0.85); }
.vb-cta a { color: #e6c66e; font-weight: 700; margin-top: 0.4rem; text-decoration: none; }
.vb-cta a:hover { color: #ffffff; }

/* Photo cards */
.vb-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.25rem; }
.vb-photos--2 { grid-template-columns: repeat(2, 1fr); }
.vb-photo { background-color: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(19, 38, 63, 0.08); display: flex; flex-direction: column; }
.vb-photo figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.vb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vb-photo > div { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: 0.45rem; border-top: 4px solid #c9a84c; }
.vb-photo strong { color: #13263f; font-size: 1.1rem; }
.vb-photo span { color: #3a4556; line-height: 1.55; }

/* Horizontal step flow */
.vb-flow { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 1.25rem; counter-reset: vbf; position: relative; }
.vb-flow > li { counter-increment: vbf; position: relative; display: grid; gap: 0.5rem; align-content: start; text-align: center; justify-items: center; }
.vb-flow > li::before { content: counter(vbf); width: 2.6rem; height: 2.6rem; border-radius: 50%; background-color: #c9a84c; color: #13263f; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.18); }
.vb-flow > li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; left: calc(50% + 1.6rem); right: calc(-50% + 1rem); height: 2px; background: repeating-linear-gradient(90deg, #c9a84c 0 8px, transparent 8px 14px); }
.vb-flow .vb-badge { margin-top: 0.6rem; }
.vb-flow strong { color: #13263f; font-size: 1.05rem; line-height: 1.35; margin-top: 0.3rem; }
.vb-flow > li > span:not(.vb-badge) { color: #3a4556; line-height: 1.55; font-size: 0.95rem; max-width: 26ch; }

/* Compact icon list (inside a .px-split column) */
.vb-ilist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.85rem; }
.vb-ilist > li { display: grid; grid-template-columns: auto 1fr; gap: 0.95rem; align-items: start; background-color: rgba(255, 255, 255, 0.75); border-radius: 14px; padding: 0.95rem 1.05rem; }
.vb-ilist > li > div { display: grid; gap: 0.2rem; line-height: 1.55; }
.vb-ilist strong { color: #13263f; }
.vb-ilist > li > div > span { color: #3a4556; }

/* Two-column compare */
.vb-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; }
.vb-compare > div { background-color: #ffffff; border-radius: 16px; padding: 1.6rem 1.7rem; box-shadow: 0 6px 20px rgba(19, 38, 63, 0.07); border-top: 4px solid #2f5d4e; }
.vb-compare > div.vb-no { border-top-color: #b5523b; }
.vb-compare h3 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.15rem; margin: 0 0 1rem; color: #13263f; }
.vb-compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.vb-compare li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; line-height: 1.55; color: #3a4556; }
.vb-compare li::before { content: "\2713"; color: #2f5d4e; font-weight: 700; }
.vb-compare .vb-no li::before { content: "\2715"; color: #b5523b; }

/* Dark sections */
.px-tone-forest .vb-badge, .px-tone-slate .vb-badge, .px-tone-rust .vb-badge, .bg-navy .vb-badge { background-color: rgba(255, 255, 255, 0.1); color: #e6c66e; }
.px-tone-forest .vb-tiles > li, .px-tone-slate .vb-tiles > li, .px-tone-rust .vb-tiles > li,
.px-tone-forest .vb-cards > li, .px-tone-slate .vb-cards > li, .px-tone-rust .vb-cards > li { background-color: rgba(255, 255, 255, 0.07); box-shadow: none; }
.px-tone-forest .vb-tiles strong, .px-tone-slate .vb-tiles strong, .px-tone-rust .vb-tiles strong,
.px-tone-forest .vb-cards strong, .px-tone-slate .vb-cards strong, .px-tone-rust .vb-cards strong,
.px-tone-forest .vb-flow strong, .px-tone-slate .vb-flow strong, .px-tone-rust .vb-flow strong { color: #ffffff; }
.px-tone-forest .vb-tiles > li > span:not(.vb-badge), .px-tone-slate .vb-tiles > li > span:not(.vb-badge), .px-tone-rust .vb-tiles > li > span:not(.vb-badge),
.px-tone-forest .vb-cards > li > span:last-child, .px-tone-slate .vb-cards > li > span:last-child, .px-tone-rust .vb-cards > li > span:last-child,
.px-tone-forest .vb-flow > li > span:not(.vb-badge), .px-tone-slate .vb-flow > li > span:not(.vb-badge), .px-tone-rust .vb-flow > li > span:not(.vb-badge) { color: rgba(255, 255, 255, 0.85); }
.px-tone-forest .vb-num, .px-tone-slate .vb-num, .px-tone-rust .vb-num { color: #e6c66e; }

@media (max-width: 1000px) {
  .vb-cards--4, .vb-tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .vb-cards, .vb-tiles { grid-template-columns: repeat(2, 1fr); }
  .vb-flow { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .vb-flow > li::after { display: none; }
}
@media (max-width: 760px) {
  .vb-tiles, .vb-tiles--2, .vb-tiles--4, .vb-cards, .vb-cards--2, .vb-cards--4, .vb-photos, .vb-photos--2, .vb-compare, .vb-flow { grid-template-columns: 1fr; }
  .vb-flow > li { text-align: left; justify-items: start; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .vb-flow > li::before { grid-row: span 3; }
  .vb-flow > li > * { grid-column: 2; }
  .vb-flow .vb-badge { display: none; }
}
