/*
 * Page styles of /termekek/energy-monitoring/ (PKG-4CEWUU). Every selector starts with the page-energy-monitoring body
 * class (plan §8.3); the building blocks follow the other product pages (machine-monitoring.css: full width overview
 * figure, limiting remark, chips; environment-management.css: six tile grid, the list of the dark band).
 */

/* --- Overview figure: the 1536 px infographic on a white card, full container width (never upscaled) --- */
.page-energy-monitoring .enm__overview {
  margin: 0;
}

.page-energy-monitoring .enm__overview-frame {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
}

.page-energy-monitoring .enm__overview-frame img {
  height: auto;
}

.page-energy-monitoring .enm__overview-caption {
  margin-top: var(--space-4);
  max-width: 72ch;
  color: var(--c-text-2);
  font-size: var(--fs-0);
}

.page-energy-monitoring .enm__overview-caption a {
  white-space: nowrap;
}

/* --- Six functions: two columns between 40em and 64em (three full rows), three from 64em (tiles--3) --- */
@media (min-width: 40em) and (max-width: 63.99em) {
  .page-energy-monitoring .enm__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Text columns --- */
.page-energy-monitoring .enm__text .lead {
  margin-bottom: var(--space-5);
}

.page-energy-monitoring .enm__nobr {
  white-space: nowrap;
}

/* --- Energy sources: an unordered list of rows with a turquoise dash (no sequence, so no numbers) --- */
.page-energy-monitoring .enm__sources {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
}

.page-energy-monitoring .enm__source {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--c-line);
  font: 500 var(--fs-2) / var(--lh-snug) var(--ff-display);
  color: var(--c-text);
}

.page-energy-monitoring .enm__source::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(var(--space-4) + 0.6em);
  width: 1.25rem;
  height: 2px;
  background: var(--c-turq-700);
}

/* --- The energy sources are the dark dotted band: the paragraphs are muted (like .lead), the list stays light, the
   rows use the dark hairline. --- */
.page-energy-monitoring .section--ink .enm__text p {
  color: var(--c-on-dark-2);
}

.page-energy-monitoring .section--ink .enm__sources {
  border-top-color: var(--c-ink-line);
}

.page-energy-monitoring .section--ink .enm__source {
  border-bottom-color: var(--c-ink-line);
  color: var(--c-on-dark);
}

.page-energy-monitoring .section--ink .enm__source::before {
  background: var(--c-turq);
}

@media (min-width: 60em) {
  .page-energy-monitoring .enm__sources {
    margin-top: 0.35rem;
  }
}

/* --- Business benefits and the limiting remark: the turquoise brand line without a surface of its own, so the mist
   band stays mist. --- */
.page-energy-monitoring .enm__benefits {
  max-width: 60rem;
}

.page-energy-monitoring .enm__note {
  max-width: 60rem;
  margin: var(--space-6) 0 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-left: 2px solid var(--c-turq);
  color: var(--c-text-2);
}

/* --- Building blocks: hairline chips --- */
.page-energy-monitoring .enm__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-2);
}

.page-energy-monitoring .enm__chip {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-paper);
  color: var(--c-text);
  font-size: var(--fs-1);
  line-height: 1.3;
  white-space: nowrap;
}

@media (min-width: 60em) {
  .page-energy-monitoring .enm__chips {
    padding-top: 0.35rem;
  }
}
