/* Front page editorial grid. Keep the original layout without Gridstack scripts. */
.home .grid-stack {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 2416px;
  margin: 0 auto 2rem;
}

@media (min-width: 1025px) {
  .home .grid-stack > .grid-stack-item {
    position: absolute;
    top: var(--editorial-grid-top, 0px);
    left: var(--editorial-grid-left, 0%);
    width: var(--editorial-grid-width, 100%);
    height: var(--editorial-grid-height, auto);
    min-width: 0;
    padding: 0;
  }

  .home .grid-stack > [data-gs-x="6"] {
    --editorial-grid-left: 50%;
  }

  .home .grid-stack > [data-gs-width="6"] {
    --editorial-grid-width: 50%;
  }

  .home .grid-stack > [data-gs-y="43"] {
    --editorial-grid-top: 903px;
  }

  .home .grid-stack > [data-gs-y="77"] {
    --editorial-grid-top: 1617px;
  }

  .home .grid-stack > [data-gs-y="94"] {
    --editorial-grid-top: 1974px;
  }

  .home .grid-stack > [data-gs-height="43"] {
    --editorial-grid-height: 883px;
  }

  .home .grid-stack > [data-gs-height="34"] {
    --editorial-grid-height: 694px;
  }

  .home .grid-stack > [data-gs-height="17"] {
    --editorial-grid-height: 337px;
  }

  .home .grid-stack > [data-gs-height="22"] {
    --editorial-grid-height: 442px;
  }

  .home .grid-stack > .grid-stack-item > .grid-stack-item-content {
    position: absolute;
    inset: 0 10px;
  }
}

@media (max-width: 1024px) {
  .home .grid-stack {
    height: auto !important;
    margin-bottom: 3rem;
  }

  .home .grid-stack > .grid-stack-item {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-width: 0;
    margin-bottom: 1rem;
  }

  .home .grid-stack > .grid-stack-item > .grid-stack-item-content {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0;
  }

  .home .grid-stack > .grid-stack-item::after {
    display: block;
    width: 100px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(9, 33, 65, 0.4);
    content: "";
  }
}

.home .grid-stack > .grid-stack-item > .ui-resizable-handle {
  display: none;
}
