/* Copyright (c) 2026 Web Upp Limited. Licensed under the GPL-2.0-or-later; see LICENSE. */
.wu-ticks__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1025px) {
  .wu-ticks--split .wu-ticks__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 80px;
    align-items: start;
  }
}
.wu-ticks__list {
  display: grid;
  gap: 0 var(--wu-ticks-column-gap, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .wu-ticks__list--2,
  .wu-ticks__list--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Three columns (3.13.0): two from 768px, three from 1025px. */
@media (min-width: 1025px) {
  .wu-ticks__list--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.wu-ticks__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--wu-ticks-gap, 14px);
  padding: var(--wu-ticks-pad, 18px 0);
  border-top: var(--wu-ticks-rule, 1px solid var(--wu-line));
  font-size: var(--wu-ticks-size, 17px);
  line-height: var(--wu-ticks-line, 1.45);
}

.wu-ticks__tick {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--wu-ticks-marker-size, 24px);
  height: var(--wu-ticks-marker-size, 24px);
  margin-top: var(--wu-ticks-marker-top, 1px);
  border-radius: var(--wu-ticks-marker-radius, 50%);
  background: var(--wu-ticks-marker-face, transparent);
  color: var(--wu-ticks-marker, var(--wu-success));
}

.wu-ticks__tick svg {
  width: var(--wu-ticks-icon-size, 20px);
  height: var(--wu-ticks-icon-size, 20px);
  stroke-width: 2.2;
}

/* The number marker (3.4.0): the point's figure in the marker's box. */
.wu-ticks__tick--number {
  font: var(--wu-ticks-number-font, 600 14px/1 var(--wu-display));
}

/* The icon marker (3.4.0): the theme's line icon at the stroke it is drawn
   with, so a child's own icons keep their weight. */
.wu-ticks__tick--icon svg {
  stroke-width: var(--wu-ticks-icon-stroke, 1.75);
}

.wu-ticks__text {
  display: grid;
  gap: 4px;
}

.wu-ticks__sub {
  color: var(--wu-ticks-sub-colour, var(--wu-muted));
  font-size: var(--wu-ticks-sub-size, 15px);
}

.wu-ticks__closing {
  margin: 32px 0 0;
  color: var(--wu-muted);
  font-size: 17px;
  line-height: 1.6;
}

.wu-ticks__closing .wu-textlink {
  white-space: nowrap;
}

/* A "Not included" line in a tick list: a short rule instead of a tick. */
.wu-ticks__tick--no::before {
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  margin: 8px auto 0;
  border-radius: 1px;
  background: var(--wu-muted);
}

/* The inverse ground (3.4.0): the rules, the second lines and the closing
   line take the inverse text (--wu-ticks-rule-inverse and
   --wu-ticks-inverse-muted where a child wants others); the plain, rule
   and numbered eyebrows too, unless --wu-ticks-inverse-accent is set (the
   pill keeps its own face). */
.wu-ground--inverse .wu-ticks__list li {
  border-top-color: var(--wu-ticks-rule-inverse, color-mix(in srgb, var(--wu-inverse-text) 24%, transparent));
}

.wu-ground--inverse .wu-ticks__sub,
.wu-ground--inverse .wu-ticks__closing {
  color: var(--wu-ticks-inverse-muted, var(--wu-inverse-text));
}

.wu-ticks.wu-ground--inverse :is(.wu-eyebrow, .wu-label) {
  color: var(--wu-ticks-inverse-accent, var(--wu-inverse-text));
}

/* The arrow after a button's or a text link's words (3.13.0, working rule
   12): the slot --wu-button-arrow is its display, inline-block when unset;
   none hides every arrow the parent draws on buttons and text links. In
   each block's own stylesheet, so it holds where a child dequeues the
   parent's sections.css. An icon before the words is not an arrow. From
   3.16.1 every part but the svg is in :where(), so the rule weighs 0,0,1:
   a child's own rule on the arrow, written before 3.13.0 (Canine Sense's
   `.wu-ihero .wu-button svg`, 0,2,1), still wins, as it did when the
   parent set no display there (3.13.0 to 3.16.0 weighed 0,4,1). */
:where(.wu-ticks) :where(.wu-button:not(.wu-button--icon, .wu-contact__link), .wu-textlink:not(.wu-textlink--icon)) > svg:where(:last-child) {
  display: var(--wu-button-arrow, inline-block);
}

/* Downloads (3.15.0, `files`): a point's words link to its file, the type
   and size after them; the download marker draws a download icon in the
   tick's place before a point with a file. */
.wu-ticks__file {
  color: var(--wu-ticks-file-colour, inherit);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wu-ticks__meta {
  display: inline;
  margin-left: 4px;
  color: var(--wu-ticks-meta-colour, var(--wu-muted));
  font-size: var(--wu-ticks-meta-size, 14px);
  white-space: nowrap;
}

.wu-ticks__tick--download svg {
  stroke-width: var(--wu-ticks-icon-stroke, 1.75);
}

.wu-ticks.wu-ground--inverse .wu-ticks__meta {
  color: var(--wu-ticks-inverse-muted, var(--wu-inverse-text));
}

/* The eyebrow's slots (3.17.0): --wu-label-gap and the rule's
   --wu-label-rule-length, -width (its thickness), -radius, --wu-label-rule
   (its colour) and -opacity. sections.css reads them with the values drawn
   before; here, of no weight and with no fallback, they reach a site that
   dequeues sections.css and draws the eyebrow itself, wherever its own
   rules leave these properties unset (unset, each is as if absent; the
   rule's span is empty, so flex none changes no box). Every block
   stylesheet that draws an eyebrow carries this rule. */
:where(.wu-label) {
  gap: var(--wu-label-gap);
}

:where(.wu-label__rule) {
  flex: none;
  width: var(--wu-label-rule-length);
  height: var(--wu-label-rule-width);
  border-radius: var(--wu-label-rule-radius);
  background: var(--wu-label-rule);
  opacity: var(--wu-label-rule-opacity);
}