/* Borneo Articles Styles */
:root {
    --borneo-yellow: #ffd600;
    --borneo-red: #e12726;
    --borneo-dark: #111827;
    --borneo-bg: #f8fafc;
}

.borneo-articles-wrapper {
    width: 100%;
    padding: 0 0 80px;
    background: var(--borneo-bg);
    font-family: 'Poppins', sans-serif;
    position: relative;
    min-height: 400px;
}

.borneo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.borneo-articles-wrapper .borneo-articles-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    padding: 100px 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 50px !important;
}

.borneo-articles-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.borneo-articles-wrapper .borneo-kicker {
    display: inline-block !important;
    color: var(--borneo-yellow) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 15px !important;
    background: rgba(255, 214, 0, 0.1) !important;
    padding: 6px 20px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 214, 0, 0.3) !important;
}

.borneo-articles-wrapper .borneo-page-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 56px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
}

.borneo-articles-wrapper .borneo-page-desc {
    font-size: 18px !important;
    color: #94a3b8 !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.8 !important;
}

.borneo-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.borneo-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.borneo-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.borneo-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.borneo-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.borneo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.borneo-article-card:hover .borneo-card-image img {
    transform: scale(1.1);
}

.borneo-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--borneo-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.borneo-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.borneo-card-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.borneo-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--borneo-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.borneo-card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.borneo-card-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--borneo-red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.borneo-card-more i {
    transition: transform 0.2s ease;
}

.borneo-article-card:hover .borneo-card-more i {
    transform: translateX(5px);
}

/* Skeleton Loading */
.borneo-skeleton {
    background: #e2e8f0;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 8px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to { background-position-x: -200%; }
}

.borneo-skeleton-card {
    height: 350px;
    background: #fff;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.borneo-skeleton-img { height: 200px; width: 100%; border-radius: 0; }
.borneo-skeleton-content { padding: 20px; }
.borneo-skeleton-title { height: 24px; width: 80%; margin-bottom: 12px; }
.borneo-skeleton-text { height: 16px; width: 100%; margin-bottom: 8px; }
.borneo-skeleton-text-short { height: 16px; width: 60%; }

/* SPA Transition Loading */
.borneo-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #eee;
    z-index: 10000;
    display: none;
}

.borneo-page-loader-bar {
    height: 100%;
    width: 0;
    background: var(--borneo-red);
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .borneo-articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .borneo-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .borneo-articles-grid {
        grid-template-columns: 1fr;
    }
}
