/* Homepage — custom.css
   Row 1: date + weather, aligned right
   Row 2: resources + search */

/* Merge left and right widget groups into one flex container */
#information-widgets-right {
  display: contents;
}

#widgets-wrap {
  row-gap: 0.5rem;
}

/* Row 1 */
.information-widget-datetime {
  order: -3;
  margin-left: auto;
}

.information-widget-openmeteo {
  order: -2;
  /* Vertical divider between date and weather */
  border-left: 1px solid rgb(255 255 255 / 0.25);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
}

/* Line break */
#widgets-wrap::before {
  content: "";
  order: -1;
  flex-basis: 100%;
  height: 0;
}

/* Row 2: search fills the remaining width */
.information-widget-search {
  flex-grow: 1;
}
