/* ===== YOUR OWN CSS =====
   Loaded after styles.css, so anything here wins.
   Try: .hero h1 { color: var(--accent); } */

   /* ===== FIX 1 (replaces the earlier version): even margins around images ===== */
:root { --tile-pad: 1rem; }   /* margin inside the logo tiles: raise for more space, 0 for none */

/* Logos: fill the white box, keep an even margin, never crop */
.logo-tile { position: relative; padding: 0; overflow: hidden; }
.logo-tile img {
    position: absolute;
    inset: var(--tile-pad);
    width: calc(100% - 2 * var(--tile-pad));
    height: calc(100% - 2 * var(--tile-pad));
    max-width: none; max-height: none;
    object-fit: contain;
}

/* Work card images: edge to edge, cropped to fit */
.thumb { position: relative; padding: 0; overflow: hidden; }
.thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    max-width: none; max-height: none;
    object-fit: cover;
}