  .grid-homer {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      padding: 20px;
      max-width: 95%;
      margin: 0 auto;
    }

    /* Base item-homer style */
    .item-homer {
      position: relative;
      overflow: hidden;
    }

    .item-homer img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Text overlay */
    .item-homer .overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end;
      padding: 12px 14px;
      background: linear-gradient( to top, rgba(255, 255, 255, 0.24), rgba(174, 60, 4, 0) );
    }

    .item-homer .overlay span {
background: #f1553d;
  color: #fff;
  padding: 6px 10px;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
    }

    /* Row 1: full-width image */
    .row-1 {
      grid-column: 1 / -1;
      min-height: 660px;
      max-height:880px;
    }

    /* Rows 2 & 3: 4 portrait images each */
    .portrait {
      aspect-ratio: 3 / 4; /* portrait feel */
    }

    /* Row 4: 2 centered images same size as portrait */
    .row-4-wrapper {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }

    .row-4-spacer {
      /* empty cells to center the two images */
    }

    .row-4-item-homer {
      aspect-ratio: 3 / 4;
    }

    /* Responsive behavior */
    @media (max-width: 900px) {
      .grid-homer {
        grid-template-columns: repeat(2, 1fr);
      }

      .row-1 {
        height: 220px;
      }

      .row-4-wrapper {
        grid-template-columns: repeat(2, 1fr);
      }

      .row-4-spacer {
        display: none;
      }
    }

    @media (max-width: 600px) {
      .grid-homer {
        grid-template-columns: 1fr;
      }

      .row-1 {
        height: 200px !important;
    width: 100% !important;
    min-height: 100%;
      }

      .row-4-wrapper {
        grid-template-columns: 1fr;
      }
    }