/* 
 * Stylesheet for My Custom Portfolio 
 */

.mcp-portfolio-wrapper {
    font-family: inherit;
    margin: 20px 0;
}

/* Filter Buttons */
.mcp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.mcp-filter-btn {
    padding: 12px 25px;
    border-radius: 20px;
    background-color: #f2f2f2;
    color: #555;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    line-height: 1;
    font-weight: 400;
    border: 1px solid #CFCFCF;
}
.mcp-filter-btn:hover {
    background-color: #e2e2e2;
}
.mcp-filter-btn.active {
    background-color: #8b0000;
    color: #fff;
}

/* Grid Layout */
.mcp-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
@media (min-width: 768px) {
    .mcp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Design */
.mcp-card {
    background-color: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
    color: inherit !important;
}
.mcp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.mcp-card.hidden {
    display: none;
}
.mcp-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.mcp-card-content {
    padding: 20px;
    flex-grow: 1;
}
.mcp-card-cat {
    color: #8b0000;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: bold;
}
.mcp-card-title {
    font-size: 18px;
    color: #000;
    margin: 0 0 15px 0;
    font-weight: bold;
    line-height: 1.3;
}
.mcp-card-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.mcp-card-meta:last-child {
    margin-bottom: 0;
}
.mcp-card-meta svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    stroke: #8b0000;
    flex-shrink: 0;
}