/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Blog page */

.latest-blog {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 7px 0px #00000040;
}

.latest-blog .blog-image {
    flex: 1;
    max-width: 50%;
}

.latest-blog .blog-image img {
    width: 100%;
    border-radius: 10px 0px 0px 10px;
}

.latest-blog .blog-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding: 0 20px;
}

.latest-blog .blog-date {
    font-family: Montserrat;
    font-size: 17px;
    font-weight: 600;
    line-height: 32px;
    text-align: left;
    color: #1C2636;
}

.latest-blog .blog-title {
    font-size: 24px;
    margin: 20px 0px 20px 0px;
}

.latest-blog .blog-title a {
    font-family: Prata;
    font-size: 30px;
    font-weight: 400;
    line-height: 39px;
    color: #1E1E1E;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.latest-blog .blog-excerpt {
    font-family: Montserrat;
    font-size: 17px;
    font-weight: 400;
    line-height: 32px;
    text-align: left;
    color: #1C2636;
    margin: 0;
}

.latest-blog .read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.latest-blog .read-more:hover {
    background: #005bb5;
}

@media (max-width: 890px){
    .latest-blog{
        flex-direction: column;
    }
    .latest-blog .blog-image{
        max-width: 100%;
    }
    .latest-blog .blog-content{
        max-width: 100%;
    }
}
@media (max-width: 1024px){
    .latest-blog .blog-title a{
        font-size: 24px;
        line-height: 34px;
    }
    .main-container .elementor-column-gap-default{
        flex-wrap: nowrap;
    }
}
@media (max-width: 768px){
    .main-container .elementor-column-gap-default{
        flex-wrap: wrap;
    }
}
@media (max-width: 480px){
    .latest-blog .blog-title a{
        font-size: 20px;
        line-height: 30px;
    }
    .latest-blog .blog-excerpt, .latest-blog .blog-date{
        font-size: 14px;
        line-height: 27px;
    }
    .latest-blog .blog-title{
        margin: 20px 0px;
    }
    .latest-blog .blog-image img{
        height: 100%;
    }
}

@media (max-width: 991px){
    #older-blogs-container{
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px){
    .older-blog .blog-title a{
        font-size: 18px !important;
        line-height: 24px !important;
    }
    #older-blogs-container{
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


/* End Blog page */

#older-blogs-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.older-blog {
    background: #F2F2F2;
    border: 1px solid #05DC6A;
}
.older-blog {
    display: block;
}


.older-blog .blog-image {
    flex: 1;
}

.older-blog .blog-image img {
    width: 100%;
    height: auto;
}

.older-blog .blog-content {
    flex: 1;
    padding: 20px 20px 30px 20px;
    text-align: left;
}

.older-blog .blog-date {
    font-family: Montserrat;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    line-height: 26px;
    text-align: left;
    color: #1C2636;
}

.older-blog .blog-title {
    font-size: 22px;
    margin: 10px 0;
    color: #333;
    font-weight: bold;
}

.older-blog .blog-title a {
    font-family: Prata;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    text-align: left;
    color: #3A3A3A;
}

.older-blog .blog-excerpt {
    font-size: 16px;
    color: #555;
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

#load-more-btn {
    padding: 19px 38px;
    background: #05DC6A;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-family: Montserrat;
    font-size: 15px;
    font-weight: 600;
    line-height: 15px;
    text-align: left;
}

#load-more-btn:hover {
    background: #03ba58;
}


/* Blog page 2 */

/* Blog page category */

.category-tabs {
    display: flex;
    list-style: none;
    cursor: pointer;
    gap: 10px;
    margin-right: 30px;
    margin-bottom: 0px;
}

ul.category-tabs li{
    padding: 15px;
    font-family: Montserrat;
    font-size: 17px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
}
.slick-next:before, .slick-prev:before{
    color: #000 !important;
}


span.blog-inner-category{
    font-family: Montserrat;
    font-weight: 600;
    font-size: 17px;
    line-height: 32px;
}

/* End blog category */

/* start blog inner page */

.main-container .elementor-column-gap-default{
    margin: 0 0 0 auto;
    justify-content: space-between;
    gap: 50px;
}

@media (max-width: 1560px){
    .main-container .elementor-column-gap-default{
        max-width: 1360px !important;
    }
}

@media (max-width: 1560px) and (min-width: 1024px){
    .post-heading h1.elementor-size-default{
        font-size: 34px !important;
        line-height: 44px !important;
    }
}
@media (max-width: 1280px){
    .blog-media-icon{
        display: none;
    }
}
@media (max-width: 1367px){
    .main-container .elementor-column-gap-default{
        max-width: 1200px !important;
    }
    .post-content h2{
        font-size: 24px !important;
        line-height: 34px !important;
    }
}
@media (max-width: 1200px){
    .main-container .elementor-column-gap-default{
        padding: 0px 20px;
    }
}
.slick-next, .slick-prev{
    z-index: 1;
}
.toc-box ul.elementor-toc__list-wrapper{
    margin: 0;
}
.toc-box ul.elementor-toc__list-wrapper li{
    margin-bottom: 30px;
}
.toc-box .elementor-toc__header{
    display: none;
}
.main-content .elementor-column-gap-default{
    gap: 20px;
}
.post-content h2{
    font-family: Prata;
    font-weight: 400;
    color: #000000;
    font-size: 30px;
    line-height: 39px;
    letter-spacing: 0;
    margin-bottom: 20px;
}
@media (max-width: 600px){
    .post-content h2{
        font-size: 20px !important;
        line-height: 30px !important;
    }
}
.blog-btn{
    text-align: center;
    margin-top: 24px;
}
.blog-btn button{
    text-transform: capitalize;
}

.blog-media-icon{
    position: fixed;
    top: 50%;
    z-index: 999;
}


/*#elementor-toc__9d94e66::-webkit-scrollbar-track, #elementor-toc__9d94e66::-webkit-scrollbar-track{*/
/*    background: #00a7a5 !important;*/
/*}*/

/* End blog inner page */

/* Custom Arrow Styling */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}

.slick-prev i, .slick-next i{
    font-size: 38px;
    color: #000;
}
@media (max-width: 1560px) and (min-width: 1024px){
    .slick-prev i, .slick-next i{
        font-size: 30px !important;
    }
}
@media (max-width: 1024px){
    .slick-prev i, .slick-next i{
        font-size: 24px !important;
    }
}
.slick-next, .slick-prev{
    width: unset !important;
    height: unset !important;
}

.slick-prev {
    left: -40px;
}

.slick-next {
    right: -40px;
}

.slick-prev:hover, .slick-next:hover {
    background: #555;
}

.slick-prev:before, .slick-next:before{
    display: none;
}

/***** TOC *****/

.dynamic-toc {
    position: sticky;
    top: 20px; /* Adjust distance from the top of the viewport */
    background-color: #ffffff;
    padding: 0;
	box-shadow: 0px 0px 5px 0px #00000066;
    border: 1px solid #05dc6a;
    width: 393px;
    z-index: 990;
    transition: all 0.3s ease;
	padding: 15px;
}

.dynamic-toc .toc-title {
    padding: 10px 15px;
		font-family: 'Montserrat',sans-serif;
		font-size: 24px;
		font-weight: 700;
		line-height: 29.23px;
		margin-bottom: 0px;
	color: #000;
}

.dynamic-toc .toc-list {
    padding: 15px;
	padding-left: 30px;
    margin: 0;
    list-style: unset;
    max-height: 300px;
    overflow-y: auto;
	padding-top: 0;
}

.dynamic-toc .toc-list li {
    margin: 10px 0
}

.dynamic-toc .toc-list li a {
    text-decoration: none;
		font-family: Proxima Nova;
	font-size: 18px;
	font-weight: 400;
	line-height: 21.92px;
	text-align: left;
	color: #000;
}

.dynamic-toc .toc-list li a:hover {
	color: #03ba58;
}


/* Responsive Adjustments */
@media (max-width: 991px){
		.toc-img{
		display: none;
	}
	#toc-contact{
		margin-bottom: 20px;
		width: 100%;
		display: none;
	}
	.dynamic-toc{
		width: 100%;
	}
	h5.toc-title::after {
    content: "";
    display: block; /* Ensures it behaves like an element */
    width: 30px; /* Adjust size */
    height: 30px;
    background-image: url('https://staging.webindiainc.com/wp-content/uploads/2025/01/svgviewer-png-output-2.png');
    background-size: cover;
    background-repeat: no-repeat;
		position: absolute;
		right: 20px;
		top: 10px;
}
	h5.toc-title{
		position: relative;
		margin-bottom: 0;
	}
}

/* #dynamic-toc .toc-list {
    display: none; /* Hide the list by default */
    max-height: 300px; /* Set a max-height to avoid overflow */
    overflow-y: auto;
    transform: translateY(-20px); /* Initially hide the list by shifting it up */
    transition: transform 0.3s ease; /* Smooth transition when showing and hiding */
} */

#dynamic-toc .toc-title {
    cursor: pointer; /* Indicate that the title is interactive */
}

@media (max-width: 991px) {
    #dynamic-toc .toc-title:hover + .toc-list {
        display: block; /* Show the TOC list when hovering over the title */
    }
}

.toc-list::-webkit-scrollbar , .toc-list-mobile::-webkit-scrollbar  {
    width: 10px;
	height: 10px;
}

/* Track */
.toc-list::-webkit-scrollbar-track, .toc-list::-webkit-scrollbar-track {
    background: #05dc6a;
    border: 4px solid transparent;
    background-clip: content-box;   /* THIS IS IMPORTANT */
}

/* Handle */
.toc-list::-webkit-scrollbar-thumb, .toc-list::-webkit-scrollbar-thumb {
    background: #05dc6a;
    border: 5px solid #05dc6a;
	border-radius: 50px;
}

button.wsf-button.wsf-button-primary {
	background-color:#05DC6A;
	border-color:#05DC6A;
}