/* ========== BACKGROUND ORNAMEN EMAS ========== */
/* Background utama dengan pattern ornamen */
body,
.pkp_structure_page,
.pkp_page_about,
.pkp_page_index {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

/* Ornamen pattern menggunakan pseudo-element */
body::before,
.pkp_structure_page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.08"><path fill="%23C5A356" d="M20,20 L30,15 L35,25 L25,30 Z M70,10 L80,5 L85,15 L75,20 Z M40,80 L50,75 L55,85 L45,90 Z M85,70 L95,65 L100,75 L90,80 Z M10,60 L20,55 L25,65 L15,70 Z M50,50 L60,45 L65,55 L55,60 Z"/><circle cx="50" cy="50" r="3" fill="%23C5A356"/><circle cx="20" cy="80" r="2" fill="%23C5A356"/><circle cx="80" cy="20" r="2" fill="%23C5A356"/><circle cx="90" cy="85" r="2.5" fill="%23C5A356"/><circle cx="15" cy="30" r="1.5" fill="%23C5A356"/><path fill="%23C5A356" d="M60,20 L65,18 L67,23 L62,25 Z M30,70 L35,68 L37,73 L32,75 Z"/></svg>');
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}

/* Konten utama harus di atas ornamen */
.pkp_structure_content,
.about_section,
.page_about .obj_about,
.page_index .obj_about {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* ========== ORNAMEN DEKORATIF UNTUK CARD ========== */
/* Card atau panel dengan border emas dan ornamen tambahan */
.panel,
.card,
.block,
.custom_block {
    border: 1px solid #C5A356;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Ornamen sudut emas pada card */
.panel::before,
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 30px solid #C5A356;
    border-right: 30px solid transparent;
    opacity: 0.3;
    pointer-events: none;
}

/* ========== HEADER DENGAN ORNAMEN ========== */
/* Judul section dengan background emas dan ornamen */
.panel-heading,
.card-header,
h2.section-title {
    background: linear-gradient(135deg, #C5A356 0%, #B8962E 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    position: relative;
}

/* Ornamen garis di bawah heading */
.panel-heading::after,
.card-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 50px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

/* ========== ORNAMEN GARIS EMAS ========== */
/* Garis dekoratif pemisah */
hr.gold-separator {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, #C5A356, #B8962E, #C5A356);
    width: 80px;
    margin: 20px auto;
}

/* ========== ORNAMEN UNTUK TABEL ========== */
table th {
    background: #2c2626 !important;
    color: white !important;
}

table tr {
    border-bottom: 1px solid #eee;
}

/* ========== ORNAMEN UNTUK MENU SIDEBAR ========== */
/* Menu dengan ikon ornamen */
.block_custom .menu-item,
.sidebar .block a {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

/* Ornamen bullet emas pada menu */
.block_custom .menu-item::before,
.sidebar .block a::before {
    content: "✦";
    color: #C5A356;
    margin-right: 10px;
    font-size: 12px;
}

/* Hover effect dengan garis emas */
.block_custom .menu-item:hover,
.sidebar .block a:hover {
    background: #f9f9f9;
    padding-left: 24px;
}

/* ========== ORNAMEN BACKGROUND UNTUK SPECIFIC SECTION ========== */
/* Background ornamen untuk About section */
.about_section {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.about_section::before {
    content: "⸙";
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 60px;
    color: #C5A356;
    opacity: 0.1;
    font-family: serif;
    pointer-events: none;
}