/* =====================================
   BASE & LAYOUT
===================================== */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f3f4f6; 
    color: #111827;
    background-color: #c4d2ed;
}



.pa-main {
    max-width: 900px;
    margin: 10px auto 40px;
    padding: 0 16px;
    min-height: 100vh;
}


.pa-header {
    margin-bottom: 20px;
}

/* tombol kembali */
.pa-breadcrumb a {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #2563eb;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease,
        box-shadow 0.2s ease, transform 0.2s ease;
}

.pa-breadcrumb a i {
    font-size: 0.9rem;
}

.pa-breadcrumb a:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 4px 10px rgba(148, 163, 184, 0.4);
    transform: translateX(-2px);
}

/* judul artikel */
.pa-title {
    margin: 14px 0 8px;
    font-size: clamp(1.9rem, 3vw + 0.6rem, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
}

/* garis aksen tipis di bawah judul */
.pa-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 999px;
    margin-top: 6px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

/* meta (tanggal, dll) */
.pa-meta {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #6b7280;
}

.pa-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pa-date i {
    font-size: 0.9rem;
}

/* =====================================
   MAIN CARD (COVER + KONTEN + GALLERY)
===================================== */

.pa-body {
    margin-top: 24px;
    background-color: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 22px 22px 26px;
}

/* COVER */

.pa-cover-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    background-color: #e5e7eb;
    position: relative;
}

/* garis border gradient halus di luar cover */
.pa-cover-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
   
}

.pa-cover {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.pa-cover-wrap:hover .pa-cover {
    transform: scale(1.02);
    filter: brightness(1.04);
}

/* =====================================
   ARTICLE CONTENT
===================================== */

.pa-content {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #111827;
    margin-bottom: 24px;
}

/* kalau konten hanya teks dengan <br>, tetap kasih jarak */
.pa-content p {
    margin-bottom: 0.9rem;
}

.pa-content h2,
.pa-content h3 {
    margin-top: 1.6rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #0f172a;
}

.pa-content h2 {
    font-size: 1.25rem;
}

.pa-content h3 {
    font-size: 1.1rem;
}

.pa-content ul,
.pa-content ol {
    margin: 0.4rem 0 1rem 1.4rem;
}

.pa-content li {
    margin-bottom: 0.25rem;
}

/* =====================================
   GALLERY
===================================== */

.pa-gallery {
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
    margin-top: 10px;
}

.pa-gallery h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

/* grid foto */
.pa-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.pa-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background-color: #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(148, 163, 184, 0.4);
}

.pa-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.pa-gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.6);
}

/* =====================================
   FOOTER
===================================== */

.footer {
     text-align: center;
    font-family: 'Times New Roman', Times, serif;
    padding: 20px;
    color: #888;
    background-color: #2F4156;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {
    .pa-main {
        margin-top: 10px;
        padding: 0 12px;
    }

    .pa-body {
        padding: 18px 16px 22px;
        border-radius: 14px;
    }

    .pa-cover {
        height: 210px;
    }
}
