/**
 * LinkedIn Carousel Styles
 */

.linkedin-carousel-container {
    padding: 0 0 40px 0;
    background: #ffffff;
}

.linkedin-carousel-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #0077b5;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.linkedin-carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.linkedin-carousel {
    overflow: hidden;
    padding: 20px 50px;
}

.linkedin-post-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
}

.linkedin-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 119, 181, 0.2);
}

.post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e9ecef;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.linkedin-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    flex-grow: 1;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.post-date {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-post {
    background: #0077b5;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.view-post:hover {
    background: #005885;
    color: #ffffff;
    text-decoration: none;
}

/* Botones de navegación Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #0077b5;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0077b5;
    color: #ffffff;
}

/* Paginación Swiper */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    background: #0077b5;
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #0077b5;
}

/* Responsive */
@media (max-width: 768px) {
    .linkedin-carousel-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .linkedin-carousel {
        padding: 20px 10px;
    }

    .post-body {
        padding: 15px;
    }

    .post-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .view-post {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .linkedin-carousel-title {
        font-size: 20px;
    }

    .post-image {
        height: 150px;
    }

    .post-text {
        font-size: 13px;
    }
}
