.projects-listing-container,
.solutions-listing-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.projects-page-hero,
.solutions-page-hero {
    padding: 70px 0 72px;
    background: #f5f8fc;
}

.projects-hero-content,
.solutions-hero-content {
    max-width: 760px;
}

.projects-page-hero .eyebrow,
.solutions-page-hero .eyebrow {
    margin: 0;
    color: #1687d9;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.projects-page-hero h1,
.solutions-page-hero h1 {
    margin: 22px 0 18px;
    color: #102342;
    font-size: clamp(46px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: 0;
}

.projects-page-hero p:not(.eyebrow),
.solutions-page-hero p:not(.eyebrow) {
    margin: 0;
    color: #53657d;
    font-size: 18px;
    line-height: 1.6;
}

.projects-listing-section {
    padding: 64px 0 80px;
}

.projects-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.projects-listing-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 43, 82, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projects-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 43, 82, 0.1);
}

.projects-listing-card-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #eef4f9;
}

.projects-listing-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.projects-listing-card:hover .projects-listing-card-image img {
    transform: scale(1.025);
}

.projects-listing-image-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #60728d;
    font-size: 15px;
}

.projects-listing-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 26px 26px;
}

.projects-listing-type-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #eef7ff;
    color: #087fc7;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.projects-listing-card h2 {
    margin: 0 0 14px;
    color: #0b2349;
    font-size: clamp(24px, 1.65vw, 30px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
}

.projects-listing-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 16px;
}

.projects-listing-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #60728d;
    font-size: 14px;
    line-height: 1.4;
}

.projects-listing-meta-item svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #1687d9;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.projects-listing-description {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: #60728d;
    font-size: 15px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 1099px) {
    .projects-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 699px) {
    .projects-listing-container,
    .solutions-listing-container {
        width: calc(100% - 32px);
    }

    .projects-page-hero,
    .solutions-page-hero {
        padding: 48px 0;
    }

    .projects-page-hero h1,
    .solutions-page-hero h1 {
        font-size: clamp(38px, 11vw, 44px);
    }

    .projects-page-hero p:not(.eyebrow),
    .solutions-page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .projects-listing-section {
        padding: 40px 0 60px;
    }

    .projects-listing-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .projects-listing-card-body {
        padding: 22px 20px 24px;
    }
}
