/* Minification failed. Returning unminified contents.
(42,26): run-time error CSS1039: Token not allowed after unary operator: '-primary-gradient'
 */
.layout-section {
    min-height: 100vh;
    padding: 90px 24px 48px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

    .layout-section .container {
        max-width: 1024px;
    }

.layout-main {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex: 1
}

.layout-subtitle {
    font-size: 18px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.layout-main-title {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease;
}

    .layout-main-title h1 {
        font-size: 2.8rem;
        font-weight: 800;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 15px;
        letter-spacing: -0.5px;
    }

    .layout-main-title p {
        font-size: 1.15rem;
        color: #718096;
        max-width: 600px;
        margin: 0 auto;
    }


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.disabled {
    cursor: not-allowed;
}



@media (max-width: 768px) {

    .layout-main-title h1 {
        font-size: 2.2rem;
    }

    .layout-main-title p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    .layout-main-title h1 {
        font-size: 1.8rem;
    }

    .layout-main-title p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .layout-main-title h1 {
        font-size: 1.55rem;
        margin-bottom: 10px;
    }

    .layout-main-title p {
        font-size: 0.85rem;
    }

    .layout-main-title {
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
   

    .layout-main-title h1 {
        font-size: 1.4rem;
    }
}

.layout-main {
    justify-content: flex-start;
}

/* =====================
   News Layout
   ===================== */
.news-layout-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.news-main-col {
    flex: 1 1 0;
    min-width: 0;
}

.news-sidebar-col {
    flex: 0 0 320px;
    width: 320px;
    min-width: 0;
}

.news-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* =====================
   Sidebar Widgets
   ===================== */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #0D9C4A;
}

.sidebar-news-item {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.sidebar-news-item a {
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover {
    background: #f8f9fa;
    padding-left: 8px;
    margin-left: -8px;
    padding-right: 8px;
    margin-right: -8px;
    border-radius: 6px;
}

.sidebar-news-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-news-content {
    flex: 1;
}

.sidebar-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-news-date {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =====================
   Sidebar Categories
   ===================== */
.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-category-item:last-child {
    border-bottom: none;
}

.sidebar-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-category-link:hover {
    color: #0D9C4A;
    padding-left: 8px;
}

.sidebar-category-count {
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 991px) {
    .news-layout-row {
        flex-direction: column;
        gap: 40px;
    }

    .news-sidebar-col {
        flex: 1 1 auto;
        width: 100%;
    }

    .news-sidebar {
        position: relative;
        top: 0;
    }
}
.layout-main {
    justify-content: flex-start;
}
/* =====================
   News Item Card
   ===================== */
.news-item-card {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 18px;
    margin-bottom: 18px;
    transition: none;
}

    .news-item-card:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.news-item-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 230px;
    overflow: hidden;
    border-radius: 8px;
}

.news-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-card:hover .news-item-image {
    transform: scale(1.05);
}

.news-item-category-badge {
    position: absolute;
    top: 8px;
    left: 16px;
    background: #0D9C4A;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

    .news-item-category-badge:hover {
        color: white;
    }

/* =====================
   News Item Content
   ===================== */
.news-item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 4px 0 4px 14px;
}

.news-item-title {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

    .news-item-title a {
        color: #212529;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .news-item-title a:hover,
        .news-item-card:hover .news-item-title a {
            color: #0D9C4A;
        }

.news-item-date {
    color: #6c757d;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .news-item-date i {
        font-size: 16px;
    }

.news-item-excerpt {
    color: #495057;
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 61px;
}

.news-item-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-read-more {
    color: #0D9C4A;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

    .btn-read-more:hover {
        background: #0D9C4A;
        color: white;
    }

/* =====================
   Empty State
   ===================== */
.news-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #6c757d;
}

    .news-empty-state i {
        font-size: 48px;
        display: block;
        margin-bottom: 12px;
        opacity: 0.4;
    }

/* =====================
   Pagination
   ===================== */
.pagination {
    gap: 4px;
}

.page-link {
    border: 1px solid #dee2e6;
    color: #0D9C4A;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

    .page-link:hover {
        background: #0D9C4A;
        color: white;
        border-color: #0D9C4A;
    }

.page-item.active .page-link {
    background: #0D9C4A;
    border-color: #0D9C4A;
    color: white;
}

.page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    .news-item-image-wrapper {
        max-height: 160px;
        min-height: 120px;
    }

    .news-item-content {
        padding: 0 0 0 10px;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-item-excerpt {
        display: none;
    }

    .news-item-footer {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .news-item-card .row {
        flex-direction: column;
    }

    .news-item-card .col-5,
    .news-item-card .col-7 {
        width: 100%;
    }

    .news-item-image-wrapper {
        max-height: 200px;
        min-height: 160px;
    }

    .news-item-content {
        padding: 10px 0 0 0;
    }

    .news-item-excerpt {
        display: -webkit-box;
    }

    .news-item-footer {
        justify-content: center;
    }

    .btn-read-more {
        width: 100%;
        justify-content: center;
    }

    .news-item-date {
        font-size: 12px;
    }
}

