/* Meniru Bootstrap dan tata letak dasar dari E-Journal UNUJA */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}
.container {
    width: 90%;
    margin: auto;
}
.navbar-default {
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    min-height: 50px;
}
.header-container {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}
#headerTitle h1 {
    margin: 0;
    padding: 0;
    font-size: 24px;
}
#main-content {
    display: flex;
    flex-wrap: wrap;
}
/* Style untuk setiap item jurnal (meniru col-md-4) */
.journals {
    width: 33.33%; /* Meniru col-md-4 */
    padding: 15px;
    box-sizing: border-box;
}
/* Style untuk boks jurnal */
.ro {
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #fff;
    overflow: auto;
    display: flex;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.col-sm-6 {
    width: 50%;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.cover .thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}
.cover img {
    width: 100%;
    height: auto;
}
.col-sm-6 h4 {
    padding: 0;
    margin: 0;
    font-size: 1.12em;
    color: #555;
    height: 70px;
    overflow: hidden;
    line-height: 1.2;
}
.act {
    display: inline-block;
    margin-top: 5px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    background-color: #5bc0de; /* Meniru btn-info */
    text-decoration: none;
}
.act span {
    margin-right: 5px;
}
/* Gaya Footer */
.pkp_structure_footer_wrapper {
    background-color: #222;
    color: #eee;
    margin-top: 30px;
    padding: 20px 0;
    text-align: center;
}
.pkp_footer_content p {
    margin: 5px 0;
    font-size: 14px;
}
.pkp_footer_content a {
    color: #fff;
    text-decoration: none;
}
/* Media query untuk tampilan mobile (meniru Bootstrap grid) */
@media (max-width: 991px) {
    .journals {
        width: 50%; /* Meniru col-sm-6 */
    }
}
@media (max-width: 767px) {
    .journals {
        width: 100%; /* Meniru col-xs-12 */
    }
    .ro {
        flex-direction: column;
    }
    .col-sm-6 {
        width: 100%;
        float: none;
        text-align: center;
    }
    .col-sm-6 h4 {
        height: auto;
        margin-top: 10px;
    }
    .cover {
        width: 50%;
        margin: 0 auto;
    }
}