/*
Theme Name: Perpustakaan dan Kearsipan Provinsi Bengkulu
Theme URI: https://www.perpustakaandankearsipanprovinsibengkulu.com
Author: Firdaus Eka
Author URI: https://www.facebook.com/firdaus.eka.967?locale=ps_AF
Description: Tema untuk Perpustakaan dan Kearsipan Provinsi Bengkulu.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Full html
Text Domain: perpustakaan-kearsipan-bengkulu
*/

/* Add your CSS styles below this line */

/* Style dasar untuk halaman */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Gambar dalam konten */
.custom-entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.3s ease-out;
}

.custom-entry-content img:hover {
    transform: scale(1.05);
}

/* Gambar dengan Caption */
.wp-caption {
    display: inline-block;
    max-width: 100%;
    text-align: center;
    margin: 10px 0;
    box-sizing: border-box; /* Menyertakan padding dan border dalam lebar total */
}

.wp-caption img {
    width: 100%;
    height: auto;
	
}

.wp-caption-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding: 10px;
    background-color: #f0f0f0;
    box-sizing: border-box; /* Menyertakan padding dalam lebar total */
}












/* Style untuk artikel khusus */
.custom-article-class {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    
    
}

.custom-article-class h1,
.custom-article-class h2,
.custom-article-class h3 {
    color: #2c3e50;
}

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

/* Gambar dalam konten dengan atau tanpa caption */
.custom-article-class img {
    width: 100% !important; /* Memastikan gambar menyesuaikan lebar kontainer */
    height: auto !important; /* Menyesuaikan tinggi gambar otomatis */
    max-width: none; /* Menghapus batasan lebar maksimum */
	 border-radius: 8px;
	
}

/* Gaya untuk caption jika ada */
.custom-article-class .wp-caption {
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box; /* Memastikan padding dihitung dalam lebar total */
}

.custom-article-class .wp-caption-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding: 10px;
    background-color: #f0f0f0;
    box-sizing: border-box; /* Memastikan padding dihitung dalam lebar total */
}
