/* Reset Basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Header & Navigasi */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: -0.5px;
}

.logo span { color: #0f172a; }
.logo.white { color: #ef4444; }
.logo.white span { color: #ffffff; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.nav-links a:hover, .nav-links a.active {
    color: #dc2626;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 12px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    background: #dc2626;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
}

/* Page Header */
.page-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 28px 0;
    margin-bottom: 32px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.breadcrumb li+li:before {
    content: "/\00a0";
    padding: 0 6px;
}

.breadcrumb a { color: #64748b; }
.breadcrumb .active { color: #dc2626; }

.page-header h1 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 6px;
}

.page-header p {
    color: #64748b;
    font-size: 15px;
}

/* Main Layout */
.main-content {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.news-section { flex: 2; }
.sidebar { flex: 1; }

/* Featured News */
.featured-news {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
}

.featured-img {
    position: relative;
    width: 100%;
    height: 360px;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #dc2626;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.featured-content { padding: 24px; }

.meta-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    gap: 16px;
}

.featured-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-content h2 a:hover { color: #dc2626; }

.featured-content p {
    color: #475569;
    font-size: 14px;
    margin-bottom: 16px;
}

.read-more {
    color: #dc2626;
    font-weight: 700;
    font-size: 14px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content { padding: 16px; }

.card-content .date {
    font-size: 12px;
    color: #94a3b8;
}

.card-content h3 {
    font-size: 15px;
    margin: 6px 0;
    line-height: 1.4;
}

.card-content h3 a:hover { color: #dc2626; }

.card-content p {
    font-size: 13px;
    color: #64748b;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.pagination a {
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #334155;
}

.pagination a.active, .pagination a:hover:not(.disabled) {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.pagination a.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* Sidebar Widgets */
.widget {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 6px;
}

.trending-list { list-style: none; }

.trending-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.trending-list .number {
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
}

.trending-list a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.trending-list a:hover { color: #dc2626; }

/* Newsletter */
.newsletter-widget {
    background: #0f172a;
    color: #ffffff;
    border: none;
}

.newsletter-widget p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.newsletter-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #334155;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #1e293b;
    color: #fff;
    outline: none;
}

.newsletter-form button {
    width: 100%;
    padding: 10px;
    background: #dc2626;
    border: none;
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 32px;
}

.footer-info p {
    font-size: 13px;
    margin-top: 8px;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 6px; font-size: 13px; }
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    background: #020617;
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    border-top: 1px solid #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content { flex-direction: column; }
    .news-grid { grid-template-columns: 1fr; }
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .featured-img { height: 220px; }
    .footer-container { flex-direction: column; gap: 24px; }
}
