/*
 Theme Name:   Dharona
 Theme URI:    https://www.dharona.in/
 Description:  GeneratePress Child theme for Dharona.in website.
 Author:       dharona.in
 Author URI:   https://www.dharona.in
 Template:     generatepress
 Version:      1.0
*/
#mobile-header .inside-navigation, .main-navigation {
    border-bottom-color: rgba(0, 0, 0, .05) !important;
    box-shadow: 0 2px 8px 0 rgba(16, 7, 104, .07) !important;
    position: relative;
}

h3 {
 display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}/* GeneratePress Site CSS */ 


.lwptoc_item_number {
    background-color: #efefff;
    border-radius: 50px;
    padding: 0px 5px 0px 5px;
    font-size: 12px;
    font-weight: bold;
    color: red;
}

.lwptoc .lwptoc_i {
    border-radius: 10px;
}

.entry-content ul {
    list-style: none;
    margin-left: 25px;
    padding-left: 30px;
    position: relative;
    counter-reset: section;
	line-height: 1.8;
	
}

.entry-content ul li:before {
    counter-increment: section;
    content: counter(section);
    padding-right: px;
margin-top: 7px;
    border-right: 2px solid #ff0000;
	border-bottom: 0.05px solid #ff0000;
    position: absolute;
    left: 0;
	width: 20px; /* Reduced circle size */
    height: 20px; /* Reduced circle size */
    background-color: #0E80FF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}

blockquote {
    background: #fff;
    font-size: 17px;
    font-weight: 600;
    color: #000;
    font-style: inherit;
    border-left: 7px solid #2457d8;
	border-radius: 10px;
    box-shadow: rgba(23, 43, 99, .1) 0 3px 10px;
    padding: 10px;
    margin: 0 0 1.5em;
}

blockquote::after {
    content: '✦';
    position: absolute;
    left: -12px;
    top: -15px;
    font-size: 30px;
    min-width: 15px;
    text-align: center;
    color: #ffbd59;
}

.size-full {
    border-radius: 8px;
    margin-top: -22px;
    margin-bottom: -20px;
}


mark.gb-highlight {
    position: relative;
    padding-bottom: 0px;
    border-bottom: 2px solid transparent; /* Hide the main border */
}

mark.gb-highlight:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 2.2px;
    width: 0;
    background-color: var(--contrast); /* Color of the border */
    animation: borderExpand 0.6s ease forwards; /* Left-to-right animation */
}

@keyframes borderExpand {
    0% {
        width: 0; /* Start from left */
    }
    100% {
        width: 100%; /* Expand to full width */
    }
}

.dharona {
    font-weight: bold;
    background: linear-gradient(90deg, #f5ac00, rgba(255, 0, 0, 1), #f5ac00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     animation: colorRotate 6s ease-in-out infinite;
}

@keyframes colorRotate {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 200% 50%;
    }
    75% {
        background-position: 300% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.share-button {
    background-color: #2D3A65;
    color: white;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.share-icon {
    font-size: 1px;
	margin-right: 5px;
}

/* Style the search box container */
.custom-search-box {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1px 1px;
    max-width: 450px;
	height: 45px;
	/* Adjust width as needed */
    margin-top: 15px;
	margin-bottom: 25px;
}

/* Style the search input */
.custom-search-box input[type="text"] {
    border: none;
    outline: none;
    flex: 1;
    padding: 12px;
    font-size: 14px;
    background: none;
    margin-left: -25px;
}

/* Style the voice icon button */
.custom-search-box .voice-icon {
    background: none;
    border: 0px;
    cursor: pointer;
    font-size: 0px;
    color: #4285f4; /* Blue color for the voice icon */
    margin-right: 1px;
}

/* Style the search icon button */
.search-icon {
    background: white;
    border: none;
	border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333; 
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 8px;
	padding-right: 8px;
	margin-right: 10px;
	margin-top: 5px;
	align-items: center;
	/* Black color for the search icon */
}

.custom-search-box .search-icon:hover {
    background-color: #555; 
	color: white;
	border-radius: 50%;
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

.block-related-posts {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.block-related-posts h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    text-align: left;
	border-left: 5px solid red;
	font-weight: bold;
	padding-left: 5px;
}

.block-related-posts-grid {
    display: flex;
    gap: 20px; /* Space between posts */
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling experience */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    scrollbar-width: none; /* Hide scrollbar for modern browsers */
	background: #D4EBF8;
	padding: 15px;
	border-radius: 8px 0px 0px 8px;
}

.block-related-posts-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for WebKit browsers */
}

.block-related-post {
    flex: 0 0 250px; /* Fixed width for each post block */
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.block-related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.block-related-post a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.block-related-post .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
    transition: opacity 0.3s;
}

.block-related-post .post-thumbnail img:hover {
    opacity: 0.9; /* Slight hover effect on images */
}

.block-related-post .post-title {
    font-size: 16px;
    margin: 10px;
    color: #2D3663;
    text-align: left;
    line-height: 1.4;
	font-weight: 600;
}

.block-related-post .post-title:hover {
    color: #0b419e;
}


/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999999;
    justify-content: center;
    align-items: flex-start;
	backdrop-filter: blur(5px);
}

.search-modal-content {
    background: white;
    padding: 80px 15px 15px 15px;
    border-radius: 0px 0px 10px 10px;
    width: 100%;
    max-width: 900px;
    margin: 0px auto 0;
    position: relative;
    display: flex;
    align-items: center;
	z-index: 9999999;
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-down {
    animation: slide-down 0.3s ease-out;
}

/* Inline Search Icon */
.search-form {
    display: flex;
    align-items: center;
    position: relative;
	width: 100%;
}

.search-icon-ft {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #666;
}

.search-form input {
    padding: 10px 10px 10px 10px; /* Add padding for the icon */
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-form button {
    padding: 10px 20px;
    margin-left: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

span#close-search-modal {
    position: absolute;
	top: 10px;
    color: black;}



/* For larger devices (tablets and desktops), adjust the width */
@media (min-width: 768px) {
    #savePdfButton {
        width: auto; /* Adjust width to fit the content */
    }
}

.wp-button {
    position: fixed;
    bottom: 200px; /* Adjust this value to move the button up from the footer */
    right: 2px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    animation: beat 1.5s infinite;
    z-index: 1000; /* Ensure the button stays on top of other content */
    background-color: transparent; /* Make the main button background transparent */
}

.wp-button:hover {
    transform: scale(1.05);
}

.wp-button a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 2px;
}

.wp-button:hover .wp-button-text {
            animation: none; /* Stop the shrink animation on hover */
        }

.wp-button-text {
    font-size: 11px;
    margin-right: 1px;
    animation: shrink 1.5s infinite;
	background-color: #00A36C;
	 padding: 3px 8px;
	border-radius: 50px;
}

@keyframes shrink {
    100%, 100% {
        transform: scale(1);
    }
    20% {
        transform: scale(0.9);
    }
}


.tg-button {
    position: fixed;
    bottom: 110px; /* Adjust this value to move the button up from the footer */
    left: 10px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    animation: beat 1.5s infinite;
    z-index: 1000; /* Ensure the button stays on top of other content */
    background-color: transparent; /* Make the main button background transparent */
}

.tg-button:hover {
    transform: scale(1.05);
}

.tg-button a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 10px 2px;
}

.tg-button:hover .tg-button-text {
            animation: none; /* Stop the shrink animation on hover */
        }

.tg-button-text {
    font-size: 11px;
    margin-right: 20px;
    animation: shrink 1.5s infinite;
	background-color: #1E90FF;
	 padding: 3px 8px;
	border-radius: 50px;
}

@keyframes shrink {
    100%, 100% {
        transform: scale(1);
    }
    20% {
        transform: scale(0.9);
    }
}

/* Hide the button on desktop */
.tg-button, .wp-button {
    display: none;
}
/* Button Visibility - Show Only on Mobile */
@media screen and (max-width: 768px) {
    .tg-button, .wp-button {
        display: flex;
    }
}

.custom-author-box {
    border: 1px solid #ddd;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.author-box-title {
    font-weight: bold;
    font-size: 14px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.author-box-title i {
    margin-right: 5px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-details {
    flex-grow: 1;
}

.author-name {
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 5px;
}

.author-bio {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

/* 🔹 Mobile Responsive Fix */
@media screen and (max-width: 600px) {
    .author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-avatar img {
        width: 70px;
        height: 70px;
    }

    .author-details {
        width: 100%;
    }
}


.author-social-links {
    margin-top: 10px;
}

.author-social-links a {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    color: #666;
    text-decoration: none;
}

.author-social-links a:hover {
    color: #0073aa;
}
