/* =========================================================
   GAYA UNTUK HALAMAN STATIS (PAGE.PHP)
   ========================================================= */

/* Kunci utama agar tidak goyang/bisa digeser */
.page-main-container {
    max-width: 800px; /* Halaman statis biasanya lebih lebar sedikit agar nyaman dibaca */
    margin: 0 auto;
    padding: 20px 15px;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Judul Halaman */
.page-title {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: left;
}

/* Gambar Unggulan Halaman */
.page-featured-image {
    margin-bottom: 30px;
    width: 100%;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Isi Konten Halaman */
.page-entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.page-entry-content p {
    margin-bottom: 20px;
}

/* Penyesuaian untuk List (Bullet Points) di halaman statis */
.page-entry-content ul, 
.page-entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.page-entry-content li {
    margin-bottom: 10px;
}

/* Responsive Mobile */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .page-main-container {
        padding: 15px;
    }
}

/* =========================================================
   GAYA LINK DALAM KONTEN (POST & PAGE)
   ========================================================= */

/* 1. Keadaan Normal */
.single-content a, 
.page-entry-content a {
    color: #397a61; /* Warna hijau tema kamu */
    text-decoration: none; /* Menghilangkan garis bawah default yang kasar */
    font-weight: 600; /* Membuat teks sedikit lebih tebal agar menonjol */
    border-bottom: 1px solid rgba(57, 122, 97, 0.2); /* Garis bawah tipis dan transparan */
    padding-bottom: 1px;
    transition: all 0.3s ease; /* Efek transisi halus saat kursor menyentuh link */
}

/* 2. Keadaan Saat Kursor Diatas Link (Hover) */
.single-content a:hover, 
.page-entry-content a:hover {
    color: #2a5a47; /* Warna hijau yang sedikit lebih gelap */
    border-bottom: 2px solid #397a61; /* Garis bawah menebal dan menjadi solid */
    background-color: rgba(57, 122, 97, 0.05); /* Efek highlight sangat samar di belakang teks */
}

/* 3. Menghindari Bentrok dengan Tombol Share atau Elemen Gambar */
.single-content .share-btn,
.single-content figure a,
.page-entry-content figure a {
    border-bottom: none !important; /* Jangan kasih garis bawah pada gambar atau tombol */
    background-color: transparent !important;
}