/* ========================
   FONT
======================== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f4f6f9;
}


/* ========================
   NAVBAR
======================== */
/* ================= NAVBAR ================= */
.navbar-custom {
    height: 64px;
    background: #1e3a8a;

    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;

    position: relative;
    z-index: 10;

    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* ================= LEFT ================= */
.menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 22px;
    background: #fff;
    border-radius: 2px;
}

/* ================= BRAND ================= */
.brand {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.brand span {
    color: orange;
}

/* ================= RIGHT ================= */
.nav-right {
    margin-left: auto;
}

.search-toggle {
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}

/* ================= SEARCH BAR ================= */
.search-bar {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;

    background: #fff;
    padding: 12px 16px;

    display: none;
    z-index: 20;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.search-bar.active {
    display: block;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

/* ================= SIDEBAR ================= */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;

    background: #0f172a;
    padding: 20px;

    transition: 0.3s;
    z-index: 30;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    display: block;
    color: #e2e8f0;
    padding: 12px 0;
    text-decoration: none;
}

/* ================= OVERLAY ================= */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.3s;
    z-index: 25;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.close-btn {
    font-size: 28px;
    color: #ffffff; /* jadi putih */

    cursor: pointer;
    margin-bottom: 20px;

    display: inline-block;
}

/* ================= HERO BRUTAL ================= */
.hero-brutal {
    padding: 100px 20px;
    background: #0f172a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* glow */
.hero-brutal::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 420px;
    height: 420px;

    background: radial-gradient(
        circle,
        rgba(59,130,246,0.25),
        transparent 70%
    );
}

/* garis bawah */
.hero-brutal::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
}

/* container */
.hero-inner {
    max-width: 820px;
    margin: auto;
    text-align: center;
}

/* label */
.hero-label {
    font-size: 12px;
    letter-spacing: 3px;
    color: #94a3b8;
    display: block;
    margin-bottom: 18px;
}

/* headline */
.hero-inner h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 22px;
}

/* highlight */
.hero-inner h1 span {
    color: orange;
}

/* desc */
.hero-inner p {
    font-size: 18px;
    color: #cbd5f5;
    line-height: 1.7;
    margin-bottom: 36px;
}



/* ================= CTA STACK ================= */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* tombol */
.hero-cta a {
    width: 260px;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* primary */
.btn-primary {
    background: orange;
    color: #fff;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59,130,246,0.35);
}

/* secondary */
.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-inner h1 {
        font-size: 36px;
    }

    .hero-inner p {
        font-size: 16px;
    }
}

/* ========================
   SECTION UNGGULAN
======================== */
.unggulan {
    padding: 80px 20px;
    background: #f8fafc;
}

/* container */
.unggulan-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* title */
.unggulan-title {
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 50px;
}

/* grid */
.unggulan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* card */
.unggulan-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;

    /* pembatas halus */
    border: 1px solid rgba(0,0,0,0.05);

    /* depth tipis */
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);

    transition: all 0.25s ease;
}

/* hover */
.unggulan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* icon */
.unggulan-card i {
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 14px;
}

/* title card */
.unggulan-card h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 8px;
}

/* desc */
.unggulan-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* mobile */
@media (max-width: 768px) {
    .unggulan-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   SECTION PRODUK
======================== */
/* SECTION PRODUK */
.produk {
    padding: 80px 20px;
    background: #e2e8f0;

    /* INI KUNCI JLEB */
    margin-top: -60px; 
    border-radius: 20px 20px 0 0;

    box-shadow: 0 -10px 30px rgba(0,0,0,0.08);

    position: relative;
    z-index: 5;
}

/* container */
.produk-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* title */
.produk-title {
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 50px;
}

/* grid */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* card */
.produk-card {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 30px;
    text-align: left;

    transition: all 0.25s ease;
}

/* hover */
.produk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* content */
.produk-content h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 10px;
}

.produk-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* link */
.produk-link {
    font-size: 14px;
    font-weight: 500;
    color: #1e3a8a;
    text-decoration: none;
}

.produk-link:hover {
    text-decoration: underline;
}

/* mobile */
@media (max-width: 768px) {
    .produk-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================
   SECTION PROYEK
======================== */
.proyek {
    padding: 80px 20px;
    background: #f8fafc;
}

/* container */
.proyek-container {
    max-width: 1100px;
    margin: auto;
}

/* title */
.proyek-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 50px;
}

/* grid */
.proyek-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* item */
.proyek-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;

    /* INI KUNCI BIAR GAK TINGGI */
    aspect-ratio: 1 / 1;
}

/* image */
.proyek-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.4s ease;
}

/* overlay */
.proyek-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.05)
    );

    display: flex;
    align-items: flex-end;
    padding: 16px;
}

/* text */
.proyek-overlay h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* hover */
.proyek-item:hover img {
    transform: scale(1.05);
}

/* mobile tetap 2 kolom */
@media (max-width: 768px) {
    .proyek-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .proyek-overlay h3 {
        font-size: 13px;
    }
}
.preview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;

    z-index: 9999;
}

.preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.preview-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
}

.preview-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.video-gallery {
    padding: 30px 20px;
    background: #f8fafc;
}

.video-container {
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.video-header {
    text-align: center;
    margin-bottom: 40px;
}

.video-header h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.video-header p {
    font-size: 14px;
    color: #475569;
    max-width: 600px;
    margin: auto;
    line-height: 1.6;
}

/* MAIN VIDEO */
.video-main iframe {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* PLAYLIST */
.video-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* ITEM */
.video-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.25s;

    border: 1px solid #e2e8f0;
}

.video-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

.video-item p {
    padding: 10px;
    font-size: 13px;
    color: #0f172a;
}

/* ACTIVE */
.video-item.active {
    border: 1px solid #2563eb;
    box-shadow: 0 4px 14px rgba(37,99,235,0.2);
}

/* HOVER */
.video-item:hover {
    transform: translateY(-3px);
}
.section-divider {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 30px;

    height: 1px;
    background: #cbd5e1; /* lebih kontras dari sebelumnya */
}

.trust {
    padding: 80px 20px;
    background: #ffffff;
}

.trust-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.trust-title {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.trust-subtitle {
    font-size: 14px;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* GRID */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ITEM */
.trust-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;

    padding: 30px 20px;
    transition: 0.3s;
}

/* ICON */
.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e0e7ff;
    color: #1e3a8a;

    border-radius: 12px;
    font-size: 22px;
}

/* ANGKA */
.trust-item h3 {
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 6px;
}

/* TEXT */
.trust-item p {
    font-size: 14px;
    color: #475569;
}

/* HOVER */
.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* DESKTOP */
@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cta {
    padding: 80px 20px;
    background: #0f172a;
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: auto;
}

.cta h2 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta p {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 25px;
}

/* BUTTON */
.cta-button {
    display: inline-block;
    padding: 14px 24px;

    background: orange;
    color: #ffffff;

    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;

    transition: 0.25s;
}

/* hover */
.cta-button:hover {
    background: #e0e7ff;
}

.artikel {
    padding: 60px 20px;
    background: #ffffff;
}

.artikel-container {
    max-width: 900px;
    margin: auto;
}

/* TITLE */
.artikel-title {
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 30px;
}

/* LIST */
.artikel-list {
    display: flex;
    flex-direction: column;
}

/* ROW */
.artikel-row {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px 0;
    text-decoration: none;

    border-bottom: 1px solid #e5e7eb;

    transition: 0.25s;
}

/* IMAGE */
.artikel-row img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

/* TITLE */
.artikel-row h3 {
    font-size: 16px;
    color: #0f172a;
    line-height: 1.4;
    font-weight: 600;
}

/* HOVER */
.artikel-row:hover h3 {
    color: #1d4ed8;
}

/* PAGINATION */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center; /* INI KUNCINYA */
    align-items: center;
    gap: 8px;
}

.pagination a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;

    text-decoration: none;
    color: #0f172a;
    border: 1px solid #e5e7eb;
}

.pagination a.active {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
}
.faq-pro {
    padding: 80px 20px;
    background: #f8fafc;
}

.faq-container {
    max-width: 760px;
    margin: auto;
}

/* HEADER */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 10px;
}

.faq-header p {
    color: #64748b;
    font-size: 15px;
}

/* ITEM */
.faq-item {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 12px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* QUESTION */
.faq-question {
    width: 100%;
    border: none;
    background: none;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
    cursor: pointer;

    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

/* ICON */
.faq-question svg {
    width: 18px;
    height: 18px;
    stroke: #64748b;
    stroke-width: 2;
    fill: none;

    transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
    padding: 0 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;

    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 22px;
    max-height: 300px; /* biar gak kepotong */
}

.footer-pro {
    background: #0f172a;
    color: #cbd5f5;
    padding: 50px 16px 20px;
}

/* container */
.footer-container {
    max-width: 1100px;
    margin: auto;
}

/* ================= TOP ================= */
.footer-top {
    margin-bottom: 30px;
}

.footer-logo {
    width: 140px;
    margin-bottom: 8px; /* rapat, ini penting */
}

.footer-desc {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

/* ================= GRID ================= */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-top: 20px;
}

/* kolom */
.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: orange;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 14px;
    color: #cbd5f5;
    margin-bottom: 6px;
    text-decoration: none;
}

/* hover */
.footer-col a:hover {
    color: orange;
}

/* ================= SOCIAL ================= */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);
    color: #94a3b8;

    font-size: 15px;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: rgba(59,130,246,0.15);
    color: #3b82f6;
}

/* ================= BOTTOM ================= */
.footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

/* ===== ADMIN FORM ====== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    padding: 20px;
}

/* BOX */
.login-box {
    width: 100%;
    max-width: 380px;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* TITLE */
.login-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

/* INPUT WRAP WAJIB RELATIVE */
.input-wrap {
    position: relative;
    width: 100%;
}

/* INPUT */
.input-wrap input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0 45px 0 40px; /* kiri utk icon, kanan utk eye */
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

/* ICON KIRI */
.input-wrap i.bi-person,
.input-wrap i.bi-lock {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
}

/* ICON MATA FIX DI DALAM */
.password-wrap .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
}

/* BUTTON */
.btn-login {
    width: 100%;
    height: 48px;
    border: none;
    background: #1e3a8a;
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}

/* ERROR */
.login-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* DASHBOARD */
.admin-dashboard {
    padding: 40px 20px;
    background: #f5f7fb;
    min-height: 100vh;
}

.dashboard-box {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.dashboard-box h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.dashboard-desc {
    color: #777;
    margin-bottom: 30px;
}

.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.dashboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 12px;
    background: #f1f3f8;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.dashboard-item i {
    font-size: 20px;
}

.dashboard-item:hover {
    background: #2d4c9a;
    color: #fff;
}

.dashboard-item.logout {
    background: #ffecec;
    color: #d00;
}

.dashboard-item.logout:hover {
    background: #d00;
    color: #fff;
}

/* Mobile */
@media (max-width: 600px) {
    .dashboard-menu {
        grid-template-columns: 1fr;
    }
}

/* Wrapper */
.admin-create-article {
    padding: 20px;
    background: #f5f7fb;
}

/* Box form */
.form-box {
    max-width: 720px;
    margin: auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Title */
.form-box h1 {
    margin-bottom: 20px;
}

/* Field wrapper */
.field {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

/* Label */
.field label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

/* Input text */
.input-text {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

/* Focus effect */
.input-text:focus,
.textarea-small:focus {
    outline: none;
    border-color: #2f4db3;
}

/* Textarea biasa */
.textarea-small {
    min-height: 110px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-size: 14px;
}

/* File input biar rapi */
input[type="file"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

/* CKEditor container */
.editor-field {
    margin-top: 10px;
}

/* Tinggi area nulis CKEditor */
.ck-editor__editable {
    min-height: 320px;
    padding: 15px;
    font-size: 15px;
    line-height: 1.6;
}

/* Toolbar CKEditor biar clean */
.ck-toolbar {
    border-radius: 8px 8px 0 0 !important;
}

/* Editor box */
.ck-editor__main {
    border-radius: 0 0 8px 8px !important;
    overflow: hidden;
}

/* Button */
.btn-submit {
    margin-top: 10px;
    background: #2f4db3;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

/* Hover */
.btn-submit:hover {
    background: #253d91;
}

/* Container */
.detail-article {
    padding: 20px 15px;
    background: #f9fafc;
}

.detail-article .container {
    max-width: 720px;
    margin: auto;
    padding: 0;
    background: transparent;
}

/* Title */
.article-title {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Meta */
.article-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* Image */
.article-image {
    margin-bottom: 25px;
}

.article-image img {
    width: 100%;
    border-radius: 10px;
}

/* Content */
.article-content {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    word-break: break-word;
}

/* CKEditor output styling */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1;
}

/* Ukuran tetap beda */
.article-content h1 { font-size: 30px; font-weight: 700; }
.article-content h2 { font-size: 26px; font-weight: 700; }
.article-content h3 { font-size: 22px; font-weight: 600; }
.article-content h4 { font-size: 18px; font-weight: 600; }
.article-content h5 { font-size: 16px; font-weight: 600; }
.article-content h6 { font-size: 14px; font-weight: 600; }

.article-content p {
    margin-bottom: 18px;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin-left: 20px;
    margin-bottom: 18px;
}

.article-content a {
    color: #2f4db3;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.breadcrumbs {
    font-size: 13px;
    margin-bottom: 15px;
    color: #777;
}

.breadcrumbs a {
    color: #2f4db3;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}
.article-share {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 14px;
    color: #555;
}

.share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eee;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s ease;
}

/* brand hover */
.share-btn.wa:hover {
    background: #25D366;
    color: #fff;
}

.share-btn.fb:hover {
    background: #1877F2;
    color: #fff;
}

.share-btn.tw:hover {
    background: #000;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-2px);
}
.article-divider {
    margin: 35px 0;
    border: none;
    border-top: 2px solid #999;
}
.author-link {
    color: #2f4db3;
    text-decoration: none;
    font-weight: 500;
}

.author-link:hover {
    text-decoration: underline;
}

.article-list {
    padding: 20px 15px;
}

.article-list h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* wrapper */
.article-list-wrapper {
    display: flex;
    flex-direction: column;
}

/* item */
.article-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.article-item:last-child {
    border-bottom: none;
}

/* hover halus */
.article-item:hover {
    transform: translateX(3px);
}

/* thumbnail kiri */
.article-thumb img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

/* title */
.article-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

/* hover warna */
.article-item:hover .article-title {
    color: #2f4db3;
}


/* BERMASALAH */
/* WRAPPER */
.zrx-article {
    padding: 50px 20px;
    background: #fff;
}

.zrx-container {
    max-width: 680px;
    margin: auto;
}

/* BREADCRUMB */
.zrx-breadcrumb {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 18px;
}

.zrx-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.zrx-current {
    color: #111827;
    font-weight: 500;
}

/* TITLE */
.zrx-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #111827;
}

/* META */
.zrx-meta {
    font-size: 13px;
    margin-bottom: 25px;
    color: #6b7280;
}

.zrx-author {
    background: #fff7ed;
    color: #c2410c;
    padding: 4px 10px;
    border-radius: 6px;
}

/* IMAGE */
.zrx-image img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 25px;
}

/* CONTENT */
.zrx-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.zrx-content p {
    margin-bottom: 18px;
}

/* FOOTER */
.zrx-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* LABEL */
.zrx-label {
    display: inline-block;
    background: #f97316;
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 12px;
}

/* TAGS */
.zrx-tags a {
    display: inline-block;
    margin: 6px 8px 0 0;
    padding: 5px 12px;
    font-size: 13px;
    background: #fff7ed;
    color: #c2410c;
    border-radius: 999px;
    text-decoration: none;
}

/* SHARE */
.zrx-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.zrx-share span {
    font-size: 13px;
    color: #9ca3af;
}

.zrx-share-btns {
    display: flex;
    gap: 10px;
}

.zrx-share-btns a {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    text-decoration: none;
}

/* RELATED */
/* RELATED WRAPPER */
.zrx-related {
    margin-top: 50px;
}

/* TITLE */
.zrx-related h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #111827;
}

/* LIST */
.zrx-related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ITEM */
.zrx-related-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* IMAGE FIX (INI KUNCI NYA) */
.zrx-related-img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
}

/* TITLE */
.zrx-related-title {
    font-size: 14px;
    color: #111827;
    line-height: 1.4;
}

/* HOVER HALUS */
.zrx-related-item:hover .zrx-related-title {
    text-decoration: underline;
}

/* css 3 halamnan */
/* WRAPPER */
.nx-author {
    padding: 50px 0;
}

/* CONTAINER */
.nx-author-container {
    max-width: 900px;
    margin: auto;
    padding: 0 16px;
}

/* HEADER */
.nx-author-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f1f1;
}

/* PHOTO */
.nx-author-photo-wrap {
    flex-shrink: 0;
}

.nx-author-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

/* INFO */
.nx-author-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111;
}

.nx-author-bio {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 500px;
}

/* LIST */
.nx-author-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ITEM */
.nx-author-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

/* HOVER */
.nx-author-item:hover {
    transform: translateX(4px);
}

/* THUMB */
.nx-author-thumb {
    width: 70px;
    height: 55px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.nx-author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITLE */
.nx-author-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* PAGINATION */
.nx-author-pagination {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nx-author-pagination a {
    padding: 7px 12px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    background: #f3f4f6;
    color: #374151;
    transition: 0.2s;
}

.nx-author-pagination a:hover {
    background: #111827;
    color: #fff;
}

.nx-author-pagination a.active {
    background: #111827;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .nx-author-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nx-author-photo {
        width: 70px;
        height: 70px;
    }
}

/* WRAPPER */
.nx-cat-page {
    padding: 50px 0;
}

/* CONTAINER */
.nx-cat-container {
    max-width: 900px;
    margin: auto;
    padding: 0 18px;
}

/* TITLE */
.nx-cat-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #111;
}

.nx-cat-title span {
    color: #f97316;
}

/* LIST */
.nx-cat-list {
    display: flex;
    flex-direction: column;
}

/* ITEM */
.nx-cat-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.25s ease;
}

/* HOVER EFFECT */
.nx-cat-item:hover {
    transform: translateX(6px);
}

/* IMAGE */
.nx-cat-thumb {
    width: 85px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.nx-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXT */
.nx-cat-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* EMPTY */
.nx-cat-empty {
    padding: 20px;
    text-align: center;
    color: #9ca3af;
}

/* PAGINATION */
.nx-cat-pagination {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nx-cat-pagination a {
    padding: 6px 11px;
    border-radius: 6px;
    background: #f3f4f6;
    text-decoration: none;
    font-size: 14px;
    color: #374151;
    transition: 0.2s;
}

.nx-cat-pagination a:hover {
    background: #111827;
    color: #fff;
}

.nx-cat-pagination a.active {
    background: #111827;
    color: #fff;
}

/* === CONTAINER === */
.zrx-admin-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 16px;
}

/* === TITLE === */
.zrx-admin-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* === ALERT === */
.zrx-alert {
    background: #d4edda;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* === TABLE STYLE === */
.zrx-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ROW */
.zrx-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.zrx-row:hover {
    transform: translateY(-2px);
}

/* TITLE */
.zrx-col-title {
    font-size: 15px;
    font-weight: 500;
    max-width: 70%;
}

/* ACTION */
.zrx-col-action {
    display: flex;
    gap: 10px;
}

/* BUTTONS */
.btn-edit,
.btn-delete {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-edit {
    background: #0d6efd;
    color: #fff;
}

.btn-edit:hover {
    background: #0b5ed7;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
}

.btn-delete:hover {
    background: #bb2d3b;
}

/* EMPTY */
.zrx-empty {
    text-align: center;
    padding: 30px;
    color: #777;
}

/* === PAGINATION === */
.zrx-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.zrx-pagination a {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    background: #f1f3f5;
    color: #333;
    transition: 0.2s;
}

.zrx-pagination a:hover {
    background: #0d6efd;
    color: #fff;
}

/* ACTIVE */
.zrx-pagination a.active {
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
}

/* === TOPBAR ADMIN === */
.zrx-admin-topbar {
    margin-bottom: 10px;
}

/* BACK BUTTON */
.zrx-back-btn {
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
    color: #0d6efd;
    background: #eef4ff;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

.zrx-back-btn:hover {
    background: #0d6efd;
    color: #fff;
}

/* === CREATE PAGE === */
.zrx-admin-create-page {
    padding: 40px 20px;
}

.zrx-admin-container {
    max-width: 800px;
    margin: auto;
}

.zrx-field {
    margin-bottom: 20px;
}

.zrx-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.zrx-field input,
.zrx-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.zrx-btn-submit {
    background: #0d6efd;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* === ADMIN LIST PAGE === */
.zrx-admin-list {
    padding: 40px 20px;
}

/* CONTAINER */
.zrx-admin-container {
    max-width: 900px;
    margin: auto;
}

/* TITLE */
.zrx-admin-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ALERT */
.zrx-alert {
    background: #d4edda;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* TABLE */
.zrx-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ROW */
.zrx-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.zrx-row:hover {
    transform: translateY(-2px);
}

/* TITLE + SLUG */
.zrx-col-title {
    font-size: 15px;
    font-weight: 500;
}

.zrx-col-title div {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* ACTION */
.zrx-col-action {
    display: flex;
    gap: 10px;
}

/* BUTTON */
.btn-edit,
.btn-delete {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-edit {
    background: #0d6efd;
    color: #fff;
}

.btn-edit:hover {
    background: #0b5ed7;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
}

.btn-delete:hover {
    background: #bb2d3b;
}

/* EMPTY */
.zrx-empty {
    text-align: center;
    padding: 30px;
    color: #777;
}

/* PAGINATION */
.zrx-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.zrx-pagination a {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    background: #f1f3f5;
    color: #333;
    transition: 0.2s;
}

.zrx-pagination a:hover {
    background: #0d6efd;
    color: #fff;
}

.zrx-pagination a.active {
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
}
/* BEDAIN PAGE DARI ARTICLE */
.zrx-col-title::before {
    content: "📄 ";
}
/* === PAGE VIEW === */
.zrx-page {
    padding: 50px 20px;
}

.zrx-page-container {
    max-width: 800px;
    margin: auto;
}

.zrx-page-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.zrx-page-content {
    line-height: 1.8;
    font-size: 16px;
}

.zrx-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
}
.btn-view {
    background: #198754;
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-view:hover {
    background: #157347;
}

/* =========================
   SEARCH PAGE
========================= */
.zrx-search-page {
    padding: 40px 20px;
    background: #f9fafc;
}

/* TITLE */
.zrx-search-page h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #222;
}

/* LIST (reuse style feel dari tags) */
.zrx-search-page .zrx-tags-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ITEM */
.zrx-search-page .zrx-tags-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    transition: 0.25s ease;
    border: 1px solid #eee;
}

/* HOVER */
.zrx-search-page .zrx-tags-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* THUMB */
.zrx-search-page .zrx-tags-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.zrx-search-page .zrx-tags-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TITLE */
.zrx-search-page .zrx-tags-name {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
}

/* EMPTY */
.zrx-search-page .zrx-tags-empty {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    color: #777;
    border: 1px dashed #ddd;
}

/* =========================
   PAGINATION
========================= */
.zrx-search-page .zrx-tags-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* BUTTON */
.zrx-search-page .zrx-tags-pagination a {
    padding: 8px 14px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    transition: 0.2s ease;
}

/* HOVER */
.zrx-search-page .zrx-tags-pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* ACTIVE */
.zrx-search-page .zrx-tags-pagination a.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .zrx-search-page {
        padding: 25px 15px;
    }

    .zrx-search-page .zrx-tags-thumb {
        width: 80px;
        height: 60px;
    }

    .zrx-search-page h1 {
        font-size: 20px;
    }

}

.error-page{
padding:120px 20px;
background:#f5f7fb;
text-align:center;
}

.error-container{
max-width:900px;
margin:auto;
}

.error-code{
font-size:120px;
font-weight:800;
color:#0b3d91;
margin-bottom:10px;
}

.error-title{
font-size:32px;
margin-bottom:15px;
}

.error-desc{
font-size:18px;
color:#555;
margin-bottom:35px;
line-height:1.6;
}

.error-buttons{
margin-bottom:50px;
}

.btn-home,
.btn-artikel{
display:inline-block;
padding:14px 28px;
margin:8px;
border-radius:6px;
text-decoration:none;
font-weight:600;
}

.btn-home{
background:#0b3d91;
color:#fff;
}

.btn-artikel{
background:#ffc107;
color:#222;
}

.error-links{
background:#fff;
padding:30px;
border-radius:10px;
box-shadow:0 4px 20px rgba(0,0,0,0.05);
}

.error-links h3{
margin-bottom:15px;
}

.error-links ul{
list-style:none;
padding:0;
}

.error-links li{
margin:10px 0;
}

.error-links a{
text-decoration:none;
color:#0b3d91;
font-weight:500;
}

.error-links a:hover{
text-decoration:underline;
}