


.book h1 {
    color: green;
    margin-top: 10%;
    padding-bottom: 20px; 
    margin-bottom: 50px; 
}

.book h1#bkTitle {
	margin-top: 2%;
}

.book h1::after {
    content: "";
    position: absolute;
    left: 50%; 
    transform: translateX(-50%); 
    bottom: 0;
    width: 15%; 
    height: 10px; 
    background-image: url('/imgFiles/titleUL2.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.book h2 {
    color: blue;
	padding-top: 10px;
    padding-bottom: 5px; 
}

/* Left-sidebar*/
.left-sidebar {
    background-color: #f4f4f4;
    padding: 10px;
	padding-left: 1%;
	padding-bottom: 180px; /* Space for footer */
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    font-size: 18px;
    overflow-y: auto;
}

.left-sidebar ul {
    list-style-type: none;
    padding: 0;
}

.left-sidebar ul ul {
    padding-left: 20px;
}

.left-sidebar li {
    margin-bottom: 10px;
}

.left-sidebar a {
    text-decoration: none;
    color: #333;
}

.left-sidebar a:hover {
    color: #ff00bf;
}

.left-sidebar a.active {
    background-color: #007BFF; 
    color: white; 
    font-weight: bold; 
    border-radius: 5px; 
    padding: 5px 10px; 
}

/*Right-sidebar*/
.right-sidebar {
    width: 73%;
    padding: 20px;
	padding-bottom: 180px; /* Space for footer */
	margin-left: 2%;
	padding-right:2%;
    overflow-y: auto;
}


.content-item {
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}


/* Restricted and protected sections are controlled by Blade directives and JavaScript */
/* CSS no longer hides them by default - JavaScript will handle visibility */
	
.right-content, .left-content {
    text-align: justify;
	font-size: 130%;
    width: 50%;
	height: auto;
    float: left;
	box-sizing: border-box;
	padding-top:10px;
}

/* Match individual post paragraph styling - increased line spacing */
.book .right-content p,
.book .left-content p {
    font-size: 130% !important; /* Match individual posts */
    line-height: 1.6 !important; /* Increased line spacing */
}

.most-recent, .out, .soon {
  position: relative;
  overflow: hidden;
  /*border: 2px solid #ddd;*/
  border-radius: 10px;
  background-color: #fff;
}

.out, .soon {
	/*width: 30%;*/
	height: 24vw;
	/*border: 1px solid #ccc;*/
}
.slideshow {
  position: relative;
  width: 100%;
  height: 300px; 
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}


/* Style for the slideshow container */
#bkTitle {
    position: relative;
    width: 60%;
	margin-top:2%;
	margin-left:15%;
	justify-content: center;
	align-items: center;
    overflow: hidden; 
}




/* Big screens view (min-width: 768px) */
@media (min-width: 768px) {
	
    .left-sidebar {
        width: 25%;
        float: left;
    }
    .right-sidebar {
        width: 75%;
        float: right;
    }
    .sidebar, .content-section {
        display: block;
    }
}

/* Small screens view (max-width: 768px) */
@media (max-width: 768px) {
	
    .left-sidebar {
        display: none !important;
    }

    .left-sidebar {
        width: 0%;
        display: none; /* Hidden */
    }

    .right-sidebar {
        width: 100%;
        padding-left: 20px;
        padding-right: 16px;
        overflow-x: hidden;
    }

    .right-sidebar img {
        padding-top: 10%;
        margin: auto;
        display: block;
    }

    /* Set frontCover and backCover images to 78.125% width on small screens (62.5% increased by 25%) */
    .content-item img[alt="frontCover"],
    .content-item img[alt="backCover"] {
        width: 78.125% !important;
        height: auto !important;
        max-width: 78.125% !important;
        object-fit: contain;
    }

    .show-dropdown {
        display: block !important;
    }
    
    /* Swap h1 spacing: space before becomes after, space after becomes before */
    .book h1 {
        margin-top: 50px; /* What was margin-bottom */
        margin-bottom: 10%; /* What was margin-top */
    }

}

