/* /solutions page: enhancement layer (CDN, linked in the page head after wgcp-vN.css).
   Hover states that need descendant selectors, aspect ratios, form states and icon sizes. */
.wgsl-panel-media { aspect-ratio: 1440 / 843; }
.wgsl-case-media { aspect-ratio: 16 / 9; }
.wgsl-title-arrow { width: 19px; height: 19px; flex: none; margin-left: 8px; color: #4935c8; vertical-align: -3px; transition: transform .18s ease; }
.wgsl-fam-link .wgsl-title-arrow { margin-left: 0; vertical-align: 0; }

/* Whole-card links (the site-wide link style is heavier than body copy) */
a.wgcp-card-wide, a.wgcp-card-small { font-weight: 400; }
a.wgcp-card-wide, a.wgcp-card-small { transition: background-color .18s ease; }
a.wgcp-card-wide:hover, a.wgcp-card-small:hover { background-color: #f3f4f7; }
a.wgcp-card-wide:hover .wgcp-card-title, a.wgcp-card-small:hover .wgcp-card-title,
.wgsl-case:hover .wgsl-case-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a.wgcp-card-wide:hover .wgsl-title-arrow, a.wgcp-card-small:hover .wgsl-title-arrow, .wgsl-fam-link:hover .wgsl-title-arrow { transform: translateX(3px); }
.wgsl-case-img { transition: transform .4s ease; }
.wgsl-case:hover .wgsl-case-img { transform: scale(1.02); }

/* Divider-list rows */
.wgsl-route:hover .wgsl-route-title, .wgsl-sol-link:hover .wgsl-sol-name, .wgsl-path-link:hover .wgsl-path-name { color: #4935c8; }
.wgsl-route:hover .wgsl-arrow, .wgsl-sol-link:hover .wgsl-arrow, .wgsl-path-link:hover .wgsl-arrow { border-color: #4935c8; background-color: #f4f2fb; }

/* Demo form */
.wgsl-input::placeholder { color: #6b6d82; }
.wgsl-input:focus { border-color: #4935c8; outline: none; box-shadow: 0 0 0 3px #ded5ff; }
.wgsl-form-block .w-form-done, .wgsl-form-block .w-form-fail { margin-top: 12px; border-radius: 8px; }

/* Single-pathway families sit side by side with their row */
.wgsl-fam-half .wgsl-path-list { margin-top: 0; }
.wgsl-fam-half .wgsl-fam-icon { margin-bottom: 14px; }
@media (max-width: 767px) { .wgsl-fam-half .wgsl-path-list { margin-top: 20px; } }

/* Chips inside the family cards sit in normal flow */
.wgsl-fam-ui .wgcp-nudge-chip { box-shadow: 0 3px 14px rgba(44, 45, 115, .06); }

/* 992 to 1279px: the chip panel would squeeze the family copy column */
@media (min-width: 992px) and (max-width: 1279px) {
  .wgsl-fam-top { grid-template-columns: minmax(0, 1fr); }
  .wgsl-fam-ui { display: none; }
}
/* 768 to 1100px: compact hero chips so they stay on the ring without colliding */
@media (min-width: 768px) and (max-width: 1100px) {
  .wgcp-page .wgcp-chip { width: max-content; min-width: 0; min-height: 0; gap: 6px; padding: 9px 10px; }
  .wgcp-page .wgcp-chip-icon { width: 30px; height: 30px; border-radius: 9px; }
  .wgcp-page .wgcp-chip-label { font-size: 13px; }
  .wgcp-page .wgcp-chip-sub { display: none; }
}

@media (max-width: 767px) {
  .wgsl-routes .wgsl-arrow, .wgsl-path-list .wgsl-arrow { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .wgsl-case-img, .wgsl-title-arrow { transition: none; }
}
