/* News Section Styles */
.news-section {
    position: relative;
    padding: 100px 0 70px;
    background-color: #ffffff;
}

.sec-title {
    position: relative;
    margin-bottom: 50px;
}

.sec-title .sub-title {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 1.2em;
    color: #F86F03;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sec-title h2 {
    position: relative;
    display: block;
    font-size: 36px;
    line-height: 1.2em;
    color: #222222;
    font-weight: 700;
}

.news-block {
    position: relative;
    margin-bottom: 30px;
}

.news-block .inner-box {
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 300ms ease;
    margin-bottom: 30px;
}

.news-block .inner-box:hover {
    box-shadow: 0 0 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.news-block .image-box {
    position: relative;
    overflow: hidden;
}

.news-block .image-box .image {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.news-block .image-box .image img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 500ms ease;
}

.news-block .inner-box:hover .image img {
    transform: scale(1.1);
}

.news-block .content-box {
    position: relative;
    padding: 30px 30px 50px;
    min-height: 200px;
}

.news-block .content-box .date-badge {
    position: absolute;
    top: -20px;
    left: 30px;
    background: #525FE1;
    color: #ffffff;
    font-size: 13px;
    padding: 5px 18px;
    height: 30px;
    line-height: 20px;
    font-weight: 600;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-block .content-box .post-info {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    padding-left: 0;
    margin-top: 15px;
}

.news-block .post-info li {
    position: relative;
    font-size: 14px;
    line-height: 24px;
    color: #777777;
    font-weight: 400;
    margin-right: 10px;
    list-style: none;
}

.news-block .post-info li i {
    margin-right: 5px;
    color: #525FE1;
}

.news-block .content-box .title {
    position: relative;
    display: block;
    font-size: 20px;
    line-height: 1.4em;
    color: #222222;
    font-weight: 600;
    margin-bottom: 20px;
    height: 56px;
    overflow: hidden;
}

.news-block .content-box .title a {
    color: #222222;
    transition: all 300ms ease;
}

.news-block .content-box .title a:hover {
    color: #525FE1;
}

.news-block .content-box .read-more-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f2f3f6;
}

.news-block .content-box .read-more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 30px;
    font-size: 13px;
    color: #6f7174;
    line-height: 30px;
    width: 100%;
    text-decoration: none;
}

.news-block .content-box .read-more i {
    color: #ffffff;
    height: 30px;
    width: 30px;
    background-color: #F86F03;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: all 300ms ease;
}

.news-block .content-box .read-more:hover {
    color: #525FE1;
}

.news-block .content-box .read-more:hover i {
    background-color: #525FE1;
}

/* Pagination Styles */
.pagination-wrapper {
    position: relative;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-nav {
    position: relative;
    text-align: center;
}

.pagination {
    position: relative;
    display: inline-block;
    justify-content: center;
}

.page-item {
    display: inline-block;
    margin: 0 3px;
}

.page-link {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 40px;
    color: #525FE1;
    font-weight: 500;
    text-align: center;
    padding: 0 15px;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    transition: all 300ms ease;
}

.page-item.active .page-link {
    background-color: #525FE1;
    border-color: #525FE1;
    color: #ffffff;
}

.page-link:hover {
    background-color: #F86F03;
    border-color: #F86F03;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .news-section {
        padding: 80px 0 50px;
    }
}

@media (max-width: 991px) {
    .sec-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .news-section {
        padding: 60px 0 30px;
    }
    
    .sec-title {
        margin-bottom: 40px;
    }
    
    .sec-title h2 {
        font-size: 28px;
    }
    
    .news-block .content-box {
        padding: 20px;
    }
    
    .news-block .content-box .title {
        font-size: 18px;
        height: 50px;
    }
}

@media (max-width: 575px) {
    .news-section {
        padding: 50px 0 20px;
    }
    
    .sec-title h2 {
        font-size: 24px;
    }
}
