/* Stable overrides for the static reconstruction. */

/*
 * The original homepage relies on asynchronously loaded Isotope JavaScript to
 * position project cards. Keep the same Bootstrap column widths in normal
 * document flow so the grid remains 3/2/1 columns if that script is delayed.
 */
body.home .portfolio_grid {
  display: flex !important;
  flex-wrap: wrap;
  height: auto !important;
}

body.home .portfolio_grid > .grid-item {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

/*
 * The replacement email is wider than the original header text. Give its
 * desktop column enough room and reserve space for the Instagram/profile logo group.
 */
@media (min-width: 1025px) {
  .elementor-13508 .elementor-element.elementor-element-a82bce9 {
    width: 16%;
  }

  .elementor-13508 .elementor-element.elementor-element-f1cecb5 {
    width: 32%;
  }

  .elementor-13508 .elementor-element.elementor-element-cb761ca {
    width: 12%;
  }

  .elementor-13508 .elementor-element.elementor-element-cb761ca > .elementor-widget-wrap {
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
  }

  .elementor-13508 .elementor-element.elementor-element-cb761ca .elementor-element-d47eab7 {
    flex: 0 1 60px;
    margin-bottom: 0;
    width: 60px;
  }

  .elementor-13508 .elementor-element.elementor-element-cb761ca .elementor-element-d47eab7 img {
    max-width: 60px;
  }

  .local-header-instagram {
    align-items: center;
    color: #45a7b8;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 22px;
    height: 32px;
    justify-content: center;
    transition: color 160ms ease, transform 160ms ease;
    width: 32px;
  }

  .local-header-instagram:hover,
  .local-header-instagram:focus-visible {
    color: #e85d62;
    transform: translateY(-1px);
  }
}
