/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    width: 300px;
    background: #fff;
    border: .5px solid #707070;
    order: 2;
    align-self: flex-start;
}

.sidebar-widget {
    padding: 0;
}

.widget-title {
    font-size: 20px;
    font-weight: normal;
    padding: 10px 20px;
    color: #000;
    border-bottom: .5px solid #707070;
    padding-bottom: 8px;
}

/* News & Releases */
.newsreleases .widget-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: normal;
}

.newsreleases li a {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0 20px 20px 20px;
    border-bottom: .5px dashed #707070;
    align-items: center;
}

.newsreleases li:last-child a {
    padding-bottom: 0;
    border: none;
}

.news-image {
    flex-shrink: 0;
    width: 110px;
    height: 80px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.newsreleases h3 {
    font-size: 13px;
    color: #000;
    justify-content:center;
    align-items: center;
    font-weight: 500;
    line-height: 1.5;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

/* Category */
.category .widget-title {
    border-top: .5px dashed #707070;
}

.category-list li {
    border-bottom: .5px solid #707070;
    padding: 0 20px;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: block;
    padding: 12px 0;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    border-bottom: none;
}

.category-list a:hover {
    color: #FFA811;
    border-bottom: none;
}

/* mobile */
@media screen and (max-width: 767px) {
    .sidebar {
        width: auto;
        margin: 0 20px 20px;
    }

    .sidebar-widget {
        padding: 0;
        border-bottom: none;
    }

    .news-title {
        overflow: hidden;
        word-break: break-all;
    }

    .news-content a {
        text-decoration: none;
        font-size: 18px;
        border: none;
        font-weight: normal;
    }
    
    .news-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px;
        display: flex;
    }

    .newsreleases .widget-title {
        border-top: none;
    }

    .newsreleases li a {
        align-items: flex-start;
    }

    .news-item:last-child {
        padding-bottom: 10px;
    }

    .news-image {
        width: 80px;
        height: auto;
    }
    
}
