/* =========================================================
   1. LATAR BELAKANG UTAMA & WADAH
   ========================================================= */
body {
    background-color: #F8F6F0 !important; /* Warna Krem Lembut */
    font-family: 'Times New Roman', Georgia, serif;
}

/* =========================================================
   2. TOP BAR (SEARCH & BUTTON LOG IN/REGISTER)
   ========================================================= */
.pkp_structure_head {
    background-color: #1A334E !important; /* Navy Blue */
    padding: 10px 0;
}

.pkp_search input[type="text"] {
    background-color: #ffffff;
    border-radius: 4px;
    border: none;
    padding: 8px 15px;
}

/* Tombol Log In & Register */
.pkp_navigation_user a {
    background-color: #1A334E !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    border-radius: 6px;
    padding: 6px 16px !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.pkp_navigation_user a:hover {
    background-color: #ffffff !important;
    color: #1A334E !important;
}

/* =========================================================
   3. MENU NAVIGASI UTAMA
   ========================================================= */
.pkp_navigation_primary_wrapper {
    background-color: #F4EFEA !important;
    border-bottom: 1px solid #D3C9BD;
}

.pkp_navigation_primary > li > a {
    color: #1A334E !important;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 12px 18px !important;
}

.pkp_navigation_primary > li:not(:last-child):after {
    content: "|";
    color: #1A334E;
    position: absolute;
    right: 0;
    top: 12px;
}

/* =========================================================
   4. LAYOUT BERANDA 2 KOLOM (FEATURED & CURRENT ISSUE)
   ========================================================= */
.custom-homepage-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 15px;
}

.homepage-column {
    flex: 1;
}

.section-title {
    color: #1A334E;
    font-size: 20px;
    border-bottom: 2px solid #1A334E;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Kartu Artikel */
.card-grid {
    display: flex;
    gap: 15px;
}

.article-card {
    background: #ffffff;
    border: 1px solid #E0D8CE;
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-card h4 {
    color: #1A334E;
    font-size: 14px;
    margin-bottom: 5px;
}

.article-card .author {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

.article-card .abstract-preview {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
}

/* Tombol Read More & View Issue */
.btn-read-more, .btn-issue {
    display: inline-block;
    background-color: #3B729E;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    margin-top: 10px;
}

.btn-read-more:hover, .btn-issue:hover {
    background-color: #1A334E;
}

/* Sampul Current Issue */
.issue-grid {
    display: flex;
    gap: 12px;
}

.issue-card {
    background: #ffffff;
    border: 1px solid #E0D8CE;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    flex: 1;
}

.issue-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.issue-title {
    font-size: 12px;
    font-weight: bold;
    margin: 8px 0 4px 0;
    color: #1A334E;
}

/* =========================================================
   5. FOOTER
   ========================================================= */
.pkp_structure_footer_wrapper {
    background-color: #1A334E !important;
    color: #ffffff !important;
    padding: 20px 0;
    margin-top: 50px;
}

.custom-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-links a {
    color: #ffffff !important;
    text-decoration: none;
    margin: 0 5px;
}

.footer-social a {
    color: #ffffff !important;
    font-size: 18px;
    margin-left: 12px;
}