/* ========================================================
   Detail Publikasi CSS — Clean Editorial Style (2-Column Layout)
   ======================================================== */

.publication-detail-wrapper {
    background: transparent;
    padding: 0;
    margin: 0;
}

.cover-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 0;
}

.cover-image {
    max-width: 280px !important;
    max-height: 390px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: none !important;
    transform: none !important;
}

.cover-image:hover {
    transform: none !important;
}

.publication-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2D3748;
    line-height: 1.35;
    word-break: break-word;
}

.info-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    width: fit-content;
}

.badge-publikasi {
    background: #28a745;
    color: white;
}

.badge-berita {
    background: #ffc107;
    color: #333;
}

.info-table {
    width: 100%;
    margin-top: 15px;
}

.info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.info-label {
    font-weight: 600;
    color: #718096;
    font-size: 0.95rem;
}

.info-value {
    color: #2D3748;
    font-size: 0.95rem;
}

.publication-body-section {
    width: 100%;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2D3748;
    letter-spacing: 0.5px;
}

.abstraksi-text {
    line-height: 1.8;
    color: #4A5568;
    font-size: 0.98rem;
    text-align: justify;
}

.action-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
}

.btn-download {
    flex: 1;
    padding: 13px 24px;
    background: #CC3334;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-download:hover {
    background: #b52b2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 51, 52, 0.3);
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.metadata-card {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #edf2f7;
}

.metadata-label {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.metadata-value {
    font-size: 16px;
    font-weight: 700;
    color: #2D3748;
}

@media (max-width: 768px) {
    .sticky-top-cover {
        position: static;
    }

    .publication-title {
        font-size: 1.35rem;
    }
    
    .info-row {
        grid-template-columns: 130px 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .metadata-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .metadata-card {
        padding: 12px 8px;
    }
    
    .metadata-value {
        font-size: 14px;
    }
}