@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --emerald-deep: #064e3b;
    --emerald-main: #047857;
    --gold-accent: #d97706;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.font-arab, [dir="rtl"] {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    line-height: 2.3;
    letter-spacing: 0;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScroll 28s linear infinite;
}
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.islamic-pattern {
    background-color: #064e3b;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px),
                      radial-gradient(rgba(217, 119, 6, 0.12) 1.5px, #064e3b 1.5px);
    background-size: 36px 36px;
    background-position: 0 0, 18px 18px;
}

.card-hover {
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(6, 78, 59, 0.15);
}

@keyframes pulseRing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.wa-pulse {
    animation: pulseRing 2.2s infinite;
}

/* ==========================================================================
   Tipografi Artikel Front-End (.prose) — Rapi, Responsif & Nyaman Dibaca
   ========================================================================== */
.prose {
    color: #1e293b;
    line-height: 1.85;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.prose > :first-child {
    margin-top: 0;
}
.prose > :last-child {
    margin-bottom: 0;
}
.prose p {
    margin-top: 0;
    margin-bottom: 1.1em;
}
.prose h1, .prose h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #064e3b;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}
.prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #065f46;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    line-height: 1.35;
}
.prose h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.2em;
    margin-bottom: 0.45em;
}
.prose ul {
    list-style-type: disc;
    padding-left: 1.6rem;
    margin-top: 0.5em;
    margin-bottom: 1.1em;
}
.prose ol {
    list-style-type: decimal;
    padding-left: 1.6rem;
    margin-top: 0.5em;
    margin-bottom: 1.1em;
}
.prose li {
    margin-bottom: 0.4em;
}
.prose li > ul, .prose li > ol {
    margin-top: 0.35em;
    margin-bottom: 0.35em;
}
.prose blockquote {
    border-left: 4px solid #047857;
    background-color: #f0fdf4;
    padding: 0.85rem 1.2rem;
    margin: 1.25em 0;
    border-radius: 0 0.75rem 0.75rem 0;
    color: #064e3b;
    font-style: italic;
}
.prose a {
    color: #047857;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.prose a:hover {
    color: #064e3b;
}
.prose hr {
    border: 0;
    border-top: 1px solid #cbd5e1;
    margin: 1.75rem 0;
}
.prose table,
.prose table.ppdn-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.925rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
    .prose table,
    .prose table.ppdn-table {
        display: table;
    }
}
.prose th,
.prose td {
    border: 1px solid #cbd5e1;
    padding: 0.6rem 0.85rem;
    vertical-align: top;
}
.prose th {
    background-color: #065f46;
    color: #ffffff;
    font-weight: 700;
}
.prose tbody tr:nth-child(even) {
    background-color: #f8fafc;
}
.prose [dir="rtl"] {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 1.35em;
    line-height: 2.2;
}
/* ==========================================================================
   Animasi Logo Bersinar (Pendar Cahaya + Kilauan Melintas)
   ========================================================================== */
.logo-shine-wrap {
    position: relative;
    overflow: hidden;
    animation: logoRadiantGlow 3.2s ease-in-out infinite;
}

.logo-shine-wrap::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: logoLightSweep 4s ease-in-out infinite;
    pointer-events: none;
}

.logo-shine-img {
    position: relative;
    z-index: 1;
    animation: logoDropGlow 3.2s ease-in-out infinite;
}

@keyframes logoRadiantGlow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(4, 120, 87, 0.18), 0 0 0 0 rgba(245, 158, 11, 0);
    }
    50% {
        box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5), 0 0 14px rgba(16, 185, 129, 0.35);
    }
}

@keyframes logoDropGlow {
    0%, 100% {
        filter: drop-shadow(0 0 1px rgba(245, 158, 11, 0.15));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
    }
}

@keyframes logoLightSweep {
    0% {
        left: -75%;
    }
    45%, 100% {
        left: 135%;
    }
}