@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
    /* --bg: #0b0b0c; */
    --card: #121214;
    --text: #e9e9ee;
    --muted: #b6b6c3;
    --accent: #ffd640;
    --border: #24242a;
    --radius: 16px;
    --maxw: 980px;
}

@media (prefers-color-scheme: light) {
    :root {
        /* --bg: #ffffff; */
        --card: #fafafa;
        --text: #111114;
        --muted: #4a4a55;
        --accent: #f8c301;
        --border: #e5e7eb;
    }
}

html,
body {
    height: 100%;
    background-color: black;
}

body {
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
        "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}



.wrap {
    /* max-width: var(--maxw); */
    padding: 24px;
    margin: 0px  64px;
}

.page {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative; /* penting biar pseudo-element nempel ke sini */
    overflow: hidden;   /* biar logo nggak keluar */
}

.page::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;   /* atur ukuran logo */
    height: 800px;
    background: url("/storage/logo/Logo Ardan.png") no-repeat center center;
    background-size: contain;
    opacity: 0.06;  /* pudar */
    transform: translate(-50%, -50%); /* posisikan di tengah */
    z-index: 0;
}

/* supaya teks tetap di atas logo */
.page * {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: clamp(28px, 4.2vw, 40px);
    margin: 0 0 12px;
}

.area-title{
    width: 50%;
    height: 100%;
}

.meta {
    color: var(--muted);
    font-size: 14px;
    /* margin-bottom: 20px; */
}

.breadcrumbs {
    font-size: 14px;
    color: white;
    margin: 0 0 18px;
}

.breadcrumbs a {
    color: white;
    text-decoration: underline;
}

.area-search{
    width: 50%;
    height: 100%;
    /* border: 1px black solid; */
    display: flex;
    justify-content: end;
}

.search {
    display: flex;
    gap: 10px;
    align-items: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    /* margin: 8px 0 20px; */
    height: 30px;
    width: 420px;
}

.search input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    outline: none;
    font-size: 15px;
}

.area-header {
    display: flex;
    align-items: end;
}

.area-section-luar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.area-section-dalam{
    width: fit-content;
    height: auto;
}

.section {
    margin-top: 26px;
    width: 100%;
}

details {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    width: 650px;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

details + details {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--muted);
    margin-right: 8px;
}

.category {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 18px;
}

a {
    color: var(--accent);
}

.cta {
    margin-top: 24px;
    border-left: 4px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--card));
    padding: 12px 14px;
    border-radius: 10px;
    width: 650px;
}

.footer-note {
    margin-top: 28px;
    font-size: 14px;
    color: var(--muted);
}
