/* -------------------------------------------------------- */
/* 🔹 Energy Tips Page                                      */
/* -------------------------------------------------------- */
/* What the saving tips page adds to the price page layout:  */
/* the meta row above the cards, the card grid in two halves */
/* (an ad may sit between them), the footnote and the        */
/* spacing above the price chart. The hero shares the history */
/* page's intro style (electricity_price_history_page.css)   */

.energy-tips__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-m);
  margin-bottom: var(--space-m);
  font-size: var(--text-body-medium);
  color: var(--color-on-surface-variant);
}

/* Two columns on desktop, one on mobile — same card in both */
.energy-tips__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-between-cards);
  align-items: start;
}

/* Without an ad between them the halves read as one grid */
.energy-tips__grid + .energy-tips__grid {
  margin-top: var(--spacing-between-cards);
}

.energy-tips__footnote {
  margin-top: var(--space-l);
  text-align: center;
  font-size: var(--text-body-small);
  line-height: var(--text-body-small-height);
  color: var(--color-on-surface-variant);
}

/* The area's price chart under the tips — a section of its own, set
   apart like the bands on the price page */
.energy-tips__chart {
  margin-top: var(--website-section-spacing);
}

/* Load error — replaces the grid */
.energy-tips__error {
  text-align: center;
  color: var(--color-on-surface-variant);
}

@media (max-width: 767px) {
  .energy-tips__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
