#blogListDiv {
    /* background-color: aqua; */
    aspect-ratio: 2.7/1;
    width: 100%;
    /* height: 450px; */
    /* padding-top: 80px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#blogListTitle {
    /* background-color:aquamarine; */
    height: 20%;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

#blogListTitle>span {
    /* padding-right: 3%; */
    /* padding-left: 3%; */
    color: #3c4458;
    direction: rtl;
    text-align: justify;
    font-family: bt;
    font-size: clamp(20px, 2.6vw, 40px);
    position: relative;
    right: 10%;
    bottom: 10%;
}

#blogListBox {
    /* background-color: green; */
    width: 85%;
    /* height: 80%; */
    max-width: 1800px;
    gap: 1.5%;
    /* row-gap: 5%; */
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.blogListBoxClass {
    aspect-ratio: initial;
    overflow: initial;
}

.articleListBox {
    border-radius: 0.5vw;
    aspect-ratio: 70/100;
    width: 23%;
    /* height: 100%; */
    position: relative;
    /* margin-top: 3%; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    /* border: 1px solid #ccc; */
    border-radius: 2vw;
    /* box-shadow: inset 0px -10px 10px -10px lightslategray, 0px 25px 40px -20px lightslategray; */
    cursor: pointer;
}

.articleListInnerBox {
    border-radius: 0.5vw;
    /* aspect-ratio: 75/100; */
    width: 100%;
    height: 95%;
    position: relative;
    /* margin-top: 3%; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 2vw;
    box-shadow: inset 0px -10px 10px -10px lightslategray, 0px 25px 40px -20px lightslategray;
    cursor: pointer;
}

.articleListInnerBox:hover {
    /* background-color: #e4eaea; */
    /* width: 32.5%; */
    /* height: 104%; */
    /* aspect-ratio: 80/100; */
    box-shadow: inset 0px -10px 10px -10px lightslategray, 0px 25px 40px 0px lightslategray;
    perspective: 100px;
}

.articleListPic {
    /* background-color: gold; */
    border-top-right-radius: 2vw;
    border-top-left-radius: 2vw;
    width: 100%;
    height: 37%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.articleListPic>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articleListTitle {
    /* background-color: blue; */
    border-radius: 0.5vw;
    width: 100%;
    height: 22%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.articleListTitle a {
    display: block;
    width: 100%;
}

.articleListTitle a h2 {
    color: #3c4458;
    padding-right: 4%;
    padding-left: 4%;
    padding-top: 5%;
    padding-bottom: 5%;
    direction: rtl;
    text-align: center;
    font-family: vb;
    font-size: clamp(14px, 1.1vw, 20px);
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.articleListSubHeading {
    /* background-color: darkorchid; */
    border-radius: 0.5vw;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.articleListSubHeading>h2 {
    color: #3c4458;
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 3%;
    direction: rtl;
    text-align: justify;
    font-family: vm;
    font-size: clamp(13px, 0.9vw, 17px);
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#blogListPageButtonDiv {
    /* background-color: aqua; */
    height: 30%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#blogListPageLeftButton {
    /* background-color: red; */
    height: 50%;
    width: 4%;
    background: url(../images/icon/nextLeft.png) 50% no-repeat;
    background-size: 90%;
    cursor: pointer;
}

#blogListPageLeftButton:hover {
    filter: brightness(140%);
}

#blogListPageNumber {
    /* background-color: green; */
    height: 50%;
    width: 4%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#blogListPageNumber>span {
    color: #3c4458;
    position: relative;
    top: 3%;
    font-size: 2vw;
    font-family: vm;
}

#blogListPageRightButton {
    /* background-color: blue; */
    height: 50%;
    width: 4%;
    background: url(../images/icon/nextRight.png) 50% no-repeat;
    background-size: 90%;
    cursor: pointer;
}

#blogListPageRightButton:hover {
    filter: brightness(140%);
}

/* Tablet Portrait */
@media screen and (max-width:1024px) {
    #blogListBox {
        width: 90%;
        gap: 2%;
    }

    .articleListBox {
        width: 30%;
    }
}

/* Large Mobile / Small Tablet */
@media screen and (max-width:900px) {
    #blogListBox {
        width: 92%;
    }

    .articleListBox {
        width: 48%;
    }
}

/* Medium Mobile */
@media screen and (max-width:768px) {
    .articleListBox {
        width: 47%;
    }

    .articleListSubHeading>h2 {
        font-size: clamp(14px, 2vw, 40px);
    }
}

/* Small Mobile */
@media screen and (max-width:480px) {
    .articleListBox {
        width: 100%;
        margin-bottom: 25px;
    }
}

/* Mobile */
@media screen and (max-width:750px) {
    #blogListDiv {
        /* background-color: aqua; */
        aspect-ratio: initial;
        width: 100%;
        /* height: 450px; */
        /* padding-top: 80px; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #blogListTitle {
        /* background-color:aquamarine; */
        height: 20%;
        width: 100%;
        padding-top: 125px;
        padding-bottom: 20px;
        display: flex;
        justify-content: right;
        align-items: center;
    }

    #blogListTitle>span {
        /* padding-right: 3%; */
        /* padding-left: 3%; */
        color: #3c4458;
        direction: rtl;
        text-align: justify;
        font-family: bt;
        font-size: clamp(20px, 7vw, 40px);
        position: relative;
        right: 10%;
        bottom: initial;
    }

    #blogListBox {
        /* background-color: green; */
        width: 94%;
        /* height: 80%; */
        max-width: 1800px;
        gap: 0%;
        /* row-gap: 5%; */
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: center;
    }

    .blogListBoxClass {
        aspect-ratio: initial;
        overflow: initial;
    }

    .articleListBox {
        /* background-color: aqua; */
        border-radius: 0.5vw;
        aspect-ratio: 75/100;
        width: 47%;
        /* height: 100%; */
        position: relative;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
        /* border: 1px solid #ccc; */
        border-radius: 5vw;
        /* box-shadow: inset 0px -10px 10px -10px lightslategray, 0px 25px 40px -20px lightslategray; */
        cursor: pointer;
    }

    .articleListInnerBox {
        border-radius: 0.5vw;
        /* aspect-ratio: 75/100; */
        width: 100%;
        height: 95%;
        position: relative;
        /* margin-top: 3%; */
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 5vw;
        box-shadow: inset 0px -10px 10px -10px lightslategray, 0px 25px 40px -20px lightslategray;
        cursor: pointer;
    }

    .articleListInnerBox:hover {
        /* background-color: #e4eaea; */
        /* width: 32.5%; */
        /* height: 104%; */
        /* aspect-ratio: 80/100; */
        box-shadow: inset 0px -10px 10px -10px lightslategray, 0px 25px 40px -5px lightslategray;
        perspective: 100px;
    }

    .articleListPic {
        /* background-color: gold; */
        border-top-right-radius: 5vw;
        border-top-left-radius: 5vw;
        width: 100%;
        height: 40%;
        min-height: 150px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .articleListPic>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .articleListTitle {
        /* background-color: blue; */
        border-radius: 0.5vw;
        width: 100%;
        min-height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 0 0 auto;
    }

    .articleListTitle a {
        width: 100%;
        display: block;
    }

    .articleListTitle a h2 {
        color: #3c4458;
        padding: 8px 6% 8px 6%;
        direction: rtl;
        text-align: center;
        font-family: vb;
        font-size: clamp(15px, 4vw, 22px);
        line-height: 1.3;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .articleListSubHeading {
        /* background-color: darkorchid; */
        border-radius: 0.5vw;
        width: 100%;
        min-height: 50px;
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .articleListSubHeading>h2 {
        color: #3c4458;
        padding: 8px 7% 10px 7%;
        direction: rtl;
        text-align: justify;
        font-family: vm;
        font-size: clamp(13px, 3.5vw, 18px);
        line-height: 1.5;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #blogListPageButtonDiv {
        /* background-color: aqua; */
        height: 150px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #blogListPageLeftButton {
        /* background-color: red; */
        height: 55%;
        width: 12%;
        background: url(../images/icon/nextLeft.png) 50% no-repeat;
        background-size: 90%;
        cursor: pointer;
    }

    #blogListPageLeftButton:hover {
        filter: brightness(140%);
    }

    #blogListPageNumber {
        /* background-color: green; */
        height: 55%;
        width: 12%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #blogListPageNumber>span {
        color: #3c4458;
        position: relative;
        top: 3%;
        font-size: 5.5vw;
        font-family: vm;
    }

    #blogListPageRightButton {
        /* background-color: blue; */
        height: 55%;
        width: 12%;
        background: url(../images/icon/nextRight.png) 50% no-repeat;
        background-size: 90%;
        cursor: pointer;
    }

    #blogListPageRightButton:hover {
        filter: brightness(140%);
    }
}

/* Small Mobile - Blog List Optimized */
@media screen and (max-width:480px) {
    #blogListTitle>span {
        font-size: clamp(22px, 8vw, 40px);
        right: 5%;
    }

    #blogListBox {
        width: 95%;
        gap: 15px;
    }

    .articleListBox {
        width: 100%;
        aspect-ratio: 1/1.2;
        margin-bottom: 25px;
        border-radius: 20px;
    }

    .articleListInnerBox {
        border-radius: 20px;
    }

    .articleListPic {
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
        height: 45%;
        min-height: 180px;
    }

    .articleListTitle {
        min-height: 50px;
    }

    .articleListTitle a h2 {
        font-size: clamp(15px, 4.2vw, 22px);
        padding: 10px 5% 10px 5%;
        line-height: 1.35;
    }

    .articleListSubHeading {
        min-height: 60px;
    }

    .articleListSubHeading>h2 {
        font-size: clamp(13px, 3.7vw, 18px);
        padding: 8px 6% 12px 6%;
        line-height: 1.55;
    }
}

/* Extra Small Mobile - iPhone 8 Blog List */
@media screen and (max-width:375px) {
    #blogListTitle {
        padding-top: 110px;
    }

    #blogListTitle>span {
        font-size: clamp(24px, 8.5vw, 40px);
    }

    #blogListBox {
        width: 92%;
    }

    .articleListBox {
        aspect-ratio: 1/1.25;
        border-radius: 18px;
    }

    .articleListInnerBox {
        border-radius: 18px;
    }

    .articleListPic {
        border-top-right-radius: 18px;
        border-top-left-radius: 18px;
        min-height: 170px;
    }

    .articleListTitle a h2 {
        font-size: clamp(16px, 4.7vw, 23px);
        line-height: 1.4;
        padding: 10px 4% 10px 4%;
    }

    .articleListSubHeading>h2 {
        font-size: clamp(13px, 3.9vw, 19px);
        line-height: 1.65;
        -webkit-line-clamp: 4;
    }
}