.elementor-14212 .elementor-element.elementor-element-d25a539{--display:flex;}.elementor-14212 .elementor-element.elementor-element-920487e{--spacer-size:50px;}.elementor-14212 .elementor-element.elementor-element-32c6471{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-c501dc7 *//* === API BERITA GRID === */
.api-berita-wrapper {
    margin: 30px 0;
}

.api-berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.api-berita-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.api-berita-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}


.api-berita-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.api-berita-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.api-berita-item:hover .api-berita-thumb img {
    transform: scale(1.1);
}

.api-berita-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.no-image-placeholder {
    font-size: 60px;
    opacity: 0.5;
}

.api-berita-content {
    display: block;
    padding: 20px;
    text-decoration: none !important;
    color: inherit;
}

.api-berita-date {
    display: inline-block;
    font-size: 13px;
    color: #3498db;
    margin-bottom: 10px;
    font-weight: 500;
}

.api-berita-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.api-berita-item:hover .api-berita-title {
    color: #3498db;
}

.api-berita-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.api-berita-error {
    padding: 20px;
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}

/* === PAGINATION STYLES === */
.api-berita-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0 20px 0;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 18px;
    background: #fff;  /* Hijau */
    color: #27ae60 !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.page-link:hover {
    background: #fff;  /* Hijau lebih gelap saat hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    color: #27ae60 !important;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-number {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-number:hover {
    background: #e9ecef;
    border-color: #3498db;
    transform: translateY(-2px);
}

.page-number.active {
    background: #3498db;
    color: #fff !important;
    border-color: #3498db;
    cursor: default;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.page-dots {
    padding: 0 5px;
    color: #999;
    font-weight: 500;
}

.api-berita-info {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

/* === RESPONSIVE === */
@media screen and (max-width: 1024px) {
    .api-berita-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .api-berita-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .api-berita-pagination {
        gap: 8px;
    }
    
    .page-link {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .page-number {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .api-berita-thumb {
        height: 180px;
    }
    
    .api-berita-content {
        padding: 15px;
    }
    
    .api-berita-title {
        font-size: 16px;
    }
    
    .page-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .page-number {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .api-berita-info {
        font-size: 12px;
    }
    
    .no-image-placeholder {
        font-size: 50px;
    }
}/* End custom CSS */