﻿.pa-showcase {
    background-color: black;
    padding: 64px 0;
}

.pa-showcase__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.pa-showcase__title {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}


.pa-showcase__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

@media (max-width: 992px) {
    .pa-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pa-showcase__grid {
        grid-template-columns: 1fr;
    }
}

.pa-showcase__card {
    position: relative;
    display: block;
    height: 190px;
    /*border-radius: 6px;*/
    border: 1px solid gold;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    isolation: isolate;
    transition: transform .25s ease;
}

.pa-showcase__card:hover {
    transform: translateY(-4px);
}

.pa-showcase__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .85) 0%,
        rgba(0, 0, 0, .35) 45%,
        rgba(0, 0, 0, 0) 75%
    );
    z-index: 1;
}

.pa-showcase__label {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    padding: 4px;
    text-align: center;
    background-color: #000f26;
}
