.about-summary {
    font-size: 1rem;
    text-align: left;
}
/* COMMENTED OUT ALONG WITH ORIGINAL JS (FOR NEW JS-LESS SOLUTION)
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr)); // responsive columns
    gap: 16px; // spacing between items
    grid-auto-rows: 10px; // base row height
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
        
}

.gallery-item {
    overflow: hidden; // optional, keeps images from overflowing
    border: 1px solid #aaa;
    border-radius: 8px; // optional rounded corners
    grid-row-end: span var(--row-span);
}

.gallery-item:hover {
    border: 1px solid #777;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 8px;   // optional rounded corners
    object-fit: cover;    // ensures the image fills its container nicely
}
*/

/* Gallery container */
.gallery {
  column-width: 10vw;      /* minimum column width */
  column-gap: 1rem;          /* small horizontal gap between items */
  width: 100%;
  max-width: 1200px;        /* optional max width */
  margin: 5% auto;           /* center gallery */
}

/* Gallery items */
.gallery-item {
  break-inside: avoid;      /* prevent items from breaking between columns */
  margin-bottom: 1rem;       /* small vertical gap */
  border-radius: 1rem;       /* optional rounded corners */
  overflow: hidden;

  /* Floating drop shadow */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* subtle floating effect */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* optional hover effect */
}

.gallery-item:hover {
    transform: translateY(-4px) rotate(-1deg);                      /* lift slightly */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);      /* stronger shadow on hover */
    border: 1px solid #777;
}

/* Images */
.gallery-item img {
  width: 100%;
  display: block;
  height: auto;             /* preserves natural height */
  object-fit: cover;        /* ensures full coverage if you crop inside img */
  border-radius: 0px;       /* match the item */
}

