/* Projects Page Styles */

.projects-page__container {
    max-width: 1200px !important;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    margin-bottom: 50px;
}

/* 3 Column Grid */
.project-card-wrapper {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .project-card-wrapper {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .project-card-wrapper {
        width: 100%;
    }
}

.project-item-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-item-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 760 / 500;
    /* Ratio from legacy: 760x500 */
    overflow: hidden;
    margin-bottom: 20px;
}

.project-item-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item-card:hover .project-item-card__image img {
    transform: scale(1.05);
}

.project-item-card__info {
    text-align: center;
}

.project-item-card__title {
    margin: 0 0 5px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    /* Updated to 22px */
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    text-transform: lowercase;
}

.project-item-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.project-item-card__title a:hover {
    color: #000;
}

.project-item-card__date {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Header Re-use from products.css if not loaded, assume loaded or copied */
.products-header {
    background-image: url('/assets/images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 63px 0;
    text-align: center;
    margin-bottom: 60px;
}

.products-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.products-header__title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.products-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.products-breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.products-breadcrumbs .sep {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}