/* Portfolio Carousel Flip — a73d33df */

.pcf-a73d33df-wrapper {
    position: relative;
    padding: 0 0 40px;
}

/* ── Filters ── */
.pcf-a73d33df-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.pcf-a73d33df-filter-btn {
    border: 2px solid #e0e0e0;
    background: transparent;
    padding: 8px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pcf-a73d33df-filter-btn:hover {
    border-color: #e94560;
    transform: translateY(-2px);
}

.pcf-a73d33df-filter-btn.pcf-a73d33df-active {
    border-color: #e94560;
    background: #e94560;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

/* ── Carousel Outer (holds nav + track side by side) ── */
.pcf-a73d33df-carousel-outer {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* ── Carousel Track (the swiper lives here) ── */
.pcf-a73d33df-carousel-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.pcf-a73d33df-swiper {
    overflow: hidden;
}

/* ── Card ── */
.pcf-a73d33df-card {
    height: 400px;
    perspective: 1000px;
}

.pcf-a73d33df-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.pcf-a73d33df-card:hover .pcf-a73d33df-card-inner {
    transform: rotateY(180deg);
}

.pcf-a73d33df-front,
.pcf-a73d33df-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

/* ── Front ── */
.pcf-a73d33df-front {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.pcf-a73d33df-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    transition: background 0.4s ease;
}

.pcf-a73d33df-card:hover .pcf-a73d33df-front::after {
    background: rgba(0,0,0,0.35);
}

.pcf-a73d33df-front-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
}

.pcf-a73d33df-front-cat {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.pcf-a73d33df-front-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ── Back ── */
.pcf-a73d33df-back {
    background: #1a1a2e;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcf-a73d33df-back-content {
    padding: 30px;
    text-align: center;
}

.pcf-a73d33df-back-cat {
    display: inline-block;
    color: #e94560;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.pcf-a73d33df-back-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.3;
}

.pcf-a73d33df-back-excerpt {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.pcf-a73d33df-back-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #e94560;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.pcf-a73d33df-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
    color: #fff;
}

/* ── Navigation Arrows ── */
.pcf-a73d33df-nav-prev,
.pcf-a73d33df-nav-next {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #e94560;
    border: 2px solid #e94560;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 50;
    pointer-events: auto;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    line-height: 1;
    padding: 0;
    outline: none;
}

.pcf-a73d33df-nav-prev:hover,
.pcf-a73d33df-nav-next:hover {
    background: #e94560;
    color: #fff;
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.pcf-a73d33df-nav-prev:active,
.pcf-a73d33df-nav-next:active {
    transform: scale(0.92);
}

/* ── Pagination ── */
.pcf-a73d33df-pagination {
    margin-top: 20px;
    text-align: center;
}

.pcf-a73d33df-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.pcf-a73d33df-pagination .swiper-pagination-bullet-active {
    background: #e94560;
    transform: scale(1.3);
}

/* ── Slide hidden by filter ── */
.pcf-a73d33df-slide.pcf-a73d33df-hidden {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .pcf-a73d33df-carousel-outer {
        gap: 8px;
    }

    .pcf-a73d33df-nav-prev,
    .pcf-a73d33df-nav-next {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .pcf-a73d33df-filters {
        gap: 6px;
    }

    .pcf-a73d33df-filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}
