/*
Theme Name: JagatHosting.com
Theme URI: http://jagathosting.com
Author: Your Name
Author URI: http://example.com
Description: A custom WordPress theme for JagatHosting.com using Tailwind CSS.
Version: 1.0
License: GPL-2.0-or-later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jagathosting-com
*/



/* Post Content */
.post-content {
    margin-top: 20px;
    font-size: 1.125rem;
    /* Ukuran font sedikit lebih besar untuk kenyamanan membaca */
    line-height: 1.75;
    /* Jarak antar baris lebih lebar */
    color: #4b5563;
    /* Warna teks yang lebih lembut */
    font-family: 'Arial', sans-serif;
}

.post-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.post-content a:hover {
    color: #9333ea;
    text-decoration: underline;
}

/* Menambahkan Spasi di Sekitar Elemen di dalam Post */
.post-content p {
    margin-bottom: 20px;
    /* Jarak antar paragraf */
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Gaya bayangan untuk gambar */
}

.post-content img.alignleft {
    float: left;
    margin-right: 20px;
}

.post-content img.alignright {
    float: right;
    margin-left: 20px;
}

/* Gaya untuk Teks di dalam Gambar */
.post-content figure {
    text-align: center;
    margin: 20px 0;
}

.post-content figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    /* Warna teks untuk caption gambar */
    font-style: italic;
    margin-top: 10px;
}

/* Gaya Kode (Preformatted Text) */
.post-content pre {
    background-color: #f3f4f6;
    /* Latar belakang abu-abu terang untuk blok kode */
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    color: #333;
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
}

.post-content code {
    background-color: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    color: #333;
}

/* Gaya Blockquote (Kutipan) */
.post-content blockquote {
    padding: 10px 20px;
    background-color: #f9fafb;
    /* Latar belakang kutipan */
    border-left: 4px solid #3b82f6;
    /* Garis kiri berwarna biru */
    font-style: italic;
    color: #6b7280;
    margin: 20px 0;
}

.post-content blockquote p {
    margin-bottom: 0;
}

/* Gaya Daftar (List) */
.post-content ul,
.post-content ol {
    margin-left: 40px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 10px;
    color: #4b5563;
}

/* Gaya Tabel */
.post-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.post-content th,
.post-content td {
    padding: 12px;
    border: 1px solid #ddd;
}

.post-content th {
    background-color: #f3f4f6;
    font-weight: bold;
    color: #333;
}

.post-content td {
    background-color: #ffffff;
}

/* Gaya untuk Button */
.post-content button {
    background-color: #3b82f6;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.post-content button:hover {
    background-color: #9333ea;
}

/* Gaya Teks yang Disorot */
.post-content .highlight {
    background-color: #fef08a;
    /* Latar belakang kuning untuk highlight */
    padding: 0.2em;
    border-radius: 4px;
}