.page .w300x250 {
  max-height: 260px !important;
  height: 260px !important
}

div.weather2-item {
  border: none;
  background: rgb(var(--c-neutral-lightest));
}

.page.-sub div.weather2-item {
  margin: 0;
  padding: 1.2rem 1.5rem;
}

div.weather2-item .primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: var(--g-gap-s);
}

div.weather2-item .weather-header a,
div.weather2-item .weather-header h3 {
  text-align: left;
}

div.weather2-item .primary .weather-data {
  padding: 0;
}

div.weather2-item .weather-header a {
  font-family: 'MainFont';
  align-self: flex-end;
}

.weather-data h3 {
  color: rgb(var(--c-primary));
}

.weather-header {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.weather-icon {
  padding: 0;
  align-self: center;
  float: none;
  justify-self: flex-end;
}

.weather-icon img {
  max-height: 120px;
  object-fit: none;
  height: auto;
  width: auto;
}

/* sub page */
.page.-sub .primary {
    grid-template-columns: 2fr 1fr;
}

.tx-weather2 .secondary,
.page.-sub .weather-header {
    display: none;
}

.page.-sub .tx-weather2 .secondary {
    display: block;
    text-align: left;
    grid-row: span 2;
}

.page.-sub .weather-icon {
    align-self: flex-start;
}

.page.-sub div.weather2-item {
    background: rgb(var(--c-neutral-lighter));
}

/* =============================================================================
   Media Queries
   ========================================================================== */


@media (min-width: 400px) {
    .page.-sub .primary {
        grid-template-columns: 2fr 1fr 1fr;
    }
}