/* News Feed Styles */
.content-wrap.insights {
    padding: 40px 0;
    background: #f7f7f7;
}

.inner-center {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
}

.left-area {
    width: 100%;
    margin-bottom: 30px;
}

.right-area {
    width: 100%;
}

.gallery-header-center-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    background: none;
    padding: 0;
}

.gallery-header-center-right-links {
    line-height: 22px;
    height: auto;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #222;
    background: none;
    border: none;
    border-radius: 0;
    margin-right: 0;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.gallery-header-center-right-links.active {
    background: #4ec08d;
    color: #fff;
}

.gallery-header-center-right-links:hover:not(.active) {
    background: #4ec08d;
    color: #fff;
    text-decoration: none;
}

.container.articles {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

#article__container.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.articles__article {
    box-sizing: border-box;
    padding: 15px;
    margin-bottom: 30px;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    display: flex;
}

.articles__article__inner {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.articles__article__inner:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

.articles__article__image {
    position: relative;
    padding-bottom: 66.67%;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.articles__article__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video {
    position: relative;
    padding-bottom: 66.67%;
    width: 100%;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.articles__article__meta {
    padding: 20px 20px 10px 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.articles__article__meta .date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.articles__article__meta h5 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.articles__article__meta h5 a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.articles__article__meta h5 a:hover {
    color: #4ec08d;
}

/* Pagination styles */
.wp-pagenavi, #ontoit-news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 4px;
}

.wp-pagenavi a, .wp-pagenavi span, #ontoit-news-pagination a, #ontoit-news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    line-height: 1;
    text-align: center;
    margin: 0 2px;
    border-radius: 0px;
    background: #fff;
    color: #222;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: background 0.2s, color 0.2s;
    font-size: 18px;
    padding: 0 10px;
}

.wp-pagenavi a:hover, #ontoit-news-pagination a:hover {
    background: #4ec08d;
    color: #fff;
    border-color: #4ec08d;
}

.wp-pagenavi .current, #ontoit-news-pagination .current {
    background: #4ec08d;
    color: #fff;
    border-color: #4ec08d;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .articles__article {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .gallery-header-center-right {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .gallery-header-center-right-links {
        margin-bottom: 10px;
    }
    .articles__article {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .wp-pagenavi, #ontoit-news-pagination {
        flex-wrap: wrap;
    }
} 