.newsListingDiscovery {
    box-sizing: border-box;
    width: 100%;
    max-width: 375px;
}

.newsCategoryHeader {
    width: 100%;
    margin: 10px 0 30px;
    overflow: hidden;
}

.newsCategoryHeader h1 {
    margin: 0 0 17px;
    color: #171717;
    font-size: 38px;
    font-weight: 600;
    line-height: 44px;
}

.newsCategoryNav {
    display: flex;
    padding: 0 0 10px;
    overflow-x: auto;
    border-bottom: 1px solid #e4e4e4;
    gap: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.newsCategoryNav::-webkit-scrollbar {
    display: none;
}

.newsCategoryNav a {
    flex: 0 0 auto;
    padding: 8px 16px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
}

.newsCategoryNav a:hover,
.newsCategoryNav a.is-active {
    border-color: #027cd5;
    background: #027cd5;
    color: #fff;
}

.newsDiscoverySection {
    margin: 0 0 30px;
    background: #fff;
}

.newsDiscoveryTitle {
    margin: 0;
    padding: 0 0 11px;
    border-bottom: 2px solid #027cd5;
    color: #171717;
    font-size: 22px;
    font-weight: 600;
    line-height: 27px;
}

.newsDiscoveryStory {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 0;
    align-items: flex-start;
    border-bottom: 1px solid #e7e7e7;
    color: #171717;
    font-size: 16px;
    line-height: 20px;
}

.newsDiscoveryStory:hover {
    color: #027cd5;
}

.newsDiscoveryStoryImage {
    flex: 0 0 96px;
    width: 96px;
    height: 58px;
    margin-right: 13px;
    object-fit: cover;
}

.newsDiscoveryStory span {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.newsDiscoveryStoreGrid {
    display: grid;
    padding-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.newsDiscoveryStore {
    display: flex;
    min-width: 0;
    padding: 10px 8px;
    align-items: center;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    color: #171717;
    flex-direction: column;
    text-align: center;
}

.newsDiscoveryStore:hover {
    border-color: #027cd5;
    color: #027cd5;
}

.newsDiscoveryStore img {
    display: block;
    width: 100%;
    max-width: 120px;
    height: 48px;
    margin-bottom: 7px;
    object-fit: contain;
}

.newsDiscoveryStore strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 14px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsDiscoveryStore span {
    margin-top: 3px;
    color: #777;
    font-size: 12px;
    line-height: 15px;
}

@media screen and (max-width: 767px) {
    .newsCategoryHeader {
        margin: 8px 0 22px;
    }

    .newsCategoryHeader h1 {
        margin-bottom: 13px;
        font-size: 28px;
        line-height: 34px;
    }

    .newsCategoryNav {
        margin: 0 -10px;
        padding: 0 10px 9px;
    }

    .newsCategoryNav a {
        padding: 7px 13px;
        font-size: 14px;
    }

    .newsListingDiscovery {
        max-width: none;
        margin-top: 26px;
    }
}

.newsPagePagination {
    display: grid;
    width: 100%;
    margin: 28px 0 36px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
}

.newsPagePagination a {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #027cd5;
    border-radius: 4px;
    background: #fff;
    color: #027cd5;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.newsPagePagination a:hover {
    background: #027cd5;
    color: #fff;
}

.newsPagePaginationNumbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.newsPagePaginationNumbers a,
.newsPagePaginationCurrent {
    box-sizing: border-box;
    min-width: 38px;
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #444;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.newsPagePaginationNumbers a:hover,
.newsPagePaginationCurrent {
    border-color: #027cd5;
    background: #027cd5;
    color: #fff;
}

.newsPagePaginationEllipsis {
    color: #777;
    font-size: 16px;
}

.newsPagePaginationNext {
    text-align: right;
}

@media screen and (max-width: 480px) {
    .newsPagePagination {
        display: flex;
        margin: 22px 0 30px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    .newsPagePagination a {
        padding: 8px 10px;
        font-size: 13px;
    }

    .newsPagePaginationNumbers {
        width: 100%;
        order: -1;
    }

    .newsPagePaginationNumbers a,
    .newsPagePaginationCurrent {
        min-width: 34px;
        padding: 7px 8px;
        font-size: 13px;
    }
}
