/* region blog page (Category) */
.single-news-item {
    margin-bottom: 30px;
}

.news-item-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item-wrapper:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: var(--borderColor);
}

.news-img {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item-wrapper:hover .news-img img {
    transform: scale(1.1);
}

.news-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-info .date {
   color: #666;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-info .title {
    font-size: 18px;
    color: var(--textColor);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s;
}

.news-item-wrapper:hover .news-info .title {
    color: var(--primaryColor);
}

.news-info .sub-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-info .read-more {
    color: var(--primaryColor);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-info .read-more::after {
    content: '→';
    font-family: inherit;
    transition: margin-left 0.3s;
}

.news-item-wrapper:hover .news-info .read-more {
    color: var(--secondaryColor);
}

.news-item-wrapper:hover .news-info .read-more::after {
    margin-left: 5px;
}

/* Pagination */
.pagination-bar {
    margin-top: 20px;
}
.pagination li {
    margin: 0 2px;
}
.pagination li a, .pagination li span {
    border: none;
    background: #fff;
    color: var(--textColor);
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.pagination li.active span, .pagination li a:hover {
    background: var(--primaryColor);
    color: #fff;
}

/* endregion */

/* region blog-article  (Single Page) */




.main-img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 25px !important;
}

.blog-details .meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--borderColor);
    flex-wrap: wrap;
}

.blog-details .meta .author, 
.blog-details .meta .date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.blog-details .meta .material-icons {
    font-size: 20px;
}

.article-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-description p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-description h2, .article-description h3 {
    color: var(--primaryColor);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.article-description ul, .article-description ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-description li {
    margin-bottom: 8px;
    list-style: inherit;
}

/* Share Section */
.blog-details .share-on {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
}

.blog-details .share-on .share {
    font-weight: 700;
    color: var(--textColor);
    font-size: 16px;
}

.blog-details .share-on .share-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-details .share-on .share-ico:hover {
    background: var(--primaryColor);
    transform: translateY(-3px);
}

.blog-details .share-on .share-ico svg {
    width: 18px;
    height: 18px;
}

.blog-details .share-on .share-ico svg path {
    stroke: #555;
    transition: stroke 0.3s;
}

.blog-details .share-on .share-ico:hover svg path {
    stroke: #fff;
}


/* Sidebar: Popular Posts */
.ppl-blog-list {
    position: sticky;
    top: 80px;
}

.ppl-blog-list h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primaryColor);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--borderColor);
    position: relative;
}

.ppl-blog-list h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondaryColor);
}

.article-popular-thumb {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.article-popular-thumb:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-popular-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.ppl-blog-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ppl-blog-info .title-name {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 6px;
    height: auto;
    overflow: visible;
}

.ppl-blog-info .title-name a {
    color: var(--textColor);
    transition: color 0.3s;
}

.ppl-blog-info .title-name a:hover {
    color: var(--primaryColor);
}

.ppl-blog-info .meta {
    font-size: 13px;
    color: #888;
    font-style: normal;
}

@media (max-width: 991px) {
    .ppl-blog-list {
       margin-top: 20px;
    }
}