﻿body {
}
.page-wrapper {
    background-color: #F3F5F4;
}

.year-list {
    /* max-width: 700px; */
    gap: 12px;
    padding: 5px;
    scroll-behavior: smooth;
}

.btn-year {
    min-width: 90px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #e3e3e3;
    background-color: #F3F5F4;
    background: #fff;
    color: #074c31;
    font-weight: 500;
    transition: all 0.25s ease;
}

    .btn-year:hover {
        background: #074c31;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
    }

    .btn-year.active {
        background: #074c31;
        color: #fff;
        font-weight: 600;
    }

.btn-nav {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    color: #074c31;
    opacity: 0.6;
    transition: opacity 0.2s;
}

    .btn-nav:hover {
        opacity: 1;
    }

:root {
    --primary-color: #4A792E;
    --secondary-color: #229B4F;
    --border-radius: 16px;
    --size-corner: 60px;
}

.nav-vertical .nav-item.show .nav-link, .nav-vertical .nav-link.active {
    font-weight: var(--tblr-font-weight-bold);
    color: #107634;
    background-color: #0299130a;
}

.nav-vertical .nav-link {
    font-weight: var(--tblr-font-weight-bold);
}

.line {
    height: 4px;
    width: 30%;
    background-color: #074c31;
}

.content-plain {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
    /* margin: 10px !important; */
    /*min-height: 280px;*/
}

.article-card {
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .article-card:hover {
        box-shadow: 0 8px 32px rgba(34,155,79,0.18);
        transform: translateY(-4px) scale(1.02);
    }

.article-img-wrapper {
    position: relative;
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
    /* width: 100%;
                    height: 220px; */
    aspect-ratio: 18/9;
    object-fit: cover;
    transition: transform 0.3s;
}

    .article-img-wrapper img {
        /* width: 100%;
                        height: 100%; */
        aspect-ratio: 16/9;
        border-radius:8px 8px 8px 8px;
        object-fit: cover;
    }

.article-card:hover .article-img-wrapper {
    transform: scale(1.05);
}

.article-date-badge {
    position: absolute;
    top: 18px;
    left: 24px;
    background-color: var(--primary-color);
    border-radius: 100px;
    z-index: 3;
    color: #fff;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.article-icon {
    position: absolute;
    bottom: 0;
    background-color: #faf9f7;
    padding: 0 10px 0 0;
    border-radius: 0 15px 0 0;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
}

.article-title {
    font-size: 24px;
    line-height: 1.6;
    /* width: 90%; */
    /* font-family: 'Lora', serif; */
    font-weight: bold;
    transition: color 0.3s;
    /* display: -webkit-box; */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .article-title:hover {
        color: var(--secondary-color);
    }

.limit-3-lines, .limit-6-lines, .limit-2-lines, .limit-5-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.limit-6-lines {
    -webkit-line-clamp: 6;
}

.limit-2-lines {
    -webkit-line-clamp: 2;
}

.limit-5-lines {
    -webkit-line-clamp: 5;
}

.limit-3-lines {
    -webkit-line-clamp: 3;
}

.page-item.active .page-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-item .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 4px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .page-item .page-link:hover {
        background-color: rgba(74, 121, 46, 0.1);
    }

.nav-link:focus, #letter-list .nav-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.page-item, .page-item .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: bottom right;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: bottom right;
    mask-size: 100% 100%;
}

.card-wrapper .arrow-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 50;
}
h4 {
    font-size: 1.1rem !important
}
.nav-vertical .nav-link {
    color: var(--tblr-heading-color) !important;
    font-weight: var(--tblr-font-weight-bold);
}

.nav-vertical .nav-item .nav-link.active {
    color: #074c31 !important;
}

.nav-vertical .nav-item .nav-link:hover {
    color: #074c31 !important;
}