/*
 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
*/

html.drdt-dark-mode :not(.drdt-ignore-dark):not(.drdt_checkbox):not(.droit_dark):not(.droit_light):not(.dark_switch_box):not(img):not(option):not(input):not(select):not(textarea):not(mark):not(code):not(pre):not(ins):not(button):not(a):not(video):not(canvas):not(progress):not(iframe):not(svg):not(path):not(.mejs-iframe-overlay):not(.mejs-iframe-overlay):not(.elementor-element-overlay):not(.elementor-background-overlay):not(i):not(button *):not(a *) {
    color: #ffffff !important;
}
.dark-mode-toggle {
  display: none;
}
.grid-item img {
    width: 100%;
    height: auto; /* Set a fixed height for the images */
    object-fit: cover;
    display: block;
	border-radius: .75rem;
}
.title-fs-old {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #000;
}


.entry-content {
 
  gap: 50px;
}
.custom-fields-old {
  width: 60%;
}

.episode-list {
  margin-top: 50px;
	margin-left:10px
}
.episode-list h3 {
  text-align: center;
}
.episode-list li {
  list-style: none;
}
.episode-list li a {
  color: #000;
  font-family: Lora;
  font-size: 1.2rem;
	text-decoration:none;
}
.episode-list li a:hover {
	color: red;
	transition: transform 0.3s ease-in-out;
}
.page-content p {
  font-family: lora;
  font-size: 16px;
  line-height: 24px !important;
  margin-bottom: 1.5em;
  margin-top: 1.5em;
}
.episode-content {
  padding-bottom: 50px;
}
.episode-content p {
  font-family: Lora;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}


.main-page-title h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 20px;
  margin-bottom: 20px;
}
.status-main-page-old {
  color: #000;
  border: 1px solid black;
  padding: 2px 5px 2px 5px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.8rem;
}

.update-time {
  display: flex;
  justify-content: space-around;
  gap: 80px;
  align-items: baseline;
	color: #000;
}
.image-grid {

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding-top: 20px;
	gap:15px
}

.grid-item {
    display: flex;

    gap:20px;

    border-radius: .75rem;
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.novel-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 10px;
}

.status-main-page {
  color: #000;
  border: 1px solid black;
  padding: 2px 5px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 20px;
  margin-top: -10px;
}

.update-time {
    color: #000;
    font-size: 0.8rem;
}

.site-navigation ul.menu li a {
  display: block;
  padding: 8px 15px;
  font-size: 1rem;
  font-weight: 700;
}

.custom-fields {
  width: 50%;
  padding: 0 20px;
}
.custom-fields h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
}
.alternate-chapters {
  margin: 14px 0;
}
.title-fs.dark-mode {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.5rem;
  color: #000;
}


.episodes-main h2 {
  font-size: 2rem;
  font-family: Lora;
  font-weight: 500;
  letter-spacing: 2px;
}
.episodes-main {
  text-align: center;
}

.episode-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}



.novel-content {
  width: 100%;
  height: auto;
  display: flex;
  gap: 20px;
}


/* Dark Mode Toggle Styles */
/*
.dark-mode-toggle {
  position: fixed;
  right: 30px;
  z-index: 1000;
}
.dark-mode-checkbox {
    display: none;
}

.dark-mode-label {
    cursor: pointer;
    font-size: 24px;
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #333;
    transition: color 0.3s ease-in-out;
}
*/
/* Dark Mode Styles */
/*
body.dark-mode .inside-article {
  background-color: #333 !important;
}
body.dark-mode {
    background-color: #333;
    color: #fff !important;
}
body.dark-mode .episode-bottom-bar {
  background-color: #333;
}

body.dark-mode .entry-title {
    color: #fff;
}


body.dark-mode .menu li a {
    color: #fff !important;
}


body.dark-mode .episode-list li a {
	color: #fff;
}
body.dark-mode .status-main-page{
	color: #fff;
	border: 1px solid #fff;
}
body.dark-mode .dark-mode-label {
    color: #fff !important; 
}
body.dark-mode .main-title a {
  color: #fff !important;
}


body:not(.dark-mode) {
    
    background-color: #fff;
    color: #333;
}

body.dark-mode .grid-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  background-color: #333;
}
body.dark-mode #thread__container {
  color: #fff;
}
#thread__container {
  color: #FFF;
}
*/

.episode-bottom-bar {
    background-color: #f5f5f5;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 94.5%;
    z-index: 999;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

/* Home and Back to Top Links */
.bottom-bar-links a {
    margin-right: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.bottom-bar-links a:hover {
    color: #f00;
}

.bottom-bar-links a:last-child {
    margin-right: 0;
}

/* Episode Title */
.bottom-bar-title {
	flex: 1;
  font-size: .875rem;
  font-weight: 700;
	
}

/* Navigation Buttons */
.bottom-bar-navigation {
  display: flex;
  gap: 50px;
  align-items: center;
  width: 400px;
}

.prev-episode,
.next-episode {
    text-decoration: none;
}

.prev-episode:hover,
.next-episode:hover {
    background-color: #f5f5f5;
}

.bottom-bar-navigation {
  display: flex;
  gap: 50px;
  align-items: center;
}



.bottom-bar-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
.bottom-bar-icon-link {
  margin-right: 10px;
  text-decoration: none;
  color: #333;
}
.w-6 {
  width: 24px;
  height: 24px;
}

/* Next episode link */
.next-episode a {
  text-decoration: none;
  color: #007bff;
}
.prev-episode a {
  text-decoration: none;
  color: #007bff;
}

.bottom-bar-icon-link:hover {
    color: #f00;
}

.show-bottom-bar {
    transform: translateY(0);
}

.episode-navigation {
  display: none;
}
.next-pre-episode{
	display: flex;
	gap: 20px;
	justify-content: flex-end;
}

.inside-header {
  padding: 0px 0px;
}

.custom-fields p {
  font-family: lora;
}
.entry-content p {
  font-family: lora;
}
.dark .text-item {
  color: unset !important;
}
@media screen and (max-width: 992px) {
  .grid-item {
  display: block;
}
}
@media screen and (max-width: 767px) {
  .bottom-bar-title {
 display:none;
}
.custom-fields {
  width: 100% !important;
}
.novel-content {
    display: block;
  }
	.bottom-bar-navigation {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}
	.episode-bottom-bar{
		display:block;
	}
	 .has-inline-mobile-toggle .mobile-menu-control-wrapper {
    margin-right: 1px !important;
  }
}

@media screen and (max-width: 360px){
.book-item-feature h2 {
  font-size: 0.8rem !important;
}
}
@media screen and (max-width: 450px){
	.bottom-bar-navigation {
  justify-content: flex-start !important;
}
	.age-gate-wrapper, .age-gate__wrapper {
  z-index: 1000;
}
}
	.episode-single {
		display: block !important;
}
	.alternate-title {
  display: block !important;
}
	.page-content-container .page-content {
  width: 100% !important;
}
	.episodes-main h2 {
  font-size: 20px;
	font-weight: 700;
}
	.latest-episodes-list li {
  align-items: center;
}
	.episode-time {
  font-size: 12px;
		margin-top:5px;
	
}
.latest-episodes-list li {

  margin-left: 0px !important;
}
	.novel-title {
  margin-left: 10px !important;
}
	.toggle-chapters2 {
		top: -15px !important;
		right:20px !important;

}
	.toggle-chapters {
		top: -15px !important;
		right:20px !important;

}
.toggle-chapters2 {
  font-size: 2rem !important;
}
.toggle-chapters {
  font-size: 2rem !important;
}
	.episode-list1 li a {
    font-size: 18px !important;
    font-weight: 600;
  }

}
	 .episode-list2 li a {
    font-size: 18px !important;
    font-weight: 600;
  }



.next-pre-episode {
        display: flex;
        justify-content: space-between;
    }
    
    .next-episode {
        order: 1; /* Push to the right */
    }
    
    .prev-episode {
        order: 0; /* Keep on the left */
    }


  @media (max-width: 768px)
{
  .dark-mode-toggle {
  position: fixed;
  right:60px;
  z-index: 1000;
	  bottom:60px;
}
	.front-page-first-content-container {
  grid-template-columns: repeat(2, 1fr) !important;
}
}
@media (max-width: 1300px)
{
  .dark-mode-toggle {
  right:5px;
  z-index: 1000;
}
}
@media (max-width: 768px){.has-inline-mobile-toggle .mobile-menu-control-wrapper {

}
}


#attachment_105 {
  width: unset !important;
}
.older-chapter:hover {
  color: #f00;
}


.episode-list1 {
  margin-top: 50px;
	margin-left:10px
}
.episode-list1 li a {
	margin-bottom:unset;
	margin-left:10px;
}
.episode-list1 li {
  list-style: none;
}
.episode-list1 li a {
  color: #000;
  font-family: Lora;
  font-size: 1.2rem;
	text-decoration:none;
	
}
.episode-list1 li a:hover {
	color: red;
	transition: transform 0.3s ease-in-out;
	
}
.episode-list2 {
  margin-top: 50px;
	margin-left:10px
}
.episode-list2 li a {
	margin-bottom:unset;
	margin-left:10px;
}
.episode-list2 li {
  list-style: none;
}
.episode-list2 li a {
  color: #000;
  font-family: Lora;
  font-size: 1.2rem;
	text-decoration:none;
	
}
.episode-list2 li a:hover {
	color: red;
	transition: transform 0.3s ease-in-out;
}

.episode-list1 li {
  background-color: rgb(27, 28, 28);
  margin: 5px;
	padding: 10px 0px 10px 0px;
}

.episode-group {
  margin-top: 20px;
}
.episode-list2 li {
  background-color: rgb(27, 28, 28);
  margin: 5px;
	padding: 10px 0px 10px 0px;
}
.gp-icon svg {
  fill: rgb(255, 255, 255) !important;
}
.menu-item a {
  font-size: 1.2rem !important;
  font-family: Lora;
  font-weight: 700;
}
.main-navigation .main-nav ul li a {
  line-height: 50px !important;
}


/* Front Page */

.front-page-content-container {
    max-width: 1150px;
    margin: 0 auto 100px auto;
    padding: 20px;
}

.book-item-feature {
    box-sizing: border-box;
    position: relative;
    transition: transform 0.3s ease;
    z-index: 1;
    margin-bottom: 20px;
}

.book-image-container {
    width: 100%;   /* Full width of its container */
    padding-bottom: 150%;  /* This value controls the aspect ratio. 60% makes it 3:2, adjust as needed. */
    position: relative;   /* Enables absolute positioning of child elements */

}

.book-image-container img {
    position: absolute;  /* Absolute positioning inside the .book-image-container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Covers the entire area without distortion */
    border-radius: 10px;
    display: block;      /* Removes any unwanted whitespace below the image */
}

.front-page-first-content-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem; /* Adds a 2rem gap between the items */
	margin-bottom:90px;
}



.front-page-header-container {
    padding: 24px 0;
}

.front-page-header-container h1 {
    font-size: 48px;
    font-weight: 900;
}

.book-item-feature h2 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-top: 10px;
    z-index: 2;
    text-align: center;
    position: absolute;
    bottom: -50px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
	font-family: Lora;
}

.book-item-feature h2 a {
    text-decoration: none;
    color: #171717;
}

.front-page-last-chapter-update-container {
    margin-top: 50px;
}
.front-page-last-chapter-update-container h2 {
    font-size: 0.9375rem;
    margin: 8px 0;
    font-weight: 700;
	font-family: Lora;
}
.novel-wrapper {
    display: flex;
    padding: 10px 0;
}
.episode-home-entry {
  background-color: #0000002e;
}

.novel-image {
    /* flex: 1; */
    /* display: flex;
    flex-direction: column;
    width: 20%;
    background: red;
    align-items: center; */

}

.novel-image img{
    width: 150px;
    height: auto;
    
}
.episode-home-entry {
  max-width: 100%;
  width: 240px;
  height: 98%;
}

.novel-title {
  font-size: 16px;
  margin-bottom: 10px;
  width: 220px;
  margin-left: 10px;
}

.novel-title a{
    text-decoration: none;
    color: #000;
	font-weight: 700;
	font-size: 1rem;
}

.novel-title a:hover {
    text-decoration: none;
    color: red;
}

.chapter-entries {
    width: 100%;
    padding-left: 20px;
}

.chapter-entry {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    background: #f3f3f3;
    padding: 10px;
    align-items: center;
}

.chapter-home-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}




/* Style for the flex container if you need */
.book-details-flex {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.75rem;
    align-items: center;
	font-weight: 600;
}

.book-details-flex .book-status{
    border: 1px solid #757575;
    padding: 4px;
    border-radius: 5px;
}


/* Zoom effect on hover */
.book-item-feature:hover {
    transform: scale(1.06); 
}
.site-content {
  display: block !important;
}

.front-page-last-chapter-update-container {
  margin-top: 50px;
}

.novel-image {
  /* flex: 1; */
  /* display: flex;
  flex-direction: column;
  width: 20%;
  background: red;
  align-items: center; */

}

.novel-image img{
  width: 150px;
  height: auto;
}

.novel-title {
  font-size: 16px;
  margin-bottom: 10px; /* Space between title and image */
  margin-top: 10px;
}


.chapter-entries {
  width: 100%;
  padding-left: 20px;
}

.chapter-entry {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  background: #f3f3f3;
  padding: 10px;
  align-items: center;
}

.chapter-home-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}


/* Style for the flex container if you need */
.book-details-flex {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.75rem;
  align-items: center;
font-weight: 600;
}

.book-details-flex .book-status{
  border: 1px solid #757575;
  padding: 4px;
  border-radius: 5px;
}
.latest-episodes-list {
  margin-top: 20px;
  margin-left: 0px;
  list-style: none;
}
.latest-episodes-list li {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  padding: 0px 10px 0px 10px;
}
.latest-episodes-list li a:hover{
	color:red;
}

/*.episode-home-entry {
  width: 25%;
}*/
.latest-episodes-list a {
  color: rgb(229, 224, 216);
  font-weight: 800;
  font-size: 0.75rem;
}
.announcement-content a:hover {
  color: red;
}
.episode-time-single {
  float: right;
  margin-right: 20px;
}
.single-novel-title h1 {
  font-size: 48px;
  font-weight: 900;
	margin-bottom:0px;
}
.single-episode-title h1 {
  font-size: 48px;
  font-weight: 900;
	margin-bottom:0px;
}
.single-episode-title {

}
.single-novel-title {
  margin: 20px 0;
}
.site-content .content-area {
  margin-top: 50px;
}
.episode-time {
  
  font-size: 0.75rem;
  font-weight: bold;
}

.front-page-last-chapter-update-container {
  display: flex;
  /*justify-content: space-between;*/
	gap:10px;
}
.alternate-title h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0px;
}
.episode-year h3 {
	font-size: 20px;
  	font-weight: 600;
  	margin: 0px;
}
.alternate-title {
  display: flex;
  width: 70%;
}
.episode-year {
  margin: 14px 0;
  display: flex;
  width: 56%;
  justify-content: space-between;
}
.get-title {
  width: 100%;
}

.postid-583 .episode-year {
  width: 74%;
}
.episode-single {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 15px;
}
.back-to-novel-button h2 {
  text-decoration: none;
  border: 1px solid #000;
  font-size: 20px;
  padding: 1px 6px 4px 5px;
  text-align: center;
  border-radius: 5px;
  color: #171717;
	font-weight:600;
}
.back-to-novel-button h2 a {
  color: #171717;
  text-decoration: none;
}
.episode-info {
  font-weight: 600;
}
.single-episode-title {
  border-bottom: 1px solid #171717;
}
.cat-links {
  display: none;
}
.byline {
  display: none !important;
}
.novel-rec li span {
  font-weight: bold;
}
.novel-rec li {
  margin-top: 10px;
}
.postid-632 .episode-year {
  width: 64% !important;
}

.patreon-text-over-button {
  display: none;
}

.front-page-first-content-container {
  display: none;
}

.age-gate__submit.age-gate__submit--yes {
  background-color: #e04747;
}

.age-gate__headline {
  text-transform: uppercase;
  font-weight: 600;
}
.main-navigation .mature-menu-item a::after {
  content: 'M';
  font-weight: bold;
  color: #fff;
  margin-left: 8px;
  background-color: #DC2626;
  padding: 1px 3px 1px 3px;
  font-size: 1rem;
  border-radius: 2px;
}

.main-navigation .mature-menu-item a {
  display: inline-block; /* Ensures that the 'M' is on a new line */
}


@media screen and (max-width: 375px) {
.episode-home-entry {
  background-color: unset !important;
  }
	.age-gate-wrapper, .age-gate__wrapper {
  z-index: 1000;
}

}
/* Media query for screens with a width less than 720 pixels */
@media screen and (max-width: 760px) {
  .front-page-last-chapter-update-container {
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
	  
  }
	.site-content {
    padding: 20px;
  }
  .episode-home-entry {
    width: 80%;
  }

  /* Set the maximum width for each item to create a one-column layout */
  .novel-wrapper {
    flex: 0 0 100%; /* Maximum width of 100% */
    box-sizing: border-box; /* Include padding and borders in the total width */
  }
  .latest-episodes-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 14px;
  }

  /* Move the episode time to the right side */
  .episode-time {
    margin-left: auto;
    margin-right: 20px;
  }
	
	.dark_switch_box.floating-bottom-right {
  position: fixed;
  bottom: 0px !important;
		right:20px !important;
}
}

/* Media query for screens with a width between 720 and 1079 pixels */
@media screen and (min-width: 760px) and (max-width: 1079px) {
  .front-page-last-chapter-update-container {
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
	  
  }
	

  /* Set the maximum width for each item to create a two-column layout */
  .novel-wrapper {
    flex: 0 0 calc(50% - 10px); /* Maximum width of 50%, subtracting 10px for margins or padding */
    box-sizing: border-box; /* Include padding and borders in the total width */
  }
	

}

/* Media query for screens with a width of 1080 pixels or more */
@media screen and (min-width: 1080px) {
  .front-page-last-chapter-update-container {
    flex-wrap: wrap; /* Allow items to wrap onto the next line */
  }

  /* Set the maximum width for each item to create a three-column layout */
  .novel-wrapper {
    flex: 0 0 calc(33.33% - 10px); /* Maximum width of 33.33%, subtracting 10px for margins or padding */
    box-sizing: border-box; /* Include padding and borders in the total width */
  }
}
.latest-episodes-list a {
  color: #000 !important;
}

.wp-dark-mode-switcher.wp-dark-mode-ignore.style-1.floating.right_bottom.active {
  margin-bottom: 26px !important;
}

