@charset "utf-8";

.blog-navbar {
    width: 100%;
    border-top: 4px solid var(--purple-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #ffffff;
    position:sticky;
    top:0;
    z-index: 1000;
}


.blog-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.blog-nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.blog-nav-links a {
    text-decoration: none;
    color: var(--purple-color);
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-nav-links a:hover {
    color: #e67e22;
}


.blog-contact-btn {
    background: linear-gradient(90deg, #f9d342 0%, #e67e22 50%, #d35400 100%);
    color: #ffffff !important;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.blog-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.3);
}


.blog-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.blog-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--purple-color);
    border-radius: 2px;
}


@media (max-width: 1200px) {


    .blog-nav-links {
        gap: 2rem;
    }
    .blog-nav-links a {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .blog-navbar {
        padding: 1.5rem 2rem;
    }

    .blog-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 2rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }
    .blog-nav-links.blog-active {
        display: flex;
    }
    .blog-menu-toggle {
        display: flex;
    }
}

@media (max-width: 576px) {
    .blog-logo-shape {
        width: 60px;
        height: 60px;
    }
    .blog-navbar {
        padding: 1rem 1.5rem;
    }
}
/*========================nav-end==================*/

 .blog-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;

}

.blog-path{
  color:#000;
  max-width: 1440px;
  width:100%;
margin: 0 auto;
font-size:14px;
}
.blog-path>li {
	display: inline-block;
	position: relative;
}

.blog-path>li:first-child {
	padding-left: 20px;
}


.blog-path>li+li:before {
	padding: 0 5px;
	color: #ccc;
	content: "/\00a0";
}

.blog-path>.active {
	color: #ccc;
}

.blog-path>li>a {
    color: #ccc;
}

.blog-path>li>a:hover {
	color: #6959A1 !important;
}

.blog-path>li:last-child {
	color: #6959A1;
    content: "";
}


.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}





.blog-category-wrap {
    background: linear-gradient(135deg, var(--purple-color), var(--dark-purple-color));
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    position:sticky;
    top:93px;
    z-index: 0;
}


.blog-category-title {
    padding: 1.2rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


.blog-category-list {
    list-style: none;
}


.blog-category-list .blog-category-item {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    line-height:1.3rem;
}
.blog-category-list .blog-category-item a{
    color:#fff;
}

.blog-category-list .blog-category-item.blog-active,.blog-category-item:hover {
    background-color: #e67e22;
    color:#fff;
}
.blog-category-item:hover a{
    color:#fff !important;
}


.blog-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-bottom:20px;
}

.blog-card:first-child,.blog-card:nth-child(4) {
    grid-column: span 2;
}
.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius:10px;
    cursor: pointer;
    height:330px
}
.blog-card span.numtag{
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:50px;
    height:40px;
    top:0px;
    right:0px;
    border-bottom-left-radius:8px;
    background: linear-gradient(90deg, #e67e22 0%, #d35400 100%);
    color:#fff;
    z-index: 100;
}


.blog-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    z-index: 0;
}


.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}


.blog-card-content {
    background: #DBD9F1;
    color: var(--purple-color);
    padding: 0rem 1rem;
    bottom:0px;
    height:100%;
    max-height:110px;
}

.blog-card:hover .blog-card-content{
    background: linear-gradient(135deg, var(--purple-color), var(--dark-purple-color));
    color: #fff;
}
.blog-card-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 600;
    display: -webkit-box;      
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2;    
    overflow: hidden;          
    text-overflow: ellipsis;   
    max-width: 100%;         
}


.blog-card-date {
    font-size: 0.85rem;
    opacity: 0.8;
}


@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
    }

    .blog-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blog-category-wrap {
        flex: 1;
        min-width: 250px;
    }

    .blog-content {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}


@media (max-width: 576px) {
    .blog-sidebar {
        flex-direction: column;
    }

    .blog-category-wrap {
        min-width: 100%;
    }

    .blog-content {
        grid-template-columns: 1fr;
    }

    .blog-card-img {
        height: 180px;
    }
}

.blog-show-content{
    padding-bottom:20px;
}
.blog-show-content h1{
    line-height:2.4rem;
}
.smalltit {
 position: relative;
 border-bottom:1px solid #ccc;
 padding-bottom:10px;
 margin-bottom:20px;
}

.realtedtit{
    border-top:1px solid var(--purple-color);
    padding-top:25px;
}
.realted{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-bottom:20px;

}

/*====================================*/
.blog-bottom-median {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.8em 0;
    font-size: 0.9em;
    background: #DBD9F1;
}
