/* =============================================
   JADI AUDITOR — Portal Style
   Tema: Portal Berita Modern — Putih + Forest Green
   ============================================= */

:root {
    --bg: #ffffff;
    --bg2: #f4f6f4;
    --bg3: #e8efe8;
    --card: #ffffff;
    --card-hover: #f7faf7;
    --border: #d8e4d8;
    --border-light: #e8efe8;
    --text: #1a2e1a;
    --text-dim: #4a6a4a;
    --text-muted: #7a9a7a;
    --text-light: #999;
    --accent: #2d8a4e;
    --accent-dim: #1e6b37;
    --accent-light: #4ade80;
    --accent-glow: rgba(45,138,78,0.06);
    --accent-glow-strong: rgba(45,138,78,0.18);
    --gold: #b8860b;
    --gold-light: #fef9e7;
    --radius: 10px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --font: 'Inter', system-ui, sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
    --shadow: 0 2px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.08);
    --max-width: 1260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg2);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── TOP BAR ── */
.topbar {
    background: #1a2e1a;
    color: #9ab89a;
    font-size: 11px;
    padding: 6px 0;
}
.topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.topbar-links { display: flex; gap: 16px; }
.topbar-links a { color: #9ab89a; text-decoration: none; }
.topbar-links a:hover { color: #fff; }

/* ── HEADER ── */
.portal-header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 24px;
}
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo-portal { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}
.logo-text { font-size: 26px; font-weight: 600; color: var(--text); }
.logo-text-bold { font-weight: 900; color: var(--accent); }
.header-tagline {
    font-size: 12px; color: var(--text-muted);
    border-left: 1px solid var(--border);
    padding-left: 12px;
}
.search-form { display: flex; }
.search-input {
    width: 280px; padding: 10px 14px;
    border: 1px solid var(--border);
    border-right: none; border-radius: var(--radius-xs) 0 0 var(--radius-xs);
    font-size: 13px; font-family: var(--font);
    outline: none;
}
.search-input:focus { border-color: var(--accent); }
.search-btn {
    background: var(--accent); color: #fff; border: none;
    padding: 10px 16px; border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    cursor: pointer; font-size: 14px;
}

/* ── NAVIGATION ── */
.portal-nav {
    background: #fff;
    border-bottom: 2px solid var(--accent);
    position: sticky; top: 0; z-index: 999;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex; align-items: center;
    padding: 0 20px;
    gap: 4px;
}
.nav-item {
    display: block; padding: 14px 18px;
    text-decoration: none; color: var(--text-dim);
    font-size: 13px; font-weight: 600;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.nav-item:hover, .nav-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.nav-auth { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-login {
    color: var(--text-dim); text-decoration: none;
    font-size: 13px; font-weight: 500; padding: 8px 12px;
}
.nav-login:hover { color: var(--accent); }
.nav-register {
    background: var(--accent); color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 600; padding: 8px 16px;
    border-radius: var(--radius-xs);
    transition: background 0.2s;
}
.nav-register:hover { background: var(--accent-dim); }

/* ── HEADLINE ── */
.headline { background: #fff; padding: 28px 0 36px; border-bottom: 1px solid var(--border-light); }
.headline-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    padding: 0 20px;
}
.headline-badge {
    display: inline-block; background: var(--accent); color: #fff;
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 4px 12px; border-radius: 3px; letter-spacing: 1px;
    margin-bottom: 12px;
}
.headline-featured h1 {
    font-family: var(--font-serif);
    font-size: 28px; font-weight: 900; line-height: 1.3;
    margin-bottom: 10px;
}
.headline-featured h1 a { color: var(--text); text-decoration: none; }
.headline-featured h1 a:hover { color: var(--accent); }
.headline-featured > p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 12px; }
.headline-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; align-items: center; }
.meta-badge-premium {
    background: var(--gold); color: #fff;
    font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px;
    letter-spacing: 1px;
}

.headline-side { display: flex; flex-direction: column; gap: 18px; }
.headline-side-item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}
.headline-side-item:last-child { border-bottom: none; padding-bottom: 0; }
.hs-source {
    display: inline-block; font-size: 10px; text-transform: uppercase;
    font-weight: 700; color: var(--accent); letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.headline-side-item h3 { font-size: 14px; font-weight: 700; line-height: 1.4; }
.headline-side-item h3 a { color: var(--text); text-decoration: none; }
.headline-side-item h3 a:hover { color: var(--accent); }

/* ── MAIN LAYOUT ── */
.portal-main {
    max-width: var(--max-width);
    margin: 32px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    padding: 0 20px;
}
.portal-content { min-width: 0; }
.portal-sidebar { min-width: 0; }

/* ── SECTION TITLE BAR ── */
.section-title-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.section-title-bar h2 { font-size: 18px; font-weight: 800; color: var(--text); }
.see-all { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 600; }
.see-all:hover { text-decoration: underline; }
.premium-label {
    font-size: 11px; color: var(--gold); font-weight: 700;
    background: var(--gold-light); padding: 4px 12px; border-radius: 50px;
}

/* ── LENSA AUDITOR ── */
.lensa-title-bar {
    border-bottom: 3px solid #1565c0;
    background: linear-gradient(to right, #e3f2fd, transparent);
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}
.lensa-title-bar h2 { color: #1565c0; font-size: 20px; }
.lensa-subtitle {
    font-size: 13px; color: #1565c0; font-weight: 500;
    background: #e3f2fd; padding: 4px 12px; border-radius: 50px;
}
.lensa-card {
    border-left: 4px solid #1565c0;
    background: #fafcff;
}
.lensa-card:hover { border-left-color: #0d47a1; box-shadow: 0 4px 20px rgba(21,101,192,0.12); }
.lensa-card-header {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px 0;
}
.lensa-icon { font-size: 18px; }
.lensa-grid { gap: 16px; }
.lensa-thumb-link { display: block; overflow: hidden; }
.lensa-thumb {
    width: 100%; height: 180px; object-fit: cover;
    display: block; transition: transform 0.3s;
}
.lensa-thumb-link:hover .lensa-thumb { transform: scale(1.03); }

/* ── POST GRID ── */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.post-grid-2 { grid-template-columns: repeat(2, 1fr); }
.post-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.25s;
}
.post-card:hover {
    border-color: var(--accent-dim);
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}
.post-thumb {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
}
.post-body { padding: 18px 20px 20px; }
.post-source {
    display: inline-block;
    background: var(--bg2); color: var(--accent);
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 3px 10px; border-radius: 4px;
    margin-bottom: 8px; letter-spacing: 0.5px;
}
.post-badge-premium {
    display: inline-block;
    background: var(--gold); color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 4px;
    margin-bottom: 8px;
}
.post-card h3 {
    font-size: 15px; font-weight: 700; color: var(--text);
    margin-bottom: 6px; line-height: 1.4;
}
.post-card p {
    font-size: 13px; color: var(--text-dim); line-height: 1.65;
    margin-bottom: 10px;
}
.post-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-insight {
    background: var(--bg2); border-left: 3px solid var(--accent);
    padding: 10px 14px; border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    margin: 10px 0; font-size: 12px; color: var(--text-dim);
}
.post-insight strong { color: var(--accent); font-size: 10px; text-transform: uppercase; }
.post-readmore {
    display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
    text-decoration: none; margin-top: 4px;
}
.post-readmore:hover { text-decoration: underline; }

/* ── PREMIUM CARD WITH CLIFFHANGER ── */
.post-premium { border-left: 3px solid var(--gold); }
.cliffhanger-box {
    margin-top: 14px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.cliffhanger-blur {
    padding: 16px;
    filter: blur(5px);
    opacity: 0.45;
    user-select: none;
    pointer-events: none;
}
.cliffhanger-blur h4 {
    font-size: 13px; color: var(--text-muted); margin: 10px 0 4px;
}
.cliffhanger-blur p {
    font-size: 12px; color: var(--text-muted); margin-bottom: 8px;
}
.cliffhanger-unlock {
    display: block; text-align: center; padding: 12px;
    background: var(--accent); color: #fff;
    text-decoration: none; font-size: 14px; font-weight: 700;
    transition: background 0.2s;
}
.cliffhanger-unlock:hover { background: var(--accent-dim); }

/* ── SIDEBAR ── */
.sidebar-widget {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.widget-title {
    font-size: 15px; font-weight: 800; color: var(--text);
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

/* Popular list */
.popular-list { list-style: none; counter-reset: popular; }
.popular-list li {
    counter-increment: popular;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex; gap: 10px; align-items: flex-start;
}
.popular-list li:last-child { border-bottom: none; }
.popular-list li::before {
    content: counter(popular);
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff;
    border-radius: 50%; font-size: 12px; font-weight: 800;
    flex-shrink: 0; margin-top: 2px;
}
.popular-list li:nth-child(1)::before { background: #c62828; }
.popular-list li:nth-child(2)::before { background: #e65100; }
.popular-list li:nth-child(3)::before { background: #f57f17; }
.popular-list li a {
    font-size: 13px; font-weight: 600; color: var(--text);
    text-decoration: none; flex: 1; line-height: 1.4;
}
.popular-list li a:hover { color: var(--accent); }
.popular-list li span {
    font-size: 10px; color: var(--text-muted);
    white-space: nowrap;
}

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-block; padding: 5px 12px;
    background: var(--bg2); color: var(--text-dim);
    font-size: 11px; font-weight: 500; text-decoration: none;
    border-radius: 50px; border: 1px solid transparent;
    transition: all 0.2s;
}
.tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Sidebar pricing */
.sidebar-pricing { background: linear-gradient(135deg, #f8fdf8, #eaf7ea); border-color: var(--accent); }
.sidebar-plan-price {
    font-size: 28px; font-weight: 900; color: var(--text);
}
.sidebar-plan-price span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.sidebar-plan ul li { padding: 4px 0; }

/* Testimoni mini */
.testi-mini {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.testi-mini:last-child { border-bottom: none; }
.testi-mini p { font-size: 12px; color: var(--text-dim); font-style: italic; line-height: 1.6; }
.testi-name { font-size: 11px; color: var(--text-muted); font-weight: 600; display: block; margin-top: 6px; }

/* Newsletter */
.sidebar-newsletter { background: #1a2e1a; color: #9ab89a; border-color: #1a2e1a; }
.sidebar-newsletter .widget-title { color: #fff; border-bottom-color: #3a5a3a; }
.sidebar-newsletter p { color: #9ab89a !important; }

/* ── SECTIONS (FAQ, PRICING, KONTAK — outside main grid) ── */
.section { padding: 60px 24px; }
.section-alt { background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.section-header p { font-size: 15px; color: var(--text-dim); }

/* ── PRICING ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px; max-width: 1100px; margin: 0 auto;
    align-items: stretch;
}
.price-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 28px;
    display: flex; flex-direction: column;
    box-shadow: var(--shadow); transition: all 0.3s; position: relative;
}
.price-card:hover { border-color: var(--accent-dim); box-shadow: var(--shadow-hover); }
.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow-strong);
    transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.05); }
.price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff;
    padding: 6px 20px; border-radius: 50px;
    font-size: 12px; font-weight: 700; white-space: nowrap;
}
.price-header { margin-bottom: 16px; }
.price-header h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.price-desc { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.price-amount { margin-bottom: 20px; }
.price-num { font-size: 32px; font-weight: 900; color: var(--text); }
.price-period { font-size: 14px; color: var(--text-muted); }
.price-features { list-style: none; flex-grow: 1; margin-bottom: 20px; }
.price-features li { font-size: 13px; padding: 6px 0; color: var(--text-dim); }
.btn-price-primary {
    display: block; text-align: center;
    background: var(--accent); color: #fff;
    padding: 12px; border-radius: var(--radius-sm);
    font-weight: 700; text-decoration: none;
    transition: all 0.3s; font-size: 14px;
}
.btn-price-primary:hover { background: var(--accent-dim); }
.btn-price-outline {
    display: block; text-align: center;
    border: 1.5px solid var(--border); color: var(--text);
    padding: 12px; border-radius: var(--radius-sm);
    font-weight: 600; text-decoration: none; font-size: 14px;
    transition: all 0.3s;
}
.btn-price-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── FOOTER ── */
.portal-footer {
    background: #1a2e1a; color: #9ab89a;
    padding: 48px 24px 24px; margin-top: 40px;
}
.portal-footer .footer-inner {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
}
.portal-footer .footer-brand p { font-size: 12px; color: #7a9a7a; margin-top: 6px; }
.portal-footer .footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.portal-footer .footer-col h4 {
    font-size: 12px; color: #fff; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 12px;
}
.portal-footer .footer-col a {
    display: block; font-size: 12px; color: #9ab89a;
    text-decoration: none; padding: 3px 0; transition: color 0.2s;
}
.portal-footer .footer-col a:hover { color: var(--accent-light); }
.portal-footer .footer-bottom {
    text-align: center; padding-top: 24px; margin-top: 32px;
    border-top: 1px solid #3a5a3a; font-size: 11px; color: #7a9a7a;
}

/* ── AUTH PAGES ── */
.auth-page {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px;
    background: var(--bg2);
}
.auth-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%; max-width: 440px;
    box-shadow: var(--shadow);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 18px 0 6px; }
.auth-header p { font-size: 14px; color: var(--text-dim); }
.auth-error {
    background: #fef0f0; border: 1px solid #f5c6cb; color: #c62828;
    padding: 10px 14px; border-radius: var(--radius-xs);
    font-size: 13px; margin-bottom: 16px;
}
.auth-form label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-dim); margin-bottom: 4px; margin-top: 14px;
}
.auth-form input {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-xs);
    font-size: 14px; font-family: var(--font); outline: none;
}
.auth-form input:focus { border-color: var(--accent); }
.btn-auth {
    width: 100%; margin-top: 20px; padding: 13px;
    background: var(--accent); color: #fff; border: none;
    border-radius: var(--radius-xs); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: background 0.2s;
}
.btn-auth:hover { background: var(--accent-dim); }
.auth-switch {
    text-align: center; margin-top: 18px;
    font-size: 13px; color: var(--text-muted);
}
.auth-switch a { color: var(--accent); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ── USER MENU (navbar) ── */
.user-menu { position: relative; cursor: pointer; }
.user-greeting {
    font-size: 13px; font-weight: 600; color: var(--text-dim);
    padding: 8px 12px; display: inline-block;
}
.user-dropdown {
    display: none; position: absolute; top: 100%; right: 0;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-hover);
    min-width: 160px; z-index: 1000; overflow: hidden;
}
.user-menu:hover .user-dropdown { display: block; }
.user-dropdown a {
    display: block; padding: 12px 16px; font-size: 13px;
    color: var(--text); text-decoration: none; transition: background 0.15s;
}
.user-dropdown a:hover { background: var(--bg2); }

/* ── PROFILE PAGE ── */
.profile-page { padding: 40px 24px 80px; background: var(--bg2); min-height: 60vh; }
.profile-container { max-width: 700px; margin: 0 auto; }
.profile-container h2 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 24px; }
.profile-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.profile-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 16px 20px; border-bottom: 1px solid var(--border-light);
    gap: 16px;
}
.profile-item:last-child { border-bottom: none; }
.pi-label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.pi-value { font-size: 14px; font-weight: 600; color: var(--text); text-align: right; }
.pi-value small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.pi-value small a { color: var(--accent); }
.badge-success { color: var(--accent); }
.badge-neutral { color: var(--text-muted); }
.profile-actions { margin-top: 20px; text-align: right; }
.btn-logout {
    display: inline-block; padding: 10px 20px;
    background: #fff; border: 1px solid #e0e0e0; color: #c62828;
    border-radius: var(--radius-xs); text-decoration: none;
    font-size: 13px; font-weight: 600; transition: all 0.2s;
}
.btn-logout:hover { background: #fef0f0; border-color: #f5c6cb; }

/* ── ADMIN ── */
.admin-page { padding: 40px 24px 80px; background: var(--bg2); min-height: 60vh; }
.admin-container { max-width: 1000px; margin: 0 auto; }
.admin-container h2 { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.admin-stat { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px; text-align: center; }
.admin-stat-num { font-size: 36px; font-weight: 900; color: var(--accent); display: block; }
.admin-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.admin-section { margin-bottom: 32px; }
.admin-section h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.admin-table { width: 100%; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; border-collapse: collapse; }
.admin-table th { background: var(--bg2); padding: 10px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); text-align: left; font-weight: 700; }
.admin-table td { padding: 10px 14px; font-size: 13px; color: var(--text-dim); border-top: 1px solid var(--border-light); }
.admin-table tr:hover td { background: var(--bg2); }
.btn-verify {
    background: var(--accent); color: #fff; border: none;
    padding: 6px 14px; border-radius: var(--radius-xs); font-size: 12px;
    font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.btn-verify:hover { background: var(--accent-dim); }
.btn-reject {
    background: #fff; color: #c62828; border: 1px solid #f5c6cb;
    padding: 6px 14px; border-radius: var(--radius-xs); font-size: 12px;
    font-weight: 600; cursor: pointer; margin-left: 6px; transition: all 0.2s;
}
.btn-reject:hover { background: #fef0f0; }
.admin-msg { padding: 10px 14px; border-radius: var(--radius-xs); font-size: 13px; margin-bottom: 16px; display: none; }
.admin-msg.success { display: block; background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.admin-msg.error { display: block; background: #fef0f0; border: 1px solid #f5c6cb; color: #c62828; }

/* ── ADMIN TOPBAR NAV ── */
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.admin-topbar h2 { margin-bottom: 0 !important; }
.admin-nav-links { display: flex; gap: 4px; }
.admin-nav-links a {
    padding: 8px 16px; font-size: 13px; font-weight: 600; text-decoration: none;
    color: var(--text-dim); border-radius: var(--radius-xs); transition: all 0.15s;
}
.admin-nav-links a:hover, .admin-nav-links a.active { background: var(--accent); color: #fff; }

/* ── ADMIN ARTICLE CARDS ── */
.admin-article-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); margin-bottom: 16px; overflow: hidden;
}
.aac-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 16px 20px; border-bottom: 1px solid var(--border-light); gap: 16px;
}
.aac-header h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0; }
.aac-meta { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.aac-meta span { font-size: 11px; color: var(--text-muted); }
.aac-status { text-align: right; white-space: nowrap; }
.aac-status small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.aac-body { padding: 14px 20px; }
.aac-excerpt { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.aac-notes { font-size: 12px; color: #e65100; margin-top: 8px; background: #fff8e1; padding: 8px 12px; border-radius: 4px; }
.aac-actions { padding: 12px 20px; border-top: 1px solid var(--border-light); display: flex; gap: 8px; }
.reject-form { margin-top: 12px; flex-basis: 100%; }
.btn-readmore {
    background: none; border: 1px solid #c8e6c9; color: #2e7d32;
    padding: 6px 14px; border-radius: var(--radius-xs); font-size: 12px;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-readmore:hover { background: #e8f5e9; }
.aac-full-content {
    background: #fafafa; border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 16px; margin-top: 8px;
}

/* ── STATUS BADGES ── */
.status-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 12px; }
.status-pub { background: #e8f5e9; color: #2e7d32; }
.status-review { background: #e3f2fd; color: #1565c0; }
.status-rej { background: #fef0f0; color: #c62828; }
.status-draft { background: #f5f5f5; color: #888; }
.spec-badge {
    display: inline-block; background: #e8f5e9; color: #2e7d32;
    padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
}
.type-badge {
    display: inline-block; background: #fff8e1; color: #795548;
    padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase;
}

/* ── CONTRIBUTOR PAGES ── */
.contrib-page { padding: 40px 24px 80px; background: var(--bg2); min-height: 60vh; }
.contrib-container { max-width: 860px; margin: 0 auto; }
.contrib-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}
.contrib-header h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 0; }
.contrib-header p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.btn-cta {
    display: inline-block; padding: 12px 24px;
    background: var(--accent); color: #fff; border: none;
    border-radius: var(--radius-xs); font-size: 14px; font-weight: 700;
    text-decoration: none; cursor: pointer; transition: background 0.2s;
}
.btn-cta:hover { background: var(--accent-dim); }
.btn-outline {
    display: inline-block; padding: 10px 20px;
    background: #fff; border: 1px solid var(--border); color: var(--text);
    border-radius: var(--radius-xs); font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--bg2); }

.contrib-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 28px; }
.contrib-stat {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 18px; text-align: center;
}
.cs-num { font-size: 30px; font-weight: 900; color: var(--text); display: block; }
.cs-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.cs-green .cs-num { color: #2e7d32; }
.cs-orange .cs-num { color: #e65100; }
.cs-gray .cs-num { color: #999; }
.cs-red .cs-num { color: #c62828; }

.contrib-section { margin-bottom: 32px; }
.contrib-section h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.contrib-table { width: 100%; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; border-collapse: collapse; }
.contrib-table th { background: var(--bg2); padding: 10px 14px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); text-align: left; font-weight: 700; }
.contrib-table td { padding: 10px 14px; font-size: 13px; color: var(--text-dim); border-top: 1px solid var(--border-light); }
.contrib-table tr:hover td { background: var(--bg2); }
.contrib-empty { text-align: center; padding: 40px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); }
.contrib-empty p { font-size: 14px; color: var(--text-muted); }
.contrib-success {
    background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32;
    padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px;
}
.contrib-error {
    background: #fef0f0; border: 1px solid #f5c6cb; color: #c62828;
    padding: 14px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px;
}

/* ── ARTICLE FORM ── */
.article-form { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; }
.article-form .form-group { margin-bottom: 18px; }
.article-form .form-group label {
    display: block; font-size: 13px; font-weight: 700;
    color: var(--text-dim); margin-bottom: 6px;
}
.article-form .form-group input[type="text"],
.article-form .form-group select,
.article-form .form-group textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-xs);
    font-size: 14px; font-family: var(--font); outline: none;
}
.article-form .form-group textarea { font-family: 'Merriweather', 'Inter', serif; line-height: 1.7; }
.article-form .form-group input:focus,
.article-form .form-group select:focus,
.article-form .form-group textarea:focus { border-color: var(--accent); }
.article-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-form .form-info {
    background: #f8fdf8; border: 1px solid #c8e6c9;
    border-radius: var(--radius-xs); padding: 14px 16px; margin-bottom: 18px;
}
.article-form .form-info p { font-size: 13px; color: #555; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .headline-inner { grid-template-columns: 1fr; }
    .headline-side { display: none; }
    .portal-main { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .search-input { width: 100%; }
    .header-tagline { border-left: none; padding-left: 0; }
    .nav-inner { overflow-x: auto; gap: 0; }
    .nav-item { white-space: nowrap; font-size: 12px; padding: 12px 12px; }
    .portal-sidebar { order: -1; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
}

@media (max-width: 600px) {
    .headline-featured h1 { font-size: 22px; }
    .post-grid { grid-template-columns: 1fr; }
    .post-grid-2 { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 22px; }
}

/* ═══════════════════════════════════════
   STATIC / LEGAL PAGES (Redaksi, Kode Etik, dll.)
   ═══════════════════════════════════════ */
.sp-hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 45%, #43a047 100%);
    color: white;
    padding: 56px 24px 44px;
    text-align: center;
}
.sp-hero h1 {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.sp-hero .sp-subtitle {
    font-size: 16px;
    opacity: 0.92;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}
.sp-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}
.sp-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 22px;
}
.sp-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1b5e20;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 20px 0 8px;
}
.sp-card p, .sp-card li {
    font-size: 14.5px;
    color: #444;
    line-height: 1.85;
}
.sp-card ul, .sp-card ol {
    padding-left: 20px;
    margin: 8px 0;
}
.sp-card ul li, .sp-card ol li {
    margin-bottom: 6px;
}
.sp-highlight {
    background: #f1f8e9;
    border-left: 4px solid #2e7d32;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 16px 0;
    font-size: 14.5px;
    color: #333;
    line-height: 1.8;
}
.sp-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}
.sp-meta-item {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px 16px;
}
.sp-meta-item .k {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2e7d32;
    display: block;
    margin-bottom: 4px;
}
.sp-meta-item .v {
    font-size: 14px;
    color: #222;
    font-weight: 600;
    line-height: 1.5;
}
.sp-date {
    font-size: 12.5px;
    color: #888;
    margin-top: -6px;
    margin-bottom: 18px;
}
@media (max-width: 640px) {
    .sp-hero h1 { font-size: 26px; }
    .sp-card { padding: 20px 18px; }
    .sp-meta-grid { grid-template-columns: 1fr; }
}

/* ── Flash messages ── */
.flash-wrap { max-width: 1180px; margin: 14px auto 0; padding: 0 16px; }
.flash { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 8px; border: 1px solid; }
.flash-success { background: #e8f5e9; color: #1b5e20; border-color: #a5d6a7; }
.flash-error { background: #ffebee; color: #b71c1c; border-color: #ef9a9a; }
.flash-info { background: #e3f2fd; color: #0d47a1; border-color: #90caf9; }
