.artikel-detail-wrapper {
    background: #f5f5f5;
    padding: 30px 0;
}

.artikel-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* ARTICLE */
.artikel-detail-wrapper .main-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}
    .article-meta {
    display: flex;
    align-items: center; /* 🔥 ini kunci */
    gap: 12px;
}

.author-info {
    line-height: 1.3; /* biar nggak terlalu tinggi */
}

.social-links {
    margin-left: auto; /* dorong ke kanan TANPA ubah layout */
}
.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* CONTENT */
.article-content {
    font-size: 17px;
    line-height: 1.8;
}
/* ===== PARAGRAF ===== */
.article-content p {
    margin-bottom: 1.2rem;
}

/* ===== HEADING DALAM ARTIKEL ===== */
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.article-content h2 {
    font-size: 24px;
}

.article-content h3 {
    font-size: 20px;
}

/* ===== BLOCKQUOTE ===== */
.article-content blockquote {
    border-left: 4px solid #22c55e;
    background: #f9fafb;
    padding: 15px 20px;
    margin: 25px 0;
    font-style: italic;
    border-radius: 6px;
}

/* ===== ORDERED LIST ===== */
.article-content ol {
    padding-left: 22px;
    margin-bottom: 1.5rem;
}

.article-content ol li {
    margin-bottom: 10px;
}

/* ===== UNORDERED LIST ===== */
.article-content ul {
    padding-left: 22px;
    margin-bottom: 1.5rem;
}

.article-content ul li {
    margin-bottom: 10px;
}

/* ===== STRONG & EMPHASIS ===== */
.article-content strong {
    font-weight: 700;
}

.article-content em {
    font-style: italic;
}
.quote-box {
    background: #f5f5f5;
    padding: 25px;
    border-left: 4px solid #22c55e;
    margin: 30px 0;
}

/* SIDEBAR */
.sidebar-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.popular-article {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.popular-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.post-share {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

/* tombol share */
.share-toggle {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 8px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.share-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    background: rgba(0, 0, 0, 0.8);
}

/* container icon */
.post-share .share {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);

    /* ANIMASI */
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all .3s ease;
}

/* aktif */
.post-share.active .share {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* icon */
.post-share .share a {
    display: inline-block;
    margin: 0 6px;
    color: #333;
    font-size: 16px;
    transition: transform .25s ease, color .25s ease;
}

.post-share .share a:hover {
    transform: translateY(-4px) scale(1.15);
}

/* warna hover biar hidup */
.post-share .fa-facebook:hover {
    color: #1877f2;
}

.post-share .fa-twitter:hover {
    color: #1da1f2;
}

.post-share .fa-whatsapp:hover {
    color: #25d366;
}

.post-share .fa-pinterest:hover {
    color: #e60023;
}

