/* =========================
   GLOBAL BACKGROUND (hanya terlihat di area konten)
========================= */
html, body {
    font-family: "Times New Roman", "Noto Serif", serif;
    font-size: 14px;
    line-height: 20px;
    color: rgba(0,0,0,.87);

    /* Background floral di seluruh halaman */
    background-color: #E6E6FA !important;
    background-image: url("https://glosains.staiku.ac.id/public/site/images/admin/joiv.png") !important;
    background-repeat: repeat;
    background-size: 500px 500px; /* kepadatan floral */
    background-position: top center;
    background-attachment: fixed;
}

/* tutupi header/sidebar dengan warna putih menggunakan overlay */
.pkp_structure_header,
.pkp_structure_navigation,
.pkp_sidebar,
.pkp_brand_footer {
    background-color: #ffffff !important; /* header/sidebar tetap putih */
    position: relative;
    z-index: 2;
}

/* konten utama tetap terlihat */
.pkp_structure_main {
    position: relative;
    z-index: 1;
    background-color: transparent !important; /* biar background floral terlihat */
}

/* =========================
   ARTICLE DETAILS
========================= */
.obj_article_details,
.obj_article_details .abstract,
.obj_article_details .references,
.obj_article_details .keywords,
.obj_article_details .authors,
.obj_article_details .affiliation,
.obj_article_details .item {
    text-align: justify;
}

.obj_article_details .title {
    font-family: Cambria, serif;
    font-size: 10pt;
}

.obj_article_details .authors {
    font-family: Cambria, serif;
    font-size: 11pt;
}

.obj_article_details .abstract {
    color: #84060e;
}

/* =========================
   ISSUE & SUMMARY
========================= */
.obj_issue_toc .description,
.obj_issue_summary .description {
    text-align: justify;
}

/* =========================
   ARTICLE LIST GRID
========================= */
.cmp_article_list.articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 20px;
}

.cmp_article_list.articles .obj_article_summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .3s ease;
}

.cmp_article_list.articles .obj_article_summary:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

@media (max-width: 768px) {
    .cmp_article_list.articles {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ARTICLE SUMMARY TEXT
========================= */
.obj_article_summary > .title {
    font-family: "Times New Roman", serif;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    margin: 0;
}

.obj_article_summary > .title a {
    text-decoration: none;
}

.obj_article_summary .meta {
    font-size: 11px;
    line-height: 14px;
}

.obj_article_summary .authors,
.obj_article_summary .title {
    padding-right: 6em;
}

/* =========================
   BUTTON & LINK
========================= */
a {
    color: #1800ad;
}

.cmp_button_wire,
.obj_galley_link {
    display: inline-block;
    padding: 0 1em;
    background: #fff;
    border: 1px solid #398325;
    border-radius: 3px;
    font-size: 8px;
    line-height: calc(2.143rem - 2px);
    color: #398325;
    text-decoration: none;
}

/* =========================
   HIDE ELEMENT
========================= */
.homepage_image {
    display: none !important;
}

.pkp_brand_footer {
    display: none !important;
}

/* =========================
   FOOTER
========================= */
.pkp_footer_content {
    padding: 3px;
    text-align: left;
}

/* =========================
   FORCE CARD SAME HEIGHT (FIX TOTAL)
========================= */

/* parent grid */
.cmp_article_list.articles {
    align-items: stretch !important;
}

/* card utama */
.cmp_article_list.articles .obj_article_summary {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* isi card (wrapper utama) */
.cmp_article_list.articles .obj_article_summary > * {
    width: 100%;
}

/* bungkus meta jadi fleksibel */
.cmp_article_list.articles .obj_article_summary .meta {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

/* paksa bagian terakhir turun */
.cmp_article_list.articles .obj_article_summary .meta > *:last-child {
    margin-top: auto !important;
}

/* =========================
   FIX JUDUL BIAR RAPI & GA NGEJOMPLANG
========================= */

.obj_article_summary > .title {
    min-height: 48px !important;
    line-height: 18px !important;
}

.obj_article_summary > .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================
   OPTIONAL: SAMAKAN AUTHOR
========================= */

.obj_article_summary .authors {
    min-height: 32px;
}

/* =========================
   DEBUG (boleh hapus nanti)
========================= */

/* kasih warna biar keliatan kalau sudah rata */
/*
.cmp_article_list.articles .obj_article_summary {
    background: #fff !important;
}
*/