/* Exinform Carousel Styles */

.exinform-carousel-wrapper {
    width: 100%;
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.exinform-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.exinform-slides {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
}

.exinform-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    animation-duration: 0.6s;
}

.exinform-slide.active {
    opacity: 1;
    z-index: 10;
}

.exinform-slide.slide-exit {
    animation: slideOut 0.6s ease-in-out forwards;
}

.exinform-slide-content {
    display: flex;
    height: 100%;
    align-items: stretch;
    gap: 0;
}

.exinform-slide-image {
    flex: 0 0 50%;
    overflow: hidden;
    background: #e5e7eb;
}

.exinform-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.exinform-slide.active .exinform-slide-image img {
    transform: scale(1.05);
}

.exinform-slide-text {
    flex: 0 0 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.exinform-slide-category {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 15px;
}

.exinform-slide-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px 0;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.exinform-slide-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.exinform-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    width: fit-content;
    border: 2px solid transparent;
}

.exinform-slide-link:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.exinform-arrow {
    transition: transform 0.3s ease;
}

.exinform-slide-link:hover .exinform-arrow {
    transform: translateX(4px);
}

/* Navigation Buttons */
.exinform-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    color: #1e3a8a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exinform-nav-btn:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.exinform-nav-prev {
    left: 20px;
}

.exinform-nav-next {
    right: 20px;
}

.exinform-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Pagination Dots */
.exinform-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 0 0;
    flex-wrap: wrap;
}

.exinform-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.exinform-dot:hover {
    border-color: #1e3a8a;
    transform: scale(1.2);
}

.exinform-dot.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: scale(1.3);
}

/* No Posts Message */
.exinform-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 14px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    margin: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exinform-slide-content {
        flex-direction: column;
    }

    .exinform-slide-image {
        flex: 0 0 40%;
        order: -1;
    }

    .exinform-slide-text {
        flex: 0 0 60%;
        padding: 20px;
        justify-content: flex-start;
    }

    .exinform-slide-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .exinform-slide-excerpt {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .exinform-slide-link {
        font-size: 12px;
        padding: 8px 16px;
    }

    .exinform-nav-btn {
        width: 38px;
        height: 38px;
    }

    .exinform-nav-prev {
        left: 10px;
    }

    .exinform-nav-next {
        right: 10px;
    }

    .exinform-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .exinform-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .exinform-carousel {
        border-radius: 8px;
    }

    .exinform-slide-image {
        flex: 0 0 35%;
    }

    .exinform-slide-text {
        flex: 0 0 65%;
        padding: 15px;
    }

    .exinform-slide-category {
        font-size: 9px;
        padding: 4px 10px;
    }

    .exinform-slide-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .exinform-slide-excerpt {
        font-size: 12px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .exinform-slide-link {
        font-size: 11px;
        padding: 6px 12px;
    }

    .exinform-nav-btn {
        width: 32px;
        height: 32px;
    }

    .exinform-nav-prev {
        left: 5px;
    }

    .exinform-nav-next {
        right: 5px;
    }

    .exinform-pagination {
        padding-top: 15px;
    }
}

/* Animations */
@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Print Styles */
@media print {
    .exinform-nav-btn,
    .exinform-pagination {
        display: none;
    }
}
