/*
Theme Name: Nurim Peduli Theme
Theme URI: https://nurimpeduli.org
Author: Nurim Developer
Author URI: https://nurimpeduli.org
Description: Template Crowdfunding & Donasi Modern untuk Yayasan Nurim Peduli.
Version: 1.1
Text Domain: nurimpeduli
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    overflow-y: scroll;
}

/* Font Khusus Teks Arab agar indah dan mudah dibaca */
.font-arabic {
    font-family: 'Amiri', serif;
}

/* Custom styling untuk progress bar animation */
.progress-bar-fill {
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide scrollbar for category scroll */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animasi Halus Saat Panel Fitur Terbuka */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =========================================================
   ARTICLE CONTENT
   Style untuk konten dari WordPress Editor
========================================================= */

.article-content {
    font-size: 16px;
    line-height: 1.85;
    color: #475569;
}

/* Paragraph */
.article-content p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

/* Heading 2 */
.article-content h2 {
    display: block;
    font-size: 1.75rem;
    line-height: 1.35;
    font-weight: 800;
    color: #1e293b;
    margin-top: 2.75rem;
    margin-bottom: 1rem;
}

/* Heading 3 */
.article-content h3 {
    display: block;
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 700;
    color: #334155;
    margin-top: 2.25rem;
    margin-bottom: 0.875rem;
}

/* Heading 4 */
.article-content h4 {
    display: block;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 700;
    color: #334155;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

/* Strong */
.article-content strong,
.article-content b {
    font-weight: 700;
    color: #334155;
}

/* Italic */
.article-content em,
.article-content i {
    font-style: italic;
}

/* Link */
.article-content a {
    color: #059669;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: #047857;
}

/* Blockquote */
.article-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #10b981;
    background: #f8fafc;
    border-radius: 0 0.75rem 0.75rem 0;
    color: #475569;
}

.article-content blockquote p {
    margin-bottom: 0.75rem;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* List */
.article-content ul {
    list-style-type: disc;
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.article-content ol {
    list-style-type: decimal;
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Images */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.75rem auto;
}

/* Horizontal line */
.article-content hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2.5rem 0;
}

/* Arabic */
.article-content [dir="rtl"] {
    line-height: 2;
}