/* jurnal/artikel-detail.css - CSS khusus untuk halaman detail artikel saja */

/* ===========================================
   RESET UNTUK HALAMAN DETAIL
   =========================================== */
.artikel-detail-page {
    font-family: 'Open Sans', sans-serif;
}

/* ===========================================
   HEADER DETAIL ARTIKEL
   =========================================== */
.artikel-header {
    margin-bottom: 3rem;
    text-align: center;
    padding-top: 2rem;
}

.artikel-header h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.artikel-meta-large {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #666666;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
}

.artikel-meta-large span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artikel-category {
    display: inline-block;
    background-color: #ffcc00;
    color: #333333;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
}

/* ===========================================
   GAMBAR UTAMA
   =========================================== */
.artikel-image-main {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.artikel-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.artikel-image-main:hover img {
    transform: scale(1.02);
}

/* ===========================================
   KONTEN ARTIKEL DETAIL
   =========================================== */
.artikel-content-detail {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

.artikel-content-detail h2 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin: 3rem 0 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.artikel-content-detail h3 {
    font-size: 1.4rem;
    color: #2c5aa0;
    margin: 2.5rem 0 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.artikel-content-detail p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.artikel-content-detail ul, 
.artikel-content-detail ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding-left: 1rem;
}

.artikel-content-detail li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

/* ===========================================
   CARD HASIL UTAMA
   =========================================== */
.highlight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 5px solid #2c5aa0;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.highlight-card h3 {
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
}

.highlight-card ul {
    margin-left: 1.5rem;
}

.highlight-card li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.highlight-card strong {
    color: #2c5aa0;
    font-weight: 700;
}

/* ===========================================
   FOOTER ARTIKEL DETAIL
   =========================================== */
.artikel-footer-detail {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.artikel-tags-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 2.5rem;
}

.artikel-tags-detail a {
    padding: 0.6rem 1.2rem;
    background-color: #f0f7ff;
    border: 1px solid #cce0ff;
    border-radius: 25px;
    color: #2c5aa0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.artikel-tags-detail a:hover {
    background-color: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

.share-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.share-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.share-buttons .btn {
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-facebook {
    background-color: #1877f2;
    color: white;
    border: 1px solid #1877f2;
}

.btn-twitter {
    background-color: #1da1f2;
    color: white;
    border: 1px solid #1da1f2;
}

.btn-linkedin {
    background-color: #0077b5;
    color: white;
    border: 1px solid #0077b5;
}

.btn-email {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.btn-back {
    background-color: #2c5aa0;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-back:hover {
    background-color: #1e3a6f;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   SIDEBAR DETAIL
   =========================================== */
.sidebar-detail {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    margin-left: 2rem;
}

.author-widget {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.author-info h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.author-info p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.related-articles {
    margin-bottom: 2rem;
}

.related-article-item {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.related-article-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.5rem;
}

.related-article-item:last-child {
    border-bottom: none;
}

.related-article-item h4 {
    margin-bottom: 0.5rem;
}

.related-article-item h4 a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 1rem;
}

.related-article-item h4 a:hover {
    text-decoration: underline;
}

.related-article-item p {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.categories-widget {
    margin-bottom: 2rem;
}

.categories-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.category-tag {
    padding: 0.5rem 1rem;
    background-color: #f0f7ff;
    color: #2c5aa0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #cce0ff;
}

.category-tag:hover {
    background-color: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

.subscribe-widget input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
}

.subscribe-widget button {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90e2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-widget button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(44, 90, 160, 0.2);
}

/* ===========================================
   LAYOUT UTAMA DETAIL
   =========================================== */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 2rem;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 992px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar-detail {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .artikel-header h1 {
        font-size: 2rem;
    }
    
    .artikel-image-main {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .artikel-header h1 {
        font-size: 1.8rem;
    }
    
    .artikel-image-main {
        height: 250px;
    }
    
    .artikel-content-detail {
        font-size: 1rem;
    }
    
    .artikel-content-detail h2 {
        font-size: 1.5rem;
    }
    
    .artikel-content-detail h3 {
        font-size: 1.2rem;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}