/* =========================
   BANNER JURNAL
========================= */
.banner-jurnal {
    position: relative;
    background: #2b241c;
    height: 120px;
    display: flex;
    align-items: center;
}

.banner-jurnal .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.2)
    );
}

.banner-jurnal-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-jurnal .breadcrumb {
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.banner-jurnal .breadcrumb .sep {
    margin: 0 8px;
    opacity: 0.7;
}

.banner-jurnal .breadcrumb .kapital {
    text-transform: uppercase;
}

.jurnal-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    padding: 24px;
}
/* =========================
   KONTEN KIRI (KHUSUS JURNAL)
========================= */
.content-main-jurnal {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* =========================
   HEADER JURNAL
========================= */
.content-header-jurnal {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-header-jurnal h2 {
    font-size: 16px;
    font-weight: 700;
    color: #b11217;
    letter-spacing: 0.4px;
    margin: 0;
}

/* Toggle view */
.view-toggle {
    display: flex;
    gap: 14px;
}

.view-toggle i {
    font-size: 16px;
    color: #bfbfbf;
    cursor: pointer;
}

.view-toggle i.active {
    color: #b11217;
}

/* =========================
   CARD GRID JURNAL
========================= */
.jurnal-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    padding: 24px;
}

/* =========================
   GRID JURNAL
========================= */
.jurnal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* =========================
   ITEM JURNAL
========================= */
.jurnal-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Cover */
.jurnal-cover {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-bottom: 14px;
}
.jurnal-cover {
    aspect-ratio: 3 / 4;
}


.jurnal-cover img {
    width: 100%;
    display: block;
}

/* Judul */
.jurnal-item h3 {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin: 0 0 10px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Meta */
.jurnal-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 12px;
    color: #555;
}

.jurnal-meta li {
    margin-bottom: 4px;
}

/* =========================
   BUTTON BACA & UNDUH
========================= */
.jurnal-action {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

/* Base button */
.jurnal-action .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Icon */
.jurnal-action .btn i {
    font-size: 12px;
}

/* BACA */
.jurnal-action .btn-baca {
    background: #b11217;
    color: #fff;
}

.jurnal-action .btn-baca:hover {
    background: #8f0e12;
}

/* UNDUH */
.jurnal-action .btn-unduh {
    background: #fff;
    color: #b11217;
    border: 1px solid #dcdcdc;
}

.jurnal-action .btn-unduh:hover {
    border-color: #b11217;
    background: #fdf2f2;
}
 

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .jurnal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .content-container {
        flex-direction: column;
    }

    .jurnal-grid {
        grid-template-columns: 1fr;
    }
}
