/* * assets/css/archive.css
 * Gaya buat halaman daftar artikel (Archive, Category, Taxonomy)
 * dan halaman statis (Page - Tentang Kami).
 */

:root {
    --arc-bg: #fdfdfd;
    --arc-text: #333333;
    --arc-border: #eaeaea;
    --font-ui: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--arc-bg);
    color: var(--arc-text);
    font-family: var(--font-ui);
    line-height: 1.6;
}

.archive-wrapper {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.archive-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--arc-border);
}

.archive-title {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.archive-description {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   ORNAMEN MAGIS GLOBAL (PENGGANTI ✦ ✦ ✦)
   ========================================= */
.lenara-ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem auto;
    color: inherit; /* Otomatis nyedot warna aksen dari halaman yang lagi dibuka */
    opacity: 0.5;
}

/* Bentuk Geometris Berubah Jadi Mandala Lotus 8 Titik */
.lenara-ornament .ornament-shape {
    width: 22px; 
    height: 22px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1 Q 15 6 12 12 Q 9 6 12 1 Z'/%3E%3Cpath d='M12 23 Q 15 18 12 12 Q 9 18 12 23 Z'/%3E%3Cpath d='M1 12 Q 6 15 12 12 Q 6 9 1 12 Z'/%3E%3Cpath d='M23 12 Q 18 15 12 12 Q 18 9 23 12 Z'/%3E%3Cpath d='M4.22 4.22 Q 9.88 5.64 12 12 Q 5.64 9.88 4.22 4.22 Z'/%3E%3Cpath d='M19.78 4.22 Q 14.12 5.64 12 12 Q 18.36 9.88 19.78 4.22 Z'/%3E%3Cpath d='M4.22 19.78 Q 9.88 18.36 12 12 Q 5.64 14.12 4.22 19.78 Z'/%3E%3Cpath d='M19.78 19.78 Q 14.12 18.36 12 12 Q 18.36 14.12 19.78 19.78 Z'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1 Q 15 6 12 12 Q 9 6 12 1 Z'/%3E%3Cpath d='M12 23 Q 15 18 12 12 Q 9 18 12 23 Z'/%3E%3Cpath d='M1 12 Q 6 15 12 12 Q 6 9 1 12 Z'/%3E%3Cpath d='M23 12 Q 18 15 12 12 Q 18 9 23 12 Z'/%3E%3Cpath d='M4.22 4.22 Q 9.88 5.64 12 12 Q 5.64 9.88 4.22 4.22 Z'/%3E%3Cpath d='M19.78 4.22 Q 14.12 5.64 12 12 Q 18.36 9.88 19.78 4.22 Z'/%3E%3Cpath d='M4.22 19.78 Q 9.88 18.36 12 12 Q 5.64 14.12 4.22 19.78 Z'/%3E%3Cpath d='M19.78 19.78 Q 14.12 18.36 12 12 Q 18.36 14.12 19.78 19.78 Z'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Yang di tengah dibikin lebih gede biar elegan */
.lenara-ornament .ornament-shape.center {
    transform: scale(1.6);
    opacity: 0.8;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.archive-card {
    background: #fff;
    border: 1px solid var(--arc-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.archive-card-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.archive-card h2 {
    font-size: 1.3rem;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.archive-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

/* Pagination buat next/prev page */
.archive-pagination {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.archive-pagination a, 
.archive-pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--arc-border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--arc-text);
}

.archive-pagination .current {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* =========================================
   HALAMAN STATIS (LEGAL, PRIVASI, LAYANAN)
   ========================================= */
.page-statis-wrapper {
    max-width: 800px; /* Biar paragrafnya kaga terlalu lebar, enak dibaca */
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.85;
    
    /* KUNCI FIX HP: Paksa teks panjang (kayak URL) buat patah/turun baris! */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Gaya Elegan buat Judul di dalam Dokumen */
.page-content h1, 
.page-content h2, 
.page-content h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    color: var(--arc-text);
}

.page-content h1 { font-size: 2.2rem; }
.page-content h2 { font-size: 1.8rem; border-bottom: 1px dashed var(--arc-border); padding-bottom: 0.5rem; }
.page-content h3 { font-size: 1.4rem; opacity: 0.9; }

.page-content p {
    margin-bottom: 1.5rem;
}

/* Rapihin List (Syarat & Ketentuan) */
.page-content ul, 
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.8rem;
}

/* Gaya Teks Bold & Link */
.page-content strong, 
.page-content b {
    font-weight: 600;
    color: var(--arc-text);
    opacity: 1;
}

.page-content a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--arc-text);
    transition: opacity 0.3s ease;
}

.page-content a:hover {
    opacity: 0.5;
}

/* Responsif HP Khusus Halaman Legal */
@media (max-width: 768px) {
    .page-content { font-size: 1rem; }
    .page-content h1 { font-size: 1.8rem; }
    .page-content h2 { font-size: 1.5rem; }
}