/* public/assets/css/article.css */

/* General Article Content Styling */
.article-content {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 1.7;
    color: #374151; /* gray-700 */
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
    color: #111827; /* gray-900 */
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content a {
    color: #2563eb; /* blue-600 */
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #1d4ed8; /* blue-700 */
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem; /* rounded-lg */
    margin: 2em 0;
}

.article-content blockquote {
    border-left: 4px solid #d1d5db; /* gray-300 */
    padding-left: 1.5rem;
    font-style: italic;
    color: #4b5563; /* gray-600 */
}

.article-content ul,
.article-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
    list-style-position: outside;
    /* Pastikan bullet/numbering muncul */
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

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

/* Bold bullet/numbering (marker) pakai Poppins juga */
.article-content li::marker {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #111827; /* gray-900, biar tegas */
}

/* Table Styling */
.article-content .wp-block-table {
    margin: 2em 0;
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

.article-content .wp-block-table th,
.article-content .wp-block-table td {
    border: 1px solid #d1d5db; /* gray-300 */
    padding: 0.75rem 1rem;
}

.article-content .wp-block-table thead th {
    background-color: #f9fafb; /* gray-50 */
    font-weight: 600;
    color: #111827; /* gray-900 */
}

.article-content .wp-block-table tbody tr:nth-child(even) {
    background-color: #f9fafb; /* gray-50 */
}

.article-content .wp-block-table tbody tr:hover {
    background-color: #f3f4f6; /* gray-100 */
}

/* Button Wrapper Centering */
.article-content .wp-block-button {
    display: flex;
    justify-content: center;
    margin: 2em 0;
}

/* Button Styling */
.article-content .wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #ffcf00; /* green-500 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: background-color 0.2s, transform 0.15s;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(34,197,94,0.08), 0 1px 2px -1px rgba(34,197,94,0.08);
    border: none;
}

.article-content .wp-block-button__link:hover,
.article-content .wp-block-button__link:focus {
    background-color: #040404; /* green-600 */
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    outline: none;
}
