/* Facebook RSS Posts Carousel Styles - Refined for Mateusz Łękawski Theme */
.fb-rpc-carousel {
    padding-bottom: 50px; /* Space for pagination */
    position: relative;
    width: 100%;
}

.fb-rpc-carousel .fb-post-card {
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 10px; /* Padding for the swiper-slide to avoid card clipping */
}

.fb-card-inner {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(38, 55, 121, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(38, 55, 121, 0.05);
}

.fb-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(38, 55, 121, 0.12);
}

.fb-header {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    position: relative;
    /* background: #f8fafc; */
    border-bottom: 1px solid #f1f5f9;
}

.fb-header .profile-image {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #263779;
    object-fit: cover;
}

.fb-header .header-info {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fb-header .page-name {
    font-weight: 700;
    color: #263779;
    font-size: 15px;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.fb-header .post-date {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    font-family: 'Inter', sans-serif;
}

.fb-header .facebook-icon {
    margin-left: auto;
    color: #263779;
}

.fb-header .facebook-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.post-content {
    padding: 16px;
    flex-grow: 1;
}

.post-content p {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.read-more-btn {
    color: #E31E24;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* Content Type Indicators */
.content-type-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.content-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.content-indicator svg {
    width: 14px;
    height: 14px;
}

.video-indicator { background: #fee2e2; color: #E31E24; }
.shared-indicator { background: #f1f5f9; color: #475569; }
.images-indicator { background: #e0f2fe; color: #263779; }

.post-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

.post-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-actions {
    display: flex;
    border-top: 1px solid #f1f5f9;
    padding: 8px 4px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

.action-btn:hover {
    background: #f8fafc;
    color: #263779;
}

.action-btn img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    opacity: 0.7;
}

/* Swiper Navigation & Pagination */
.fb-rpc-carousel .swiper-button-next,
.fb-rpc-carousel .swiper-button-prev {
    color: #263779;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fb-rpc-carousel .swiper-button-next::after,
.fb-rpc-carousel .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 800;
}

.fb-rpc-carousel .swiper-pagination-bullet {
    background: #263779;
    opacity: 0.3;
}

.fb-rpc-carousel .swiper-pagination-bullet-active {
    background: #E31E24;
    opacity: 1;
}

@media (max-width: 768px) {
    .fb-rpc-carousel .swiper-button-next,
    .fb-rpc-carousel .swiper-button-prev {
        display: none;
    }
}