.text-ubuntu{
    font-family: 'Ubuntu', sans-serif;
}

.text-rubik{
    font-family: "Rubik", sans-serif;
}

.text-poppins{
    font-family: "Poppins", sans-serif;
}

.navbar-nav .nav-item .login-btn {
    background-color: #80B03B;
    border: 1px solid #80B03B;
    width: 120px;
    border-radius: 20px;
    text-align: center;
}

.navbar-nav .nav-item .login-btn:hover {
    background-color: #4B7435;
    border: 1px solid white;
    color: white;
    position: relative;
}

.nav-logo {
    margin-left: 10px;
    height: auto;
    width: 80px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.navbar {
    background-color: #4B7435;
    padding: 0px 0;
    z-index: 3;
}

.nav-link {
    color: rgb(255, 255, 255);
    font-weight: 550;
    font-size: 16px;
}

.nav-btn {
    cursor: pointer;
    align-items: center;
    background-color: #80B03B;
    border: none;
    border-radius: 8px;
    width: 100px;
    height: 32px;
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.nav-btn:hover {
    background-color: #63931E;
}

.navbar-nav .nav-link:hover {
    color: #000000;
}

.navbar-nav {
    margin: 0;
    /* Remove default margin */
    padding: 0;
    /* Remove default padding */
    list-style: none;
    /* Remove bullet points */
}

.nav-item {
    margin: 0 8px;
    /* Add horizontal margin */
    /* display: flex;
    justify-content: center;
    align-items: center; */
}


.footer-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    padding: 50px;
    margin: auto;
}

.footer-bg {
    background-color: #4B7435;
    height: 350px;
    width: 100%;
}

.footer-logo {
    width: 200px;
}

.f-menu {
    display: grid;
    grid-template-columns: auto;
    row-gap: 10px;
    font-weight: 300;
}

.social-icons {
    display: inline-block;
    font-size: 20px;
}

.social-icons a {
    text-decoration: none;
    /* Removes underline */
    display: inline-block;
    /* Ensures the anchor takes up only the space it needs */
    transition: transform 0.3s ease;
    /* Smooth transition for the animation */
    margin-right: 12px;
}

/* CSS for the hover effect - scaling up the icons slightly */
.social-icons a:hover {
    transform: scale(1.1);
    /* Scale up the icons by 10% on hover */
}

.social-icon {
    width: 40px;
}

.copyright {
    display: flex;
    justify-content: center;
    color: white;
}

.text-green-01{
    color: #096B3B;
}

.text-grey-01{
    color: #7B7D8C;
}

.bg-green-01{
    background: #096B3B;
}

.bg-green-light{
    background: #D9E9E1;
}
.bg-green-light-01{
    background: #F6FBF7;
}

.mt-nav{
    margin-top: 70px;
}

.search-news-container{
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 40%;
}

.search-news-container>.search-news{
    width: 100%;
    padding: 13px 25px;
    border-radius: 25px;
    outline: none;
    border: none;
}
.search-news-container>.search-news::placeholder{
    font-size: 18px;
    color: #096B3B;
}

.search-news-container>.search-icon{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}


.filter-container-main {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-container {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-top: 40px;
    gap: 10px;
    font-size: 16px;
    color: #096b3b;
    font-weight: 400;
    line-height: 140%;
    padding: 0 20px;
    flex-wrap: wrap;
}

.filter-item {
    font-family: DM Sans, sans-serif;
    border-radius: 32px;
    border: 1px solid rgba(9, 107, 59, 1);
    justify-content: center;
    padding: 5px 15px;
    white-space: nowrap;
    background: white;
}

.carousel-before{
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    left: -40px;
    font-size: 60px;
    width: fit-content;
    color: #096B3B;
}
.carousel-next{
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    right: -40px;
    font-size: 60px;
    width: fit-content;
    color: #096B3B;
}

.filter-item-active,
.filter-item:hover {
    background-color: #096b3b;
    color: #fff;
    cursor: pointer;
}

.main-news-image{
    aspect-ratio: 13 / 8;
    object-fit: cover;
    border-radius: 25px;
}
/* style ini harusnya tidak digunakan jika sudah mengambil data dari DB */
.text-main-news{
    height: 100%;
    position: absolute;
    top: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-main-news>b{
    color: white;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 30px;
}

.text-main-news>p{
    color: white;
}

.capsul-green{
    width: fit-content;
    color: white;
    padding: 0px 15px;
    background: #096b3b;
    border-radius: 15px;
}
/* sampai sini */

.main-news-category{
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1;
}

.main-news-title{
    font-weight: 500;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.main-news-subtitle{
    min-height: 165px;
    font-size: 15px;
}

.trending-header{
    font-weight: 500;
}

.trending-container{
    list-style: none;
    padding: 0px;
}

.trending-item{
    background: #B5EAD0;
    padding: 3px 15px;
    border-radius: 10px;
    margin-bottom: 7px;
}

.news-image{
    aspect-ratio: 7 / 5;
    object-fit: cover;
    box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.25);
}

.news-category{
    font-weight: 500;
    margin-bottom: 10px;    
}

.news-title{
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
    min-height: 90px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-subtitle{
    font-size: .875em;
    text-align: justify;
    margin-bottom: 15px;
    min-height: 85px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.title-news{
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 15px;
}

.capsul-green-light{
    width: fit-content;
    color: #096b3b;
    padding: 0px 15px;
    background: #F6FBF7;
    border-radius: 15px;
}

.image-thumbnail-container{
    
}

.image-thumbnail{
    width: 100%;
    aspect-ratio: 7/4;
    object-fit: cover;
    border-radius: 25px;
}

.circle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    text-align: center;
    background: white;
    border-radius: 20px;
}

.tags-container{
    padding: 15px 20px;
    border: 2px solid #F4F2F2;
    border-radius: 25px;
}

.tags-list {
    list-style: decimal;
    padding-left: 25px;
    font-weight: 500;
}

.trending-item-light{
    background: #F6FBF7;
    padding: 3px 15px;
    border-radius: 10px;
    margin-bottom: 7px;
}

#lastest-news-xs{
    display: none;
}

#tags-xs{
    display: none;
}

.article-content{
    text-align: justify;
}

@media only screen and (max-width: 575px){
    #lastest-new-md{
        display: none;
    }

    .search-news-container{
        width: 90%;
    }
    
    .filter-container {
        padding: 0px;
    }

    #lastest-news-xs, #tags-xs{
        display: unset;
    }

    .title-news{
        font-size: 24px
    }

    .footer-content{
        max-width: unset;
        display: grid;
        grid-template-columns: auto;
        row-gap: 30px;
        justify-content: unset;
        padding: 20px 30px;
        margin: auto;
    }
    .footer-bg{
        background-color: #4B7435;
        height: fit-content;
        width: 100%;
    }
}

@media only screen and (min-width: 576px) and (max-width: 1200px){
    #lastest-new-md{
        display: flex;
    }

    #lastest-news-xs, #tags-xs{
        display: none;
    }

    .search-news-container{
        width: 90%;
    }
    
    .filter-container {
        padding: 0px;
    }

    .footer-content{
        max-width: unset;
        display: grid;
        grid-template-columns: auto;
        row-gap: 30px;
        justify-content: unset;
        padding: 20px 30px;
        margin: auto;
    }
    .footer-bg{
        background-color: #4B7435;
        height: fit-content;
        width: 100%;
    }
}