```css
/* =========================================================
   BDS HISTORY AREA
========================================================= */

.bds-history-area {
    padding: 45px 0;
    background: #f5f7fa;
}


/* =========================================================
   MAIN STORY GRID
========================================================= */

.bds-story-grid {
    display: grid;
    width:80%;
    gap: 28px;
}


/* =========================================================
   STORY BOX
========================================================= */

.bds-story-box {
    width: 100%;
    background: #fff;

    border: 1px solid #e6e9ee;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bds-story-box:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   STORY IMAGE
========================================================= */

.bds-story-image {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #f0f2f5;
}

.bds-story-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.bds-story-box:hover .bds-story-image img {
    transform: scale(1.06);
}


/* =========================================================
   STORY CONTENT
========================================================= */

.bds-story-content {
    padding: 20px 22px 22px;
}


/* =========================================================
   STORY DATE
========================================================= */

.bds-story-date {
    display: flex;
    align-items: center;

    margin-bottom: 9px;

    color: #8b929b;

    font-size: 12px;
    font-weight: 500;

    line-height: 1.5;
}

.bds-story-date i {
    margin-right: 6px;

    font-size: 12px;
}


/* =========================================================
   STORY TITLE
========================================================= */

.bds-story-title {
    margin: 0 0 11px;

    color: #1f2937;

    font-size: 19px;
    font-weight: 700;

    line-height: 1.45;

    transition: color 0.2s ease;
}


/* =========================================================
   STORY DESCRIPTION
========================================================= */

.bds-story-description {
    color: #667085;

    font-size: 14px;
    line-height: 1.75;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.bds-story-description p {
    margin: 0;
}


/* =========================================================
   SIDEBAR
========================================================= */

.bds-sidebar-box {
    width: 100%;

    background: #fff;

    border: 1px solid #e6e9ee;
    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   SIDEBAR HEADER
========================================================= */

.bds-sidebar-header {
    display:flex;
    position: relative;

    padding: 18px 20px;

    background: #fff;

    border-bottom: 1px solid #e9edf2;
}

.bds-sidebar-header h2 {
    position: relative;

    margin: 0;
    padding-left: 12px;

    color: #1f2937;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.4;
}

.bds-sidebar-header h2:before {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;

    width: 4px;
    height: calc(100% - 6px);

    background: #333;

    border-radius: 5px;
}


/* =========================================================
   SIDEBAR CONTENT
========================================================= */

.bds-sidebar-content {
    padding: 0 20px;
}


/* =========================================================
   POPULAR STORY
========================================================= */

.bds-popular-box {
    padding: 17px 0;

    border-bottom: 1px solid #edf0f3;

    transition: padding-left 0.2s ease;
}

.bds-popular-box:last-child {
    border-bottom: none;
}

.bds-popular-box:hover {
    padding-left: 5px;
}


/* =========================================================
   POPULAR DATE
========================================================= */

.bds-popular-date {
    display: flex;
    align-items: center;

    margin-bottom: 7px;

    color: #98a1ad;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.5;
}

.bds-popular-date i {
    margin-right: 6px;
}


/* =========================================================
   POPULAR TITLE
========================================================= */

.bds-popular-title {
    display: block;

    color: #344054;

    font-size: 15px;
    font-weight: 600;

    line-height: 1.55;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.bds-popular-title:hover {
    color: #111827;

    text-decoration: none;
}


/* =========================================================
   PAGINATION
========================================================= */

.bds-pagination {
    margin-top: 30px;

    text-align: center;
}

.bds-pagination .pagination {
    display: inline-flex;

    margin: 0;
    padding: 0;

    gap: 5px;
}

.bds-pagination .pagination > li {
    margin: 0;
}

.bds-pagination .pagination > li > a,
.bds-pagination .pagination > li > span {
    min-width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border: 1px solid #e1e5ea;
    border-radius: 7px;

    background: #fff;

    color: #475467;

    font-size: 13px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.bds-pagination .pagination > li > a:hover {
    background: #f1f3f5;

    color: #111827;

    border-color: #d5d9de;
}

.bds-pagination .pagination > .active > a,
.bds-pagination .pagination > .active > span {
    background: #333;

    color: #fff;

    border-color: #333;
}


/* =========================================================
   NO STORY
========================================================= */

.bds-no-story {
    grid-column: 1 / -1;

    padding: 55px 20px;

    background: #fff;

    border: 1px solid #e6e9ee;
    border-radius: 12px;

    text-align: center;

    color: #98a2b3;
}

.bds-no-story i {
    display: block;

    margin-bottom: 12px;

    font-size: 34px;
}

.bds-no-story p {
    margin: 0;

    font-size: 14px;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .bds-history-area {
        padding: 50px 0;
    }

    .bds-story-grid {
        gap: 30px;
    }

    .bds-story-image {
        height: 315px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .bds-history-area {
        padding: 30px 0;
    }

    .bds-story-grid {
        gap: 20px;
    }

    .bds-story-image {
        height: 195px;
    }

    .bds-story-content {
        padding: 17px;
    }

    .bds-story-title {
        font-size: 17px;
    }

    .bds-story-description {
        font-size: 13px;
    }

    .bds-sidebar-header {
        padding: 15px 16px;
    }

    .bds-sidebar-header h2 {
        font-size: 18px;
    }

    .bds-sidebar-content {
        padding: 0 16px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .bds-history-area {
        padding: 25px 0;
    }

    .bds-story-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .bds-story-image {
        height: 220px;
    }

    .bds-story-content {
        padding: 17px 18px 19px;
    }

    .bds-story-title {
        font-size: 18px;
    }

    .bds-story-description {
        font-size: 14px;

        -webkit-line-clamp: 5;
    }

    .bds-sidebar-box {
        margin-top: 28px;
    }

    .bds-sidebar-header {
        padding: 16px 18px;
    }

    .bds-sidebar-header h2 {
        font-size: 18px;
    }

    .bds-sidebar-content {
        padding: 0 18px;
    }

    .bds-popular-box {
        padding: 15px 0;
    }

    .bds-popular-title {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .bds-history-area {
        padding: 20px 0;
    }

    .bds-story-grid {
        gap: 17px;
    }

    .bds-story-image {
        height: 190px;
    }

    .bds-story-content {
        padding: 15px 16px 17px;
    }

    .bds-story-title {
        font-size: 17px;
    }

    .bds-story-description {
        font-size: 13px;
        line-height: 1.65;
    }

    .bds-sidebar-box {
        margin-top: 22px;
    }

    .bds-sidebar-header {
        padding: 15px 16px;
    }

    .bds-sidebar-header h2 {
        font-size: 17px;
    }

    .bds-sidebar-content {
        padding: 0 16px;
    }

}


/* =========================================================
   EXTRA SAFETY
========================================================= */

.bds-story-title,
.bds-story-description,
.bds-popular-title {
    overflow-wrap: anywhere;
}


/* Prevent images from overflowing */

.bds-story-image img {
    max-width: 100%;
}


/* Better box sizing */

.bds-history-area *,
.bds-history-area *:before,
.bds-history-area *:after {
    box-sizing: border-box;
}
```
