.articleListSixPay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.articleListSixPay a{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.articleListSixPayWrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    max-width: 1255px;
    grid-template-rows: auto;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 32px;
}

.articleListSixPayWrapper .extra-div {
    margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
    .articleListSixPayWrapper .extra-div {
        grid-column: span 2;
    }

    .articleListSixPayWrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .articleListSixPayWrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 1255px;
        grid-template-rows: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

    .articleListSixPayWrapper>.articleListPayContainer:first-child {
        grid-column: span 3;
        grid-row: 1;
        margin-bottom: 78px;
        height: 800px
    }

    .articleListSixPayWrapper>.articleListPayContainer:first-child .articleListPayInfo h3 {
        font-size: 36px;
        font-family: "Noto Sans Condensed";
    }
    .articleListSixPayWrapper>.articleListPayContainer:first-child .articleListPayInfo p {
        max-width:750px;
    }
    .articleListSixPayWrapper>.articleListPayContainer:first-child .articleListPayInfo {
        height: 35%;
    }

    /* .articleSixPayWrapper .articleListPayContainer:first-of-type img {
         width: 100%;
         height: 500px;
     }*/
    /*.articleSixPayWrapper>.articleListPayContainer:first-child img {
        height: 500px
    }*/
    .articleListSixPayWrapper .extra-div {
        grid-column: span 3;
    }

}

@media screen and (min-width: 1440px) {
    .articleListSixPayWrapper {
        margin-left: 0px;
        margin-right: 0px;
    }
}


.articleListSixPayWrapper .extra-div {
    padding: 60px 20px 20px 20px;
    margin:0;
}
.articleListSixPayWrapper .extra-div p{

    margin:0;
}
@media screen and (min-width: 1024px){
    .articleListSixPayWrapper .extra-div {
        margin: 0;
        padding:0;
    }
}


.articleListPayContainer {
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    cursor: pointer;

}

.articleListSixPayWrapper>.articleListPayContainer:first-child {
    overflow:hidden;
}

@media screen and (min-width: 768px){
    .articleListSixPayWrapper>.articleListPayContainer:first-child {
        max-width: 100%;
        grid-column: span 2;
    }
}

@media screen and (min-width: 1024px){
    .articleListSixPayWrapper>.articleListPayContainer:first-child {
        grid-column: span 3;
    }
}

.articleListSixPayWrapper>.articleListPayContainer:first-child img:first-of-type {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.articleListSixPayWrapper>.articleListPayContainer:first-child img:hover {
    transform: scale(1.1);
}

@media screen and (min-width: 1024px) {
    .articleListPayContainer {
        max-width: 406px;
        height: auto;
        margin-top: 0;
        justify-content: space-between;
    }

    .articleListPayContainer:first-child {
        max-width: 1233px;
        height: 510px;
    }

    .articleListSixPayWrapper>.articleListPayContainer:first-child img:first-of-type {
        width: 100%;
        height: 500px;
    }

}

.articleListSixPay .extra-div p {
    font-size: 26px;
    color: rgba(5, 37, 73, 1);
    font-family: "Noto Sans Condensed";
    font-weight: 700;
}

.articleListSixPayWrapper .articleListPayContainer img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

@media screen and (min-width: 1024px) {
    .articleListSixPayWrapper .articleListPayContainer img {
        width: 100%;
        height: 228px;
    }


}

.articleListPayInfo {
    padding: 20px;
    box-sizing: content-box;
    height: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}


@media screen and (min-width: 1024px){
    .articleListPayInfo {
        padding: 30px;
    }
}

.articleListPayTextInfo{
    height: 100%;
    margin-top: 20px;
}

.articleListPayInfo .articleListPayTextInfo h3{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.articleListPayTag {
    background-color: rgba(136, 193, 228, 1);
    width: fit-content;
}

.articleListPayTag .payTag {
    padding: 5px;
    font-family: "Noto Sans";
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    margin:0;
}

.articleListPayInfo h3 {
    color: rgba(5, 37, 73, 1);
    font-weight: 700;
    font-size: 20px;
    font-family: "Noto Sans Condensed";
    margin: 20px 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (min-width: 1024px) {
    .articleListSixPayWrapper .articleListPayInfo h3 {
        font-size: 26px;
        font-family: "Noto Sans Condensed";
    }
}

.articleListPayInfo p {
    color: rgba(5, 37, 73, 1);
    font-size: 14px;
    font-family: "Noto Sans";
    margin:0;
}

.articleListPayInfo p.payDescription {
    margin-bottom: 50px;
    font-weight: lighter;
}

@media screen and (min-width: 1024px) {
    .articleListPayInfo p {
        font-size: 16px;
    }
}

.articleListPayDate {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Noto Sans Condensed";
    gap: 5px;
    margin-top: auto;
    font-weight: lighter;
}


.articleListPayDate .payDate {
    display: flex;
    align-items: center;
    color: rgba(184, 184, 184, 1);
    font-size: 14px;
    text-transform: uppercase;
}

.articleListPayDate .payDate svg{
    padding-right: 5px;
}

.articleListPayDate .payDateFormatted {
    color: rgba(184, 184, 184, 1);
    font-size: 14px;
    text-transform: uppercase;
}

.articleListSixPay .pagination {
    margin-top: 100px;
    margin-bottom: 100px;
    width: 236px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.articleListSixPay .pagination button {
    all: unset;
    color: rgba(38, 38, 38, 1);
}

.articleListSixPay .pagination button.disabled {
    color: rgba(184, 184, 184, 1);
}

.articleListSixPay .pagination .prev {
    font-size: 16px;
    font-family: "Noto Sans";
    white-space: nowrap;
    cursor: pointer;
}

.articleListSixPay .pagination .prev:hover {
    text-decoration: underline #DE3919;
    text-underline-offset: 5px;
}

.articleListSixPay .pagination .next {
    font-size: 16px;
    font-family: "Noto Sans";
    white-space: nowrap;
    cursor: pointer;
}

.articleListSixPay .pagination .next:hover {
    text-decoration: underline #DE3919;
    text-underline-offset: 5px;
}

.articleListSixPay .pagination .pageNumber {
    font-size: 16px;
    font-family: "Noto Sans";
    display: flex;
    align-items: center;
    gap: 13px;
}

.articleListSixPay .pagination .pageNumber .page-link:not(.activePage) {
    cursor: pointer;
}

.articleListSixPay .pagination .pageNumber .page-link:not(.activePage):hover {
    text-decoration: underline #DE3919;
    text-underline-offset: 5px;
}

.articleListSixPay .activePage {
    padding-bottom: 5px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid rgba(38, 38, 38, 1);
    cursor: default;
}