.category-info {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    /* margin-bottom: 40px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;

    @media (max-width: 767px) {
        padding: 20px;
        gap: 20px;
    }
}

.category-info__share {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;

    @media (max-width: 767px) {
        justify-content: center;
    }
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    svg {
        width: 18px;
        height: 18px;
    }

    &:hover {
        transform: translateY(-3px);
        color: #fff;
        box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
    }
}

.share-btn--facebook:hover {
    background: #1877f2;
}

.share-btn--twitter:hover {
    background: #1da1f2;
}

.share-btn--email:hover {
    background: #ea4335;
}

.share-btn--linkedin:hover {
    background: #0077b5;
}

.share-btn--copy:hover {
    background: #00a8ff;
}

.category-info__body {
    flex: 1;
}

.category-info__des {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
    font-style: italic;
    padding-left: 20px;
    border-left: 4px solid var(--color-3, #2a7e43);
}

.category-info__content {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;

    p {
        margin-bottom: 15px;
    }

    img {
        border-radius: 12px;
        margin: 20px 0;
    }
}

/* News Grid Section */
.news-grid-section {
    padding: 0 0 30px;
}

.news-grid-header {
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.news-grid-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-3, #7cb342);
    text-transform: uppercase;
    margin: 0;
}

.news-grid-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 150px;
    height: 2px;
    background-color: var(--color-3, #7cb342);
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card__image-link {
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-card__image-wrapper {
    position: relative;
    padding-top: 65%;
    /* Aspect ratio */
}

.news-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card__image {
    transform: scale(1.08);
}

.news-card__date {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #fff;
    border: 1px solid var(--color-3, #7cb342);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 55px;
    z-index: 2;
    transition: all 0.3s ease;
}

.news-card:hover .news-card__date {
    background: var(--color-3, #7cb342);
    color: #fff;
}

.news-card:hover .news-card__date-day,
.news-card:hover .news-card__date-month {
    color: #fff;
}

.news-card__date-day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-3, #7cb342);
}

.news-card__date-month {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-3, #7cb342);
    margin-top: 2px;
}

.news-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.news-card__title a {
    color: var(--color-3, #7cb342);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__title a:hover {
    color: var(--color-1, #333);
}

.news-card__excerpt {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination-wrap {
    margin-top: 40px;
}

.page-post {
    padding: 20px 0;
}