.portfolio-carousel-24930c53 {
    width: 100%;
    /* The container needs to show slides in a row */
    display: block; 
    overflow: hidden;
    padding: 20px 0 50px 0;
}

/* Ensure Swiper wrapper handles horizontal flex correctly */
.portfolio-carousel-24930c53 .swiper-wrapper {
    display: flex;
    flex-direction: row;
}

/* Restore exact sizing mapping for .swiper-slide to make columns logic work */
.swiper-slide.pc-card-wrapper-24930c53 {
    height: auto;
    width: 100%; /* Needed for swiper to calculate fractional widths properly */
    flex-shrink: 0;
}

.pc-card-inner-24930c53 {
    display: flex;
    flex-direction: column;
    background: #fdfbf7;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    min-height: 400px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid transparent;
}

.pc-card-header-24930c53 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.pc-card-num-24930c53 {
    transition: color 0.3s ease;
}

.pc-card-tag-24930c53 {
    background: #e8e8e8;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #333;
    border: 1px solid transparent; /* default border */
    transition: all 0.3s ease;
}

.pc-card-media-24930c53 {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: inherit;
    margin-bottom: 40px;
}

.pc-card-media-24930c53 img {
    max-width: 80%;
    max-height: 120px;
    object-fit: contain;
}

.pc-card-title-24930c53 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #111;
    margin: 0;
    transition: color 0.3s ease;
}

.pc-card-footer-24930c53 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
}

.pc-card-desc-24930c53 {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    max-width: 60%;
    transition: color 0.3s ease;
}

.pc-card-btn-24930c53 {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    color: #111;
    background-color: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
