.widgets {
  grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
  margin-top: -1px;
  display: grid;
}

.widget {
  --color-widget-text: var(--color-text-over-flood);
  align-items: start;
  gap: calc(var(--basis) / 4);
  padding-block: calc(var(--basis) / 2);
  color: var(--color-widget-text);
  box-shadow: inset 0 0 0 0 hsl(from var(--color-flood) h s l / 20%);
  background-color: #696969;
  flex-direction: column;
  overflow: hidden;

  & a {
    color: inherit;
  }

  &:hover {
    --color-widget-text: var(--color-accent);
    mix-blend-mode: normal;
    background-color: #fff;
  }

  & h3 {
    text-transform: uppercase;
    letter-spacing: .1em;
    color: hsl(from currentcolor h s calc(l - 20));
    margin-bottom: calc(var(--basis) / 2);
    font-size: .75rem;
  }

  & small {
    color: hsl(from currentcolor h s calc(l - 30));
    font-size: .75em;
  }
}

.widget-text-link {
  color: inherit;
  text-decoration: underline 1px wavy;
  text-decoration-color: hsl(from currentcolor h s l / 50%);
  font-weight: bold;
}

.widget-s {
  font-size: .75em;
}

.widget-xs {
  font-size: .5em;
}

.widget-alpha {
  color: hsl(from currentcolor h s calc(l - 30));
}

.widget-flex {
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  gap: 1em;
  width: 100%;
  display: flex;

  & > :last-child {
    text-align: end;
    align-items: end;
  }
}

.widget-rows {
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 1em;
  width: 100%;
  display: flex;
}

.widget-cols {
  flex-direction: row;
  justify-content: stretch;
  align-items: start;
  gap: 1em;
  width: 100%;
  display: flex;

  & > a {
    margin: -1px;
    padding: 1px;
    transition: box-shadow .125s linear;
    box-shadow: inset 0 0 #000;

    &:hover {
      & strong {
        text-decoration: underline 1px wavy;
        text-decoration-color: hsl(from currentcolor h s l / 50%);
      }
    }
  }

  & .widget-flex, & .widget-cols {
    flex-direction: column;
    align-items: start;
  }

  & > * {
    flex: 1 1 0;
    overflow: hidden;
  }
}

.widget-big-number {
  letter-spacing: -.05em;
  text-wrap: nowrap;
  font-size: 5em;
  font-weight: 800;
}

.widget-image {
  width: calc(100% - 2px);
  max-height: calc(var(--basis) * 3);
  aspect-ratio: 1;
  background: var(--color-text-over-flood);
  border: 1px solid #fff;
  border-radius: 1px;
  position: relative;
  overflow: hidden;

  &:before {
    background: var(--img);
    aspect-ratio: 1;
    content: "";
    transform: scale(var(--scale, 1));
    background-position: center;
    background-size: cover;
    position: absolute;
    inset: 0;
  }
}

.widget-lines-1, .widget-lines-2 {
  text-overflow: ellipsis;
  height: 1lh;
  display: flex;
  overflow: hidden;

  &.widget-lines-2 {
    height: 2lh;
  }
}
/*# sourceMappingURL=feed-summaries.780a87f3.css.map */
