/*
 Theme Name:   Bina Times
 Description:  GeneratePress Child Theme for Mobile responsive News Website. Using this child theme you can easily create any type of News Website. This GeneratePress Child theme design by wplitetheme.com
 Author:       RNVLive.com
 Author URI:   https://RNVLive.com
 Template:     generatepress
 Version:      1.0
*/

/*styling for read more button*/
/* Hide full content initially */
.full-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 20px;
}

/* Show full content when active */
.full-content.active {
    display: block;
    opacity: 1;
}

/* Read More button styling */
.read-more-toggle-wrapper {
  position: relative;
  margin-top: 20px;
}

.read-more-btn-wrapper {
  text-align: center;
  margin: 20px 0;
}

.read-more-btn {
  background-color: #0073e6;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.fade-preview {
  position: relative;
  max-height: 200px; /* adjust this height */
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.fade-preview.expanded {
  max-height: none;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, white);
  z-index: 1;
  pointer-events: none;
}

.fade-preview.expanded .fade-overlay {
  display: none;
}

.rme-wrapper {
  position: relative;
  max-height: 180px;
  overflow: hidden;
}

.rme-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, white);
}

.rme-expanded {
  max-height: none !important;
}

#rme-read-more {
  margin-top: .25em; /* Reduced from 1em */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background-color: rgba(223, 11, 11, 1);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 35px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#rme-read-more:hover {
  background-color: #d61414;
  color: white;
}


/* GeneratePress Site CSS */
.main-navigation {
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
/* Featured widget */
.separate-containers .page-header {
	background: transparent;
	padding-top: 20px;
	padding-bottom: 20px;
}
.widget {
	box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.page-header h1 {
	font-size: 1.5em;
}

.button, .wp-block-button .wp-block-button__link {
	padding: 15px 25px;
}

@media (max-width: 768px) {
	.post-image img {
		max-width: 100%;
	}
}

/*Read More Button Style*/
.read-more-bt {
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: rgba(23, 43, 99, 0.3) 0 7px 28px;
}

a.read-more.button,
input[type="submit"] {
    font-size: 15px;
    padding: 10px 20px;
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 5px;
}
/*Images Style*/
.page-header-image-single .attachment-full {
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.wp-block-image {
    padding-top: 10px;
    padding-bottom: 20px;
}

.wp-block-image img {
    box-shadow: 0 10px 10px 0 rgb(0 0 0 / 6%);
    border: 1px solid #cfcfcf;
    padding: 3px;
}
/*Table of contents*/
#toc_container li a {
    display: block;
    width: 100%;
    color: var(--contrast-2)!important;
    padding: 10px 1em;
    border-top: 1px solid #aaa;
}
#toc_container {
    background: #f9f9f900;
    border: 1px solid #aaa;
    padding: 0px;
}
#toc_container span.toc_toggle {
    font-weight: 400;
    background: #fff;
    padding: 3px 20px;
    font-size: 18px;
    text-transform: capitalize;
    text-align: center;
    display: block;
}
/*Comment Box*/
.comment-respond .comment-reply-title {
    padding: 10px 10px 10px 25px;
    background-color: var(--accent);
    border-radius: 5px;
    color: white !important;
    font-weight: 500;
    font-size: 20px !important;
}
/* GeneratePress Site CSS */