* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e293b;
}

/* HERO BANNER dengan gambar latar */
.hero-banner {
    position: relative;
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 1rem;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.search-area {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 48px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-area input {
    flex: 1;
    border: none;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    outline: none;
}

.search-area button {
    background: #3b82f6;
    border: none;
    padding: 0 1.5rem;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.search-area button:hover {
    background: #2563eb;
}

/* Hamburger menu */
.hamburger-menu {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 10;
    cursor: pointer;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.2s;
}

/* Mobile nav (dropdown) */
.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #1e293b;
    border-radius: 12px;
    padding: 0.8rem 0;
    min-width: 160px;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.mobile-nav.show {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 0.7rem 1.2rem;
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.mobile-nav a:hover {
    background: #3b82f6;
}

/* Sort bar */
.sort-bar {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.sort-buttons {
    display: flex;
    gap: 0.5rem;
}

.sort-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
}

.sort-btn.active {
    background: #3b82f6;
    color: white;
}

/* News grid */
.news-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid #eef2ff;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f1f5f9;
}

.card-content {
    padding: 1.2rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.card-desc {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.page-btn.active {
    background: #3b82f6;
    color: white;
}

/* Loading */
.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-message {
    text-align: center;
    padding: 2rem;
    background: #fef2f2;
    border-radius: 1rem;
    color: #dc2626;
}

/* Responsif */
@media (max-width: 768px) {
    .hero-banner { height: 320px; }
    .banner-content h1 { font-size: 2rem; }
    .news-main { padding: 1rem; }
    .news-grid { gap: 1rem; }
}
/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.breadcrumb-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb-item {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #1e293b;
    font-weight: 500;
    cursor: default;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 1rem;
}