.ppw26-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
    gap: 1em;
}

.ppw26-tile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 2 / 1;
    border-radius: 1em;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-elevated);
    /* Missing image fallback */
    background-image: linear-gradient(to bottom, var(--surface1), var(--overlay0));
    background-size: cover;
    background-position: center;
}

@media (min-width: 660px) {
    .ppw26-tiles-grid {
        gap: 1.5em;
    }
}

@media (min-width: 730px) {
    .ppw26-tile {
        aspect-ratio: 4 / 3;
    }
}

.ppw26-tile-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.ppw26-tile:hover .ppw26-tile-bg,
.ppw26-tile:focus-visible .ppw26-tile-bg {
    transform: scale(1.05);
}

.ppw26-tile-overlay {
    position: absolute;
    inset: 0;
    background: var(--img-tint);
    z-index: 1;
}

.ppw26-tile-title {
    color: white;
    font-family: 'DM Serif Display';
    font-weight: 600;
    font-size: 1.75em;
    text-shadow: var(--shadow-elevated);
    z-index: 2;
    text-align: center;
    padding: 1em;
    overflow-wrap: break-word;
}

@media (min-width: 520px) {
    .ppw26-tile-title {
        font-size: 2em;
    }
}