/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Filter Buttons */
.cp-filter {
    margin-bottom: 40px;
    text-align: center;
}

.cp-filter button {
    margin: 0 10px 10px 0;
    padding: 5px 20px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    color: #64748B;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'DM Sans';
}

.cp-filter button.active,
.cp-filter button:hover {
    background: #3c506d;
    color: white;
    border-color: #3c506d;
}

/* Portfolio Grid */
.cp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cp-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    font-family: "DM Sans", sans-serif;
}

.cp-card:hover {
    transform: translateY(-5px);
}

/* Thumbnail */
.cp-thumb {
    position: relative;
    /* aspect-ratio: 16/9; */
}

.cp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-tag-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3c506d;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Content */
.cp-content {
    padding: 20px;
}

.cp-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px 0;
}

.cp-excerpt {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Links */
.cp-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
    justify-content: space-between;
}

.cp-website-btn, .cp-case-study {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cp-website-btn i {
    font-size: 14px;
}

.cp-case-study:hover {
    opacity: 0.8;
}

.cp-website-btn {
    display: block;
    background: #fff;
    color: #3c506d;
    text-align: left;
    padding: 10px 10px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cp-website-btn:hover {
    color: #0085C2;
}

.cp-case-study {
    color: #3c506d !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.3s ease;
}

/* Add these styles */
.cp-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cp-tag {
    background: #F1F5F9;
    color: #64748B;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Adjust excerpt margin */
.cp-excerpt {
    margin-bottom: 15px;
}

/* Replace tag styles with category styles */
.cp-categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cp-category {
    background: #F1F5F9;
    color: #64748B;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .cp-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .cp-portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .cp-filter button {
        margin: 0 5px 10px 0;
        padding: 6px 15px;
        font-size: 13px;
    }
}


