/* -------------------------------------------------------- */
/* 🔹 EV Charging Section                                   */
/* -------------------------------------------------------- */
/* The Plus EV notification on a real day — the text beside  */
/* the notification and what it takes into account. Tinted   */
/* blue to set the Plus feature apart                        */

.ev-charging {
  padding-block: var(--website-section-spacing);
  background-color: var(--color-primary-container);
}

.ev-charging__inner {
  display: flex;
  align-items: center;
  gap: var(--website-section-spacing);
}

/* As tall as the sections with a phone (.home-section__phone,
   260px wide, 1350 × 2760 image) while side by side */
@media (min-width: 900px) {
  .ev-charging__inner {
    min-height: calc(260px * 2760 / 1350);
  }
}

.ev-charging__content {
  flex: 1;
  min-width: 0;
}


/* -------------------------------------------------------- */
/* 🔹 Notification                                          */
/* -------------------------------------------------------- */
/* The notification stack (app/ui/components/) beside the    */
/* text                                                      */

.ev-charging__example {
  flex: 1;
  min-width: 0;
  max-width: 480px;
}


/* -------------------------------------------------------- */
/* 🔹 What it takes into account                            */
/* -------------------------------------------------------- */

.ev-charging__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
  margin-top: var(--space-xl);
}

.ev-charging__point {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  font-size: var(--text-body-large);
  color: var(--color-on-surface);
}

.ev-charging__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

.ev-charging__caption {
  margin-top: var(--space-xl);
  font-size: var(--text-body-small);
  color: var(--color-on-surface-variant);
}


/* -------------------------------------------------------- */
/* 🔹 Responsive                                            */
/* -------------------------------------------------------- */
/* Stacked below 900px — the text first, the notification   */
/* under it                                                  */

@media (max-width: 899px) {
  .ev-charging__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ev-charging__example {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .ev-charging__point {
    font-size: var(--text-body-medium);
  }
}
