.pcg-wrapper {
    width: 100%;
}

.pcg-grid {
    display: grid;
    gap: 20px;
    /* Space between grid items */
}

/* Layout columns will be handled dynamically via Elementor inline CSS variables or direct inline styles, 
   but providing fallback defaults */
.pcg-grid {
    grid-template-columns: repeat(var(--pcg-columns, 3), 1fr);
}

@media (max-width: 1024px) {
    .pcg-grid {
        grid-template-columns: repeat(var(--pcg-columns-tablet, 2), 1fr);
    }
}

@media (max-width: 767px) {
    .pcg-grid {
        grid-template-columns: repeat(var(--pcg-columns-mobile, 1), 1fr);
    }
}

.pcg-item {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    height: 300px;
    text-decoration: none !important;
    display: block;
}

.pcg-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.pcg-item:hover .pcg-bg-image {
    transform: scale(1.05);
}

.pcg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    /* Slight overlay */
    transition: background-color 0.3s ease;
}

.pcg-item:hover .pcg-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.pcg-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    /* Fixed height for title bar */
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    justify-content: center;
}

.pcg-title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
}

.pcg-arrow {
    width: 40px;
    height: 30px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.pcg-arrow svg {
    stroke: #ffffff;
    color: #fff;
}

.pcg-item:hover .pcg-arrow {
    background-color: #bea150;
    /* Highlight color on hover (similar to the screenshot) */
}