/* industries-a ext: values copied from rw-page.css tokens (ink, body, fill, shadow, radius 20) */
.rwx-card { text-decoration: none; }
.rwx-card--link { transition: transform 160ms ease-out; }
.rwx-card--link:hover { transform: translateY(-2px); }
.rwx-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font: 500 16px/20.8px var(--sans); color: var(--ink); }
.rwx-go svg { width: 18px; height: 18px; }
.rwx-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.rwx-chips li { padding: 6px 12px; border-radius: 10px; background: var(--fill); color: var(--ink); font: 400 14px/18.2px var(--sans); }
.rwx-also { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.rwx-also b { font: 500 16px/20.8px var(--sans); color: var(--ink); }
.rwx-note { max-width: 820px; margin: 24px auto 0; text-align: center; font: 400 16px/22.4px var(--sans); color: var(--body); }
.rwx-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font: 400 14px/18.2px var(--sans); color: var(--body); text-decoration: underline; text-underline-offset: 3px; }
.rwx-src svg { width: 14px; height: 14px; }
.rwx-stat b { overflow-wrap: anywhere; }
.rwx-srcs { list-style: decimal; max-width: 820px; margin: 0 auto; padding-left: 24px; display: flex; flex-direction: column; gap: 10px; font: 400 16px/22.4px var(--sans); color: var(--body); }
.rwx-srcs a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1199px) { .rwx-links.rwp-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .rwx-links.rwp-grid--3 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rwx-card--link { transition: none; } .rwx-card--link:hover { transform: none; } }
/* live industry titles are longer than the barbershop one: let hero lines wrap instead of clipping */
.rhv h1 .rw-line, .rwp-hero h1 .rw-line { white-space: normal !important; }
.rhv-split h1 .rw-line { display: inline !important; }
.rhv-split h1 .rw-line + .rw-line::before { content: " "; }

/* Hamza 12/2: industry link cards show the same industry icon as the directory */
.rwx-card__ico { display: flex; width: 40px; height: 40px; margin-bottom: 18px; }
.rwx-card__ico svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 809.98px) { .rwx-card__ico { width: 34px; height: 34px; margin-bottom: 14px; } }

/* Comparison table, one design site-wide (Hamza 12/3 round 6). COPY of the .svc-cmp rules in services.css (service pages); keep the two in step. */
.rwp .svc-note { margin-top: 24px; font: 400 14px/18.2px var(--sans); color: var(--body); }
.rwp .svc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rwp .svc-cmp { overflow-x: auto; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.rwp .svc-cmp:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rwp .svc-cmp table { width: 100%; min-width: 640px; border-collapse: collapse; font: 400 16px/20.8px var(--sans); color: var(--body); }
.rwp .svc-cmp th, .rwp .svc-cmp td { padding: 18px 24px; text-align: center; border-top: 1px solid rgba(19, 21, 21, .08); }
.rwp .svc-cmp thead th { border-top: 0; font: 500 18px/23.4px var(--head); color: var(--ink); }
.rwp .svc-cmp tbody th { text-align: left; font-weight: 400; color: var(--ink); width: 36%; }
.rwp .svc-cmp .svc-us { background: var(--ink); color: #fff; border-top-color: rgba(255, 255, 255, .12); }
.rwp .svc-cmp thead .svc-us { border-radius: 20px 20px 0 0; }
.rwp .svc-cmp tbody tr:last-child .svc-us { border-radius: 0 0 20px 20px; }
.rwp .svc-yes, .rwp .svc-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.rwp .svc-yes svg, .rwp .svc-no svg { width: 15px; height: 15px; }
.rwp .svc-yes { background: var(--ink); color: #fff; }
.rwp .svc-us .svc-yes { background: #fff; color: var(--ink); }
.rwp .svc-no { background: var(--fill); color: var(--body); }
.rwp .svc-us-logo { display: inline-block; width: auto; height: 26px; vertical-align: middle; }
@media (max-width: 809px) { .rwp .svc-us-logo { height: 15px; } }
@media (max-width: 899px) { .rwp .svc-cmp th, .rwp .svc-cmp td { padding: 14px 16px; } }
/* Why Rankwyre on phone (Hamza 12/2: first column clipped to "ers", scroll bar running into the table bottom).
   The table fits the screen instead of scrolling sideways: feature column 34%, three answer columns 22% each. */
@media (max-width: 809px) {
  .rwp .svc-cmp { overflow-x: visible; }
  .rwp .svc-cmp table { min-width: 0; table-layout: fixed; font-size: 13px; line-height: 17px; }
  .rwp .svc-cmp th, .rwp .svc-cmp td { padding: 12px 6px; overflow-wrap: anywhere; }
  .rwp .svc-cmp thead th { font-size: 13px; line-height: 16px; padding: 14px 6px; }
  .rwp .svc-cmp thead th:first-child, .rwp .svc-cmp tbody th { width: 34%; padding-left: 14px; }
  .rwp .svc-cmp tbody th { font-size: 14px; line-height: 18px; }
  .rwp .svc-yes, .rwp .svc-no { width: 24px; height: 24px; }
  .rwp .svc-yes svg, .rwp .svc-no svg { width: 13px; height: 13px; }
}

/* Comparison table on phones (round 6 check 12/3): the label column gets more of the row, and words never split mid-word.
   Three-column tables (industry): label 54%. Four-column tables (service): label 44%. Keep in step in services.css and industries-a.css. */
@media (max-width: 809px) {
  .rwp .svc-cmp th, .rwp .svc-cmp td { overflow-wrap: normal; word-break: normal; -webkit-hyphens: manual; hyphens: manual; }
  .rwp .svc-cmp thead .svc-us img, .rwp .svc-cmp thead .svc-us svg { max-width: 100%; height: auto; }
  .rwp .svc-cmp thead th:first-child, .rwp .svc-cmp tbody th { width: 54%; }
  .rwp .svc-cmp table:has(thead th:nth-child(4)) thead th:first-child, .rwp .svc-cmp table:has(thead th:nth-child(4)) tbody th { width: 44%; }
}
