/**
 * Global Weather Pro - block editor preview (v2.15.0)
 *
 * In the editor each block shows the same server-rendered forecast summary
 * that crawlers and no-JS visitors get (includes/gwpro-summary.php), so site
 * owners see real weather for their location before they publish. The full
 * widget scripts do not run in the editor; this sheet only gives the summary
 * a card. Scoped to the block wrapper, so nothing else in the editor changes.
 */
.gwpro-weather-block .gwpro-summary {
  box-sizing: border-box;
  padding: 1.25em 1.5em;
  border-radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.gwpro-weather-block .gwpro-summary--dark {
  background: linear-gradient(160deg, #111827 0%, #1e293b 100%);
  color: #e5e7eb;
}

.gwpro-weather-block .gwpro-summary--light {
  background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.gwpro-weather-block .gwpro-summary--sidebar {
  max-width: 340px;
}

.gwpro-weather-block .gwpro-summary-body > * {
  margin: 0;
}

.gwpro-weather-block .gwpro-summary-body > * + * {
  margin-top: 0.5em;
}

.gwpro-weather-block .gwpro-summary-place {
  font-size: 1.25em;
  font-weight: 700;
  color: inherit;
}

.gwpro-weather-block .gwpro-summary-temp {
  font-size: 2.25em;
  font-weight: 800;
  line-height: 1.1;
  margin-right: 0.35em;
}

.gwpro-weather-block .gwpro-summary-condition {
  font-size: 1.05em;
  opacity: 0.9;
}

.gwpro-weather-block .gwpro-summary ul,
.gwpro-weather-block .gwpro-summary ol {
  margin: 0.5em 0 0;
  padding-left: 1.2em;
  font-size: 0.9em;
}

.gwpro-weather-block .gwpro-summary-day {
  font-weight: 600;
}

.gwpro-weather-block .gwpro-summary-day::after {
  content: ": ";
}

.gwpro-weather-block .gwpro-summary-updated {
  font-size: 0.8125em;
  opacity: 0.8;
}

.wp-block-gwpro-header-widget .gwpro-editor-note,
.wp-block-gwpro-sidebar-widget .gwpro-editor-note {
  margin: 0.5em 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #757575;
}
