.tx-weather2 {
  max-width: 100%;
  margin: 0;
}

/* Current weather */
.weather {
  padding: 1.5rem;
  text-align: left;
  border: 0;
  background: rgb(var(--c-neutral-lighter));
}

.weather__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(var(--c-neutral-dark));
}

.weather__place {
  margin-right: auto;
}

h3.weather__city {
  margin-bottom: 0.25rem;
  color: rgb(var(--c-primary));
  font-size: var(--f-size);
  font-weight: var(--f-weight-sb);
  text-transform: none;
}

.weather__time {
  display: block;
  color: rgb(var(--c-neutral-dark));
  font-size: var(--f-size-s-1);
  line-height: 1.6;
}

.weather__icon {
  flex-shrink: 0;
  color: rgb(var(--c-primary));
  font-family: 'FaThin', sans-serif;
  font-size: 36px;
  line-height: 1;

  &.-clear::before { content: '\f185'; }
  &.-partly::before { content: '\f6c4'; }
  &.-cloudy::before { content: '\f0c2'; }
  &.-rain::before { content: '\f73d'; }
  &.-thunder::before { content: '\f76c'; }
  &.-snow::before { content: '\f2dc'; }
  &.-fog::before { content: '\f75f'; }
}

.weather__temp {
  color: rgb(var(--c-primary));
  font-size: 36px;
  line-height: 1;
  white-space: nowrap;
}

.weather__details {
  display: grid;
  justify-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--f-size-s-1);

  & li {
    margin: 0;
    padding: 0;
    list-style: none;

    &::before {
      content: none;
    }
  }

  & strong {
    color: rgb(var(--c-primary));
  }
}
