/* File: style.css */

/* --- BAGIAN JUDUL (REGISTER YOUR PROPOSAL HERE) --- */
.page-content {
    width: 100%;
    margin-bottom: 40px; 
    text-align: center;
}

.site-about p {
    font-size: 1.5rem;    /* UKURAN FONT SUDAH DIKECILKAN */
    font-weight: 700;     /* Sedikit lebih tipis agar tidak terlalu berat */
    color: #222;
    text-transform: uppercase; 
    letter-spacing: 1.5px;  
    margin: 0;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Garis dekorasi di bawah judul */
.site-about p::after {
    content: "";
    width: 50px;         /* Lebar garis disesuaikan dengan font baru */
    height: 3px;
    background-color: #007bff; 
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* --- BAGIAN DAFTAR JURNAL --- */

.site-journals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; 
    padding: 20px;
}

.site-journal {
    flex: 0 0 calc(25% - 20px); 
    display: flex;
    flex-direction: column; 
    background: #fff;
    border: 1px solid #ddd; 
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    text-align: center;
}

.site-journal:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #bbb;
    transform: translateY(-5px);
}

.site-journal-img {
    margin-bottom: 15px;
    display: block;
}

.site-journal-img img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.site-journal-title {
    font-size: 15px;      /* Judul jurnal di dalam kotak juga sedikit dikecilkan */
    margin: 10px 0;
    min-height: 45px; 
}

.site-journal-title a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.site-journal-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.site-journal-body .links {
    margin-top: auto; 
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
}

.site-journal-body .btn {
    display: block;
    background-color: #007bff; 
    color: white !important;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;      /* Ukuran font tombol disesuaikan */
    font-weight: 600;
    transition: background 0.3s;
}

.site-journal-body .btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.site-journal-body .btn:last-child {
    background-color: #6c757d; 
}

.site-journal-body .btn:last-child:hover {
    background-color: #5a6268;
}

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 1024px) {
    .site-journal {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .site-journal {
        flex: 0 0 100%;
    }
    .site-about p {
        font-size: 1.2rem; /* Lebih kecil lagi di layar HP */
    }
}