.tg-grid-container-8a96db2f {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .tg-grid-container-8a96db2f {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tg-grid-container-8a96db2f {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tg-grid-container-8a96db2f .tg-tile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-decoration: none; /* remove link underline */
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation on hover */
}

.tg-grid-container-8a96db2f .tg-tile:hover {
    transform: translateY(-5px); /* Move slightly up */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}


.tg-grid-container-8a96db2f .tg-tile-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Add some padding so images don't touch edges */
    box-sizing: border-box;
    transition: background-color 0.3s; /* Smooth transition if color changes */
}

.tg-grid-container-8a96db2f .tg-tile-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Ensure full image is visible */
    display: block;
}

.tg-grid-container-8a96db2f .tg-tile-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.tg-grid-container-8a96db2f .tg-tile-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.tg-grid-container-8a96db2f .tg-tile-text {
    flex-grow: 1;
    margin-bottom: 20px;
}

.tg-grid-container-8a96db2f .tg-tile-button-wrapper {
    margin-top: auto;
}

.tg-grid-container-8a96db2f .tg-tile-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.tg-grid-container-8a96db2f .tg-tile:hover .tg-tile-button {
    background-color: #555;
}