@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Outfit:wght@500;700&display=swap');

.cursor-zoom-in {
    cursor: zoom-in;
}

.cursor-zoom-out {
    cursor: zoom-out;
}

#zoom-overlay {
    backdrop-filter: blur(8px);
}

/* Base style for article images */
.prose img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    max-width: 100%;
    height: auto;
}

/* Center figures and captions */
.prose figure {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.prose figcaption {
    text-align: center;
    color: #6b7280;
    /* text-gray-500 */
    font-size: 0.875rem;
    /* text-sm */
    margin-top: 0.5rem;
}

/* WordPress-style alignment classes and block images */
.aligncenter,
.alignnone,
.wp-block-image {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.aligncenter img,
.wp-block-image img {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Custom Header Styling within Prose */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #111827; /* text-gray-900 */
    font-weight: 700;
    margin-top: 1.5em; /* Memberi jarak lebih jelas dari paragraf sebelumnya */
    margin-bottom: 0.5em; /* Jarak ke paragraf berikutnya */
}

.prose h1 {
    font-size: 2.25em;
    line-height: 1.1;
}

.prose h2 {
    font-size: 1.75em;
    line-height: 1.2;
    border-bottom: 2px solid #e5e7eb; /* Garis bawah halus */
    padding-bottom: 0.3em;
}

.prose h3 {
    font-size: 1.5em;
    line-height: 1.3;
}

.prose h4 {
    font-size: 1.25em;
    line-height: 1.4;
    color: #374151; /* text-gray-700 - sedikit lebih terang dari H1-H3 */
}

.prose h5 {
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prose h6 {
    font-size: 1em;
    font-weight: 600;
    color: #6b7280; /* text-gray-500 */
}