/* ============================================
   АРХИВ ВИДОВ ПРОТЕЗИРОВАНИЯ (archive-prosthetics_type) — плитка
   ============================================ */
.prosthetics-grid.prosthetics-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.prosthetic-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.prosthetic-tile:hover {
    transform: translateY(-5px);
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    transition: background 0.3s ease;
}

.prosthetic-tile:hover .tile-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.tile-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.tile-title {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.tile-title a {
    color: white;
    text-decoration: none;
}

.tile-title a:hover { color: #3498db; }

.tile-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.tile-actions { margin-top: auto; }

.tile-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
}

.tile-button:hover {
    background: white;
    color: #3498db;
}

.no-items-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-items-message p { font-size: 1.1rem; }

@media (max-width: 1200px) {
    .prosthetics-grid.prosthetics-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .prosthetics-grid.prosthetics-tiles {
        grid-template-columns: 1fr;
    }
    .prosthetic-tile { height: 350px; }
}
