/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Slider Post Plugin Styles */
.spp-container {
    max-width: 1920px !important;
    margin: 0 auto !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #fff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.spp-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 32px !important;
    padding: 80px 80px 0 80px !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}

.spp-title-section {
    width: 400px !important;
    flex-shrink: 0 !important;
    padding-right: 32px !important;
}

.spp-title {
    font-family: 'Inter' !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    line-height: 56px !important;
    letter-spacing: 0% !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    color: #026938 !important;
}

.spp-title .highlight {
    color: #CF261F !important;
}

.spp-description {
    font-family: 'Inter' !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0% !important;
    color: #565656 !important;
    margin-bottom: 30px !important;
}

.spp-view-all {
    width: 140px !important;
    background: #026938 !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: background 0.3s ease !important;
    font-family: 'Inter' !important;
}

.spp-view-all:hover {
    background: #024d2a !important;
    color: white !important;
    text-decoration: none !important;
}

.spp-slider-container {
    flex: 1 !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Reverse Layout */
.spp-header.spp-reverse {
    flex-direction: row-reverse !important;
}

.spp-header.spp-reverse .spp-title-section {
    padding-right: 0 !important;
    padding-left: 32px !important;
}

.spp-slider {
    display: flex !important;
    gap: 20px !important;
    transition: transform 0.5s ease !important;
    width: fit-content !important;
    box-sizing: border-box !important;
}

.spp-slide {
    max-width: 423.67px !important;
    height: auto !important;
    flex-shrink: 0 !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.spp-slide-image {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    background: #f8f9fa !important;
}

.spp-slide-content {
    padding: 24px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.spp-slide-content > div:first-child {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spp-slide-content > div:last-child {
    margin-top: auto;
}

.spp-slide-title {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #282828;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spp-slide-excerpt {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #565656;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spp-slide-meta {
    display: flex;
    align-items: center;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #9F9F9F;
}

.spp-slide-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.spp-slide-date::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    background-image: url('../icons/Icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.spp-navigation {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 40px !important;
    width: 100% !important;
}

.spp-nav-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    width: 48px !important;
    height: 48px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #666 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.spp-nav-btn:hover {
    background: transparent !important;
    color: #026938 !important;
    transform: scale(1.05) !important;
}

.spp-nav-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.spp-nav-btn:disabled:hover {
    background: transparent !important;
    color: #666 !important;
    transform: none !important;
}

/* Custom PNG icons for navigation buttons */
.spp-prev-btn::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../icons/Icon (1).png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.spp-next-btn::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../icons/Icon (2).png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.spp-dots {
    display: flex !important;
    gap: 8px !important;
}

.spp-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #D3D3D3 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}

.spp-dot.active {
    width: 48px !important;
    height: 6px !important;
    border-radius: 80px !important;
    background: #026938 !important;
    opacity: 1 !important;
}

/* Responsive Design - Complete Breakpoints */

/* Extra Large Desktop - 1920px and up */
@media (min-width: 1920px) {
    .spp-container {
        max-width: 1800px;
        padding: 60px 40px;
    }
    
    .spp-title {
        font-size: 42px;
    }
    
    .spp-description {
        font-size: 16px;
        max-width: 400px;
    }
    
    .spp-slide-content {
        padding: 25px;
    }
    
    .spp-slide-title {
        font-size: 18px;
    }
}

/* Large Desktop - 1560px */
@media (max-width: 1560px) {
    .spp-container {
        max-width: 1400px;
        padding: 50px 30px;
    }
    
    .spp-title {
        font-size: 38px;
    }
}

/* Desktop - 1440px */
@media (max-width: 1440px) {
    .spp-container {
        max-width: 1300px;
        padding: 45px 25px;
    }
    
    .spp-title {
        font-size: 36px;
    }
}

/* Medium Desktop - 1280px */
@media (max-width: 1280px) {
    .spp-container {
        max-width: 1200px;
        padding: 40px 20px;
    }
    
    .spp-title {
        font-size: 32px;
    }
    
    .spp-header {
        gap: 35px;
        padding: 40px 40px 0 40px;
    }
}

/* Small Desktop/Large Tablet - 980px */
@media (max-width: 980px) {
    .spp-container {
        padding: 35px 20px !important;
    }
    
    .spp-header {
        flex-direction: column !important;
        gap: 30px !important;
        padding: 10px 10px 0 10px !important;
    }
    
    .spp-title-section {
        width: 100% !important;
        padding-right: 0 !important;
        text-align: center !important;
    }
    
    .spp-title {
        font-size: 36px !important;
    }
    
    .spp-description {
        max-width: 600px !important;
        margin: 0 auto 30px !important;
    }
    
    .spp-slide {
        width: 100% !important;
        height: auto !important;
    }
    
    .spp-slide-content {
        flex: 1 !important;
    }
    
    /* Reset reverse layout on mobile */
    .spp-header.spp-reverse {
        flex-direction: column !important;
    }
    
    .spp-header.spp-reverse .spp-title-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Tablet - 780px */
@media (max-width: 780px) {
    .spp-container {
        padding: 30px 15px;
    }
    
    .spp-title {
        font-size: 32px;
    }
    
    .spp-description {
        font-size: 14px;
    }
    
    .spp-slide {
        width: 100%;
        height: auto;
    }
    
    .spp-slider {
        gap: 15px;
    }
    
    .spp-slide-content {
        padding: 20px;
        flex: 1;
    }
    
    .spp-navigation {
        margin-top: 25px;
    }
}

/* Mobile Large - 500px */
@media (max-width: 500px) {
    .spp-container {
        padding: 25px 15px;
    }
    
    .spp-title {
        font-size: 24px;
    }
    
    .spp-description {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .spp-view-all {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .spp-slide-content {
        padding: 15px;
    }
    
    .spp-slide-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .spp-slide-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .spp-slide-meta {
        font-size: 12px;
    }
    
    .spp-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .spp-dots {
        gap: 6px;
    }
    
    .spp-dot {
        width: 6px;
        height: 6px;
    }
}

/* Mobile Small - 320px and below */
@media (max-width: 320px) {
    .spp-container {
        padding: 20px 10px;
    }
    
    .spp-title {
        font-size: 22px;
    }
    
    .spp-slide-content {
        padding: 12px;
    }
    
    .spp-slide-title {
        font-size: 14px;
    }
    
    .spp-slide-excerpt {
        font-size: 12px;
    }
}

/* Loading Animation */
.spp-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #026938;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
