@charset "UTF-8";
/* The tint sits on each card, not on the column. A full-height wash made the
   sidebar read as one slab; this way every widget is its own block and the
   page background shows between them. */
.wgms-card {
  background: #f6f7fd;
  border: 1px solid #e8ebfa;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}

.wgms-card .wgms-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #0d1240;
  line-height: 1.3;
}

.wgms-card p {
  margin: 0;
}

.wgms-card--accent {
  background: #2b44d6;
  border-color: #2b44d6;
  color: #fff;
}

.wgms-card--accent .wgms-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.92;
  display: block;
  margin-bottom: 14px;
  color: #fff;
}

.wgms-card--accent .wgms-card-title {
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.wgms-card--accent p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 22px;
  color: #e3e7ff;
}

.wgms-card .wgms-btn {
  display: block;
  background: #2b44d6;
  color: #fff;
  text-align: center;
  padding: 15px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
}

.wgms-card .wgms-btn:hover {
  background: #2238b8;
  color: #fff;
}

/* On the accent card the ground is already brand blue. */
.wgms-card--accent .wgms-btn, .wgms-card--accent .wgms-btn:hover {
  background: #fff;
  color: #2b44d6;
}

.wgms-card .wgms-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.wgms-card .wgms-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #2a2f52;
  background: none;
}

.wgms-card .wgms-list li:last-child {
  margin-bottom: 0;
}

.wgms-card .wgms-list li::before, .wgms-card .wgms-list li::marker {
  content: none;
}

.wgms-card .wgms-list-mark {
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: #e4e8ff;
  position: relative;
}

.wgms-card .wgms-list-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 4px;
  height: 8px;
  border: solid #2b44d6;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wgms-card--dark .wgms-list-mark {
  background: rgba(143, 160, 255, 0.18);
}

.wgms-card--dark .wgms-list-mark::after {
  border-color: #8fa0ff;
}

.wgms-card .wgms-niches {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
}

.wgms-card .wgms-niches li {
  margin: 0;
  padding: 0;
  background: none;
  line-height: 1;
}

.wgms-card .wgms-niches li::before, .wgms-card .wgms-niches li::marker {
  content: none;
}

.wgms-card .wgms-niches__link {
  display: inline-block;
  background: #fff;
  border: 1px solid #e3e7fa;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 14px;
  line-height: 1.2;
  color: #2a2f52;
  text-decoration: none;
}

.wgms-card .wgms-niches__link:hover {
  background: #eef1fe;
  color: #2a2f52;
}

.wgms-card .wgms-niches__count {
  color: #2b44d6;
  font-weight: 700;
  margin-left: 5px;
}

.wgms-card .wgms-allthemes {
  font-weight: 700;
  font-size: 15px;
  color: #2b44d6;
  text-decoration: underline;
}

.wgms-card .wgms-themes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wgms-card .wgms-themes li {
  margin: 0 0 16px;
  padding: 0;
  background: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wgms-card .wgms-themes li:last-child {
  margin-bottom: 0;
}

.wgms-card .wgms-themes li::before, .wgms-card .wgms-themes li::marker {
  content: none;
}

.wgms-card .wgms-themes__thumb {
  flex: 0 0 78px;
  height: 60px;
  border-radius: 9px;
  overflow: hidden;
  background: #1d2138;
  display: block;
}

.wgms-card .wgms-themes__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wgms-card .wgms-themes__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.32;
  color: #0d1240;
  text-decoration: none;
}

.wgms-card .wgms-themes__meta {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #7a81a8;
  margin-top: 4px;
}

.wgms-card--dark {
  background: #0d1240;
  border-color: #0d1240;
}

.wgms-card--dark .wgms-eyebrow {
  color: #8fa0ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.wgms-card--dark .wgms-card-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 14px;
}

.wgms-card--dark p {
  font-size: 15px;
  line-height: 1.5;
  color: #c6cbe8;
  margin: 0 0 18px;
}

/* `.wgms-list`, not a bare `ul`: the generic rule above is
   `.wgms-card .wgms-list li` — two classes — and beat `.wgms-card--dark ul li`
   at one class plus two elements, because specificity counts classes before
   elements. The result was #2a2f52 list text on the #0d1240 card: dark navy on
   dark navy, effectively invisible. Matching the class count and relying on
   source order is what makes this win. */
.wgms-card--dark .wgms-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.wgms-card--dark .wgms-list li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 13px;
  padding: 0;
  background: none;
  color: #e7eaf7;
}

.wgms-card--dark .wgms-list li:last-child {
  margin-bottom: 0;
}

.wgms-card--dark .wgms-list li::before, .wgms-card--dark .wgms-list li::marker {
  content: none;
}

.wgms-card--dark .wgms-list li strong {
  color: #fff;
}

/* margin:0 is load-bearing: the theme gives sidebar inputs a 24px bottom
   margin, which made the flex line 88px tall and centred the button 12px
   below the field it belongs to. */
/* Under ~380px a card has ~221px of content; a fixed 78px preview leaves 129px
   for the title and breaks it over four lines. Measured at 320. */
@media (max-width: 380px) {
  .wgms-card {
    padding: 16px;
  }
  .wgms-card .wgms-themes__thumb {
    flex: 0 0 56px;
    height: 44px;
  }
  .wgms-card .wgms-themes li {
    gap: 11px;
  }
  .wgms-card--accent .wgms-card-title {
    font-size: 22px;
  }
  .wgms-card--dark .wgms-card-title {
    font-size: 21px;
  }
}
/* Stock Categories widget, given the same card as everything above it. */
.sidebar .wgms-card--terms {
  background: #f6f7fd;
  border: 1px solid #e8ebfa;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
}

.sidebar .wgms-card--terms h2, .sidebar .wgms-card--terms h3, .sidebar .wgms-card--terms .widget-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #0d1240;
  margin: 0 0 14px;
  text-transform: none;
  letter-spacing: 0;
}

.sidebar .wgms-card--terms ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar .wgms-card--terms li {
  margin: 0 0 10px;
  padding: 0;
  background: none;
  font-size: 15px;
  line-height: 1.45;
}

.sidebar .wgms-card--terms li:last-child {
  margin-bottom: 0;
}

.sidebar .wgms-card--terms li::before, .sidebar .wgms-card--terms li::marker {
  content: none;
}

.sidebar .wgms-card--terms a {
  color: #2a2f52;
  text-decoration: none;
}

.sidebar .wgms-card--terms a:hover {
  color: #2b44d6;
}

/* Spacing between cards comes from the card's own margin and nothing else.
   The theme gives every sidebar widget `padding: 38px 0 0`, so the visible gap
   was 38 + the card margin = 50px however small the margin got. Scoped to this
   column so other sidebars keep the theme's rhythm. */
aside.sidebar .widget {
  padding-top: 0;
}

/* Stock core search block, dressed as a card. The sidebar used to carry a
   hand-built form; the widget stack has no reason to own a search control. */
.sidebar .wp-block-search {
  display: flex;
  gap: 10px;
  background: #f6f7fd;
  border: 1px solid #e8ebfa;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 18px;
  align-items: center;
}

.sidebar .wp-block-search .wp-block-search__label {
  display: none;
}

.sidebar .wp-block-search__inside-wrapper {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

/* main.css:9721 draws a border-bottom on this input with a four-class
   selector; a two-class reset here lost to it and left a line under the
   field. The element qualifier wins regardless of load order. */
aside.sidebar .wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input {
  flex: 1;
  height: 46px;
  margin: 0;
  box-sizing: border-box;
  border: 0;
  border-bottom: 0;
  background: #fff;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  color: #0d1240;
  outline: none;
  min-width: 0;
}

.sidebar .wp-block-search__input::placeholder {
  color: #8e94b8;
}

.sidebar .wp-block-search__button {
  flex: 0 0 auto;
  height: 46px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #2b44d6;
  color: #fff;
  cursor: pointer;
  padding: 0 18px;
  font-weight: 700;
  font-size: 15px;
}

.sidebar .wp-block-search__button:hover {
  background: #2238b8;
  color: #fff;
}