:root{
    --primaryColor : #18113c;
    --secondaryColor : #754ffe;
    --greenColor : #19cb98;
    --darkColor : #000;
    --lightColor : #fff;
    --grayColor : #f2f2f2;
    --grayColor2 : #d4d2d2;
}
/* start last-posts section */
.last-posts{
    width: 100%;
    padding: 50px 100px;
    background-color: #edeafb;
}
.last-posts h1{
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}
.last-posts .card-post{
    width: 100% !important;
    border-radius: 7px;
    text-decoration: none;
    color: var(--darkColor);
    text-align: right;
    background-color: var(--lightColor);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.last-posts .card-post .thumbnall{
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-top-left-radius:7px;
    border-top-right-radius:7px;
}
.last-posts .card-post .thumbnall img{
    width: 100%;
    height: 100%;
    border-top-left-radius:7px;
    border-top-right-radius:7px;
    transition: transform 0.3s ease-in;
}
.card-post:hover img {
  transform: scale(1.1);
}
.last-posts .card-post .category-ticket a,
.category-ticket-front-page{
    text-decoration: none;
    margin: 10px 15px 0px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 7px;
    background-color: #19cb99be;
    color: var(--lightColor);
    font-weight: 400;
    font-size: 8px;
    line-height: 16px;
}
.last-posts .card-post p{
    padding: 0px 15px;
    margin: 0px;
    font-size: 13px;
}
.last-posts .card-post h6{
    padding: 10px 15px;
    margin: 0px;
    font-size: 16px;
    font-weight: bold;
    min-height: 60px; /* حسب عدد الأسطر */
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* حدد عدد الأسطر */
    -webkit-box-orient: vertical;
}
.last-posts .card-post h6 a{
    text-decoration: none;
    color: var(--darkColor);
    transition: .5s ease;
}
.last-posts .card-post h6 a:hover{
    color: var(--secondaryColor);
}
.last-posts .card-post .footer-post{
    padding: 10px 15px;
    margin: 0px;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}
.last-posts .card-post .footer-post span{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: gray;
    margin: 0px 5px;
}
.last-posts .card-post .footer-post span i{
    margin-left: 5px;
}
.last-posts .card-post .footer-post span img{
    margin-left: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}
/* end last-posts section */
.archive-posts{
    background-color: #edeafb;
    padding: 50px 40px;
}
.archive-posts .card-post{
    margin-bottom: 20px;
    background-color: var(--lightColor);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
/* start div pagination */
.pagination{
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pagination .enable{
    background-color: var(--secondaryColor);
    padding: 7px 15px;
    border-radius: 5px;
    color: var(--lightColor);
}
.pagination .disable{
    background-color: var(--grayColor2);
    padding: 7px 15px;
    border-radius: 5px;
    color: var(--grayColor);
    cursor: not-allowed;
}
.pagination span a{
    text-decoration: none;
    color: var(--lightColor);
}
/* end div pagination */