/*
Theme Name: Global Mandiri Theme
Theme URI: https://globalmandiri.sch.id
Author: Agung Nugroho
Author URI: https://globalmandiri.sch.id
Description: Tema kustom untuk SD Global Mandiri berbasis Tailwind CSS.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: education, school, tailwind
Text Domain: global-mandiri
*/

/* --- CSS UTAMA DI-HANDLE OLEH TAILWIND (CDN) --- */
/* File ini khusus untuk override elemen bawaan WordPress seperti Komentar */

/* 1. Area Komentar Umum */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb; /* Garis pemisah halus */
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #111827;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid #f59e0b; /* Aksen Kuning */
}

/* 2. List Komentar (Tampilan Chat Bubble) */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li.comment {
    margin-bottom: 1.5rem;
}

.comment-body {
    background: #f8fafc; /* Abu-abu sangat muda */
    padding: 1.5rem;
    border-radius: 1rem; /* Sudut membulat */
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.2s ease;
}

.comment-body:hover {
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Metadata (Penulis & Tanggal) */
.comment-meta {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author img.avatar {
    border-radius: 9999px; /* Foto bulat */
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.comment-author cite {
    font-style: normal;
    font-weight: 700;
    color: #1e3a8a; /* Biru Utama */
}

.comment-metadata a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.75rem;
}

/* Isi Komentar */
.comment-content p {
    margin-bottom: 0.5rem;
    color: #334155;
    line-height: 1.6;
}

/* Tombol Balas (Reply) */
.reply {
    text-align: right;
    margin-top: 0.5rem;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3a8a;
    background-color: #dbeafe; /* Biru muda */
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s;
}

.comment-reply-link:hover {
    background-color: #1e3a8a;
    color: #ffffff;
}

/* Komentar Bertingkat (Balasan) */
.children {
    list-style: none;
    padding-left: 2rem; /* Indentasi */
    margin-top: 1rem;
    border-left: 2px solid #e2e8f0; /* Garis vertikal penanda thread */
}

/* 3. FORM KOMENTAR (Yang dipercantik) */
#respond {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    margin-top: 3rem;
}

#reply-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: block;
}

#reply-title small a {
    color: #ef4444;
    font-size: 0.875rem;
    margin-left: 0.5rem;
    font-weight: 400;
}

.comment-notes, .logged-in-as {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.comment-form p {
    margin-bottom: 1.25rem;
}

/* Label & Input */
.comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.2s ease-in-out;
}

/* Efek Fokus Input */
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #1e3a8a; /* Biru Utama */
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1); /* Ring effect */
}

.comment-form textarea {
    min-height: 150px; /* Tinggi textarea */
}

/* Tombol Submit Keren */
.form-submit {
    margin-top: 1rem;
    text-align: right;
}

.submit {
    background-color: #1e3a8a; /* Biru Utama */
    color: white;
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    letter-spacing: 0.025em;
    display: inline-block;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2);
}

.submit:hover {
    background-color: #1e40af; /* Biru lebih terang saat hover */
    transform: translateY(-2px); /* Efek naik sedikit */
    box-shadow: 0 6px 8px -1px rgba(30, 58, 138, 0.3);
}

.submit:active {
    transform: translateY(0);
}

/* Responsif untuk Mobile */
@media (max-width: 640px) {
    .children {
        padding-left: 1rem;
    }
    .comment-body {
        padding: 1rem;
    }
    .submit {
        width: 100%; /* Tombol full width di HP */
    }
}

.hero-pattern {
    background-color: #2e4c9d8d !important;
    background-blend-mode: multiply;
}

/* ... (kode sebelumnya tetap dibiarkan) ... */

/* 4. TYPOGRAPHY KONTEN (Entry Content)
   Mengatur tampilan teks di dalam artikel/halaman agar tidak polos
*/
.entry-content {
    font-size: 1.125rem; /* Ukuran font sedikit lebih besar (18px) */
    line-height: 1.8;
    color: #374151; /* Abu-abu tua yang nyaman di mata */
}

/* Judul (Headings) di dalam konten */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #1e3a8a; /* Warna Biru Utama Sekolah */
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.entry-content h1 { font-size: 2.25rem; }
.entry-content h2 { 
    font-size: 1.875rem; 
    border-bottom: 2px solid #e5e7eb; /* Garis bawah halus */
    padding-bottom: 0.5rem;
}
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }

/* Paragraf */
.entry-content p {
    margin-bottom: 1.5rem;
}

/* List (Daftar) */
.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Link (Tautan) */
.entry-content a {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: #f59e0b; /* Berubah kuning saat di-hover */
}

/* Blockquote (Kutipan) */
.entry-content blockquote {
    border-left: 5px solid #f59e0b; /* Garis samping kuning */
    padding-left: 1.5rem;
    font-style: italic;
    color: #4b5563;
    margin: 2rem 0;
    background: #fffbeb; /* Background kuning sangat muda */
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Gambar di dalam konten */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.entry-content figure {
    margin: 2rem 0;
}

.entry-content figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Tabel */
.entry-content table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.entry-content th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #111827;
}