/* Reset Basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', 'Segoe UI', serif; /* Font Georgia memberikan nuansa editorial/opini */
}

body {
    background-color: #fcfbf9; /* Nuansa krem lembut ala koran/majalah */
    color: #2b2b2b;
    line-height: 1.7;
}

/* Mengembalikan Sans-Serif untuk UI Navigasi & Tombol */
.navbar, .btn-submit, .badge-opinion, .meta-info, .breadcrumb, input, button, small {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    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 #eaeaea;
    padding: 32px 0;
    margin-bottom: 36px;
}

.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: 32px;
    color: #111;
    margin-bottom: 6px;
}

.page-header p {
    color: #555;
    font-size: 16px;
}

/* Layout Utama */
.main-content {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.opinion-section { flex: 2; }
.sidebar { flex: 1; }

/* Opini Utama (Featured) */
.featured-opinion {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.author-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dc2626;
}

.author-info h3 {
    font-size: 18px;
    color: #111;
}

.author-role {
    font-size: 13px;
    color: #666;
    font-family: 'Segoe UI', sans-serif;
}

.badge-opinion {
    background: #fef2f2;
    color: #dc2626;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.featured-opinion h2 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.featured-opinion h2 a:hover {
    color: #dc2626;
}

.pull-quote {
    font-style: italic;
    font-size: 18px;
    color: #444;
    border-left: 3px solid #dc2626;
    padding-left: 16px;
    margin: 20px 0;
    line-height: 1.5;
}

.featured-opinion p {
    color: #444;
    font-size: 15px;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
    color: #777;
    font-family: 'Segoe UI', sans-serif;
}

.article-footer .read-more {
    margin-left: auto;
    color: #dc2626;
    font-weight: 700;
}

/* List Artikel Opini */
.opinion-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.opinion-item {
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
}

.item-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.item-content { flex: 1; }

.item-author {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.item-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.item-content h3 a:hover {
    color: #dc2626;
}

.item-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.item-content .date {
    font-size: 12px;
    color: #888;
    font-family: 'Segoe UI', sans-serif;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
    font-family: 'Segoe UI', sans-serif;
}

.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: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    margin-bottom: 16px;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 6px;
}

/* Kirim Opini Widget */
.write-widget {
    background: #0f172a;
    color: #ffffff;
    border: none;
    text-align: center;
}

.write-widget .widget-icon {
    font-size: 32px;
    color: #ef4444;
    margin-bottom: 12px;
}

.write-widget h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    margin-bottom: 8px;
}

.write-widget p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 18px;
    font-family: 'Segoe UI', sans-serif;
}

.btn-submit {
    display: block;
    background: #dc2626;
    color: #ffffff;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.btn-submit:hover {
    background: #b91c1c;
}

/* Widget Kolumnis */
.columnist-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.columnist-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.columnist-card img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.columnist-card h4 {
    font-size: 14px;
    line-height: 1.2;
}

.columnist-card small {
    color: #666;
    font-size: 12px;
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 40px;
    font-family: 'Segoe UI', sans-serif;
}

.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;
}

/* Responsif */
@media (max-width: 768px) {
    .main-content { flex-direction: column; }
    .opinion-item { flex-direction: column; }
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .footer-container { flex-direction: column; gap: 24px; }
}
