.timeattack-gallery .timeattack-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 15px;
}
.timeattack-gallery .timeattack-image {
position: relative;
overflow: hidden;
border: 2px solid #ddd;
border-radius: 8px;
background: #f4f4f4;
}
.timeattack-gallery .timeattack-image img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
}
.timeattack-gallery .download-button {
position: absolute;
bottom: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.6);
color: #fff;
padding: 5px 10px;
font-size: 12px;
text-decoration: none;
border-radius: 4px;
}
.timeattack-gallery .timeattack-pagination {
text-align: center;
margin-top: 15px;
}
.timeattack-gallery .timeattack-pagination .active {background-color:red;}
.timeattack-gallery .timeattack-pagination button {
margin: 0 5px;
padding: 8px 12px;
background: #0073aa;
color: #fff;
border: none;
cursor: pointer;
border-radius: 4px;
}
.timeattack-gallery .timeattack-pagination button.disabled {
background: #ddd;
cursor: not-allowed;
}