/* Sistem What's New: the automated changelog in the theme's changelog style.
   Loaded by the WordPress plugin (a copy lives next to it). Every colour, radius, border and
   font comes from the Ohio theme's variables, so the list follows the theme settings and
   matches the theme's own [ohio_changelog] list on the same page. */

.sistem-changelog { margin: 0 0 28px; }

/* One day: the date, then one box */
.sistem-changelog .swc-day { padding-bottom: 28px; }
.sistem-changelog .swc-head { margin: 0 0 10px; }
.sistem-changelog .changelog-date {
  font-family: var(--clb-text-font-family); font-size: 1.0625rem; font-weight: 600;
  color: var(--clb-title-color); letter-spacing: -.01em;
}
.sistem-changelog .swc-box { background: var(--clb-color-fill); border-radius: var(--clb-border-radius); padding: 18px 22px; }

/* One kind inside the box (Added, Improved, Fixed…), 16px around the divider */
.sistem-changelog .swc-kind { margin: 0 0 16px; }
.sistem-changelog .swc-kind:last-child { margin-bottom: 0; }
.sistem-changelog .swc-kind + .swc-kind { padding-top: 16px; border-top: var(--clb-border-width) solid var(--clb-color-border); }
.sistem-changelog .swc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.sistem-changelog .swc-lines { margin: 0; padding: 0 0 0 20px; font-family: var(--clb-text-font-family); color: var(--clb-text-color); }
.sistem-changelog .swc-lines li { margin: 0 0 4px; line-height: 1.55; font-size: .9em; }
.sistem-changelog .swc-lines li:last-child { margin-bottom: 0; }
.sistem-changelog .swc-lines strong { font-weight: 600; color: var(--clb-title-color); }

/* The theme badge component, coloured from the theme palette */
.sistem-changelog .swc-badge { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border: var(--clb-border-width) solid; }
.sistem-changelog .swc-badge--new {
  color: color-mix(in srgb, var(--clb-color-success) 70%, black); border-color: color-mix(in srgb, var(--clb-color-success) 25%, transparent);
  background: color-mix(in srgb, var(--clb-color-success) 12%, transparent);
}
.sistem-changelog .swc-badge--improved {
  color: color-mix(in srgb, var(--clb-color-primary) 80%, black); border-color: color-mix(in srgb, var(--clb-color-primary) 25%, transparent);
  background: color-mix(in srgb, var(--clb-color-primary) 12%, transparent);
}
.sistem-changelog .swc-badge--fixed {
  color: color-mix(in srgb, var(--clb-color-warning) 77%, black); border-color: color-mix(in srgb, var(--clb-color-warning) 25%, transparent);
  background: color-mix(in srgb, var(--clb-color-warning) 12%, transparent);
}
.sistem-changelog .swc-badge--deprecated {
  color: color-mix(in srgb, var(--clb-color-danger) 88%, black); border-color: color-mix(in srgb, var(--clb-color-danger) 25%, transparent);
  background: color-mix(in srgb, var(--clb-color-danger) 10%, transparent);
}
.sistem-changelog .swc-badge--under_the_hood {
  color: color-mix(in srgb, var(--clb-color-secondary) 85%, black); border-color: color-mix(in srgb, var(--clb-color-secondary) 25%, transparent);
  background: color-mix(in srgb, var(--clb-color-secondary) 10%, transparent);
}

/* Neutral platform tags beside the badge */
.sistem-changelog .swc-platform {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  border: var(--clb-border-width) solid var(--clb-color-border); background: var(--clb-color-white);
  color: var(--clb-text-color-grey); font-family: var(--clb-text-font-family);
  font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0;
}

.sistem-changelog .swc-more a { color: var(--clb-color-primary); font-weight: 500; text-decoration: none; }

@media (max-width: 600px) {
  .sistem-changelog .swc-box { padding: 14px 16px; }
}
