/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* Tambahkan custom CSS kamu di bawah ini */
@media (max-width: 768px) {
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header

 {
        padding: 20px 5px 20px 5px;
    }
}

p {
    font-size: 20px;
}
.posisi_kiri {

  border: 1px solid black;
  background-color: lightblue;
  padding-top: 5px;
  padding-right: 3px;
  padding-bottom: 50px;
  padding-left: 8px;
}

.item-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
}

.item-list li {
    margin-bottom: 0.3em;
    color: green;
    font-weight: 500;
}


.daftar-novel-kategori .daftar-judul div {
  margin-bottom: 5px;
}
.daftar-novel-kategori ul {
  list-style: none;
  padding-left: none;
  margin-left: none;
}


body {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
}

/* Container list item */
.menu-user-name {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  font-weight: 500;
  font-size: 14px;
  flex-wrap: wrap;
}

/* Nama pengguna */
.menu-user-name::before {
  content: "";
  margin-right: 5px;
  font-size: 16px;
}

/* Tautan dalam user menu */
.menu-user-name a {
  display: inline-block;
  color: #0073aa;
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 4px;
  background-color: #e8f4fc;
  transition: background-color 0.3s;
  font-size: 14px;
}

.menu-user-name a:hover {
  background-color: #cce8f6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .menu-user-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .menu-user-name a {
    width: 100%;
    padding: 8px 10px;
    text-align: left;
  }
}



body.single .site-content .site-main
{
	
    padding-left: 2px;
    padding-right: 2px;
}
a {
  text-decoration: none;
}


.tab-menu {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch; /* smooth scroll di iOS */
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
}

.tab-menu li {
  flex: 0 0 auto;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.tab-menu li.active {
  border-bottom: 3px solid #0073aa;
  font-weight: bold;
  color: #ffffff;
}

img {
    height: 175px;
    max-width: 175px;
}
@media (max-width: 768px) {
  img {
    height: 150px;
    max-width: 150px;
}
}
/* Sembunyikan gambar mobile di desktop */
.gambar-mobile {
  display: none;
}

.gambar-desktop {
  display: block;
}


/* Styling dasar untuk tbpost */
a.tbpost {
  display: inline-block;
  padding: 8px 14px;
  background-color: #eee;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  margin: 5px;
}

a.tbpost:hover {
  background-color: #ddd;
}

/* Saat tampilan mobile (lebar <= 768px), sembunyikan desktop, tampilkan mobile */
@media (max-width: 768px) {
  .gambar-desktop {
    display: none;
  }

  .gambar-mobile {
    display: block;
  }
}

a.daftar_isi_bab {
  display: inline-block;
  background-color: #eee;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  margin: 5px;
  color: #000;
  font-weight: bold;
}

/* Styling dasar untuk previous & next */
a.previous, a.next {
  display: inline-block;
  padding: 8px 14px;
  background-color: #eee;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  margin: 5px;
}

a.previous:hover, a.next:hover {
  background-color: #ddd;
}

/* Container fleksibel */
a.previous:only-child,
a.previous + a.next,
a.next:only-child {
  display: block;
  text-align: center;
}

/* Mobile: tombol di tengah */
@media (max-width: 768px) {
  a.previous, a.next {
    display: block;
    text-align: center;
    margin: 10px auto;
  }
}

/* Desktop: tombol kanan-kiri */
@media (min-width: 769px) {
  a.previous {
    float: left;
  }

  a.next {
    float: right;
  }
}
a.previous, a.next {
  display: inline-block;
  padding: 8px 14px;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  margin: 5px;
}

a.previous:hover, a.next:hover {
  background-color: #ddd;
}

a.daftar_isi_bab {
  display: inline-block;
  padding: 8px 16px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 5px;
  transition: background-color 0.3s ease;
}

a.daftar_isi_bab:hover {
  background-color: #0056b3;
}
