.blog{
    margin-top: 57px!important;
}
.main-section {
    position: relative;
    background-image: url(../../../images/Rectangle-230-_1_.webp);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
}
.main-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../../../images/Rectangle-231-_1_.webp);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.main-section .container {
    z-index: 10;
    position: relative;
}
@media only screen and (max-width: 766px) {
    .main-section,
    .main-section::before {
        height: 100%;
        background-size: cover;
    }
}
/* title-blog */
.icons i {
    font-size: 15px;
    box-shadow: 0px 4px 4px 0px #00000040;
    background-color: #fff;
    color: var(--black);
    margin-right: 10px;
    border-radius: 4px;
}
.title-blog {
    color: var(--primary);
    font-weight: bold;
    display: flex;
    justify-content: start;
    flex-direction: row-reverse;
}
.title-blog::before {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    top: 0;
    left: -5px;
    transform: translate(-100%, 100%);
    background-color: var(--primary2);
    border-radius: 50%;
}
.sidebar-blog .title-blog {
    font-weight: normal;
}
.img-absolute {
    top: 0;
    right: 0;
    transform: translateX(10%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition: 0.5s;
}
.img-absolute:hover {
    overflow-y: scroll;
}
.img-absolute img {
    width: 80px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

/* section-hr */
.section-hr .hr {
    border-color: var(--primary);
    border-width: 2px;
    opacity: 1;
    position: relative;
    border-top: var(--primary) solid;
}
.section-hr .hr::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    left: 0;
    top: -2px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.section-hr .hr::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    right: 0;
    top: -2px;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.section-hr .text-description {
    position: relative;
}
.section-hr .text-description::before {
    content: "";
    position: absolute;
    background: var(--primary);
    width: 2px;
    height: 100%;
    top: 0;
    left: -10px;
}
.section-hr .text-description::after {
    content: "";
    position: absolute;
    background: var(--primary);
    width: 10px;
    height: 10px;
    bottom: 0;
    left: -14px;
    transform: rotate(45deg);
}
.sec-title-blog {
    color: var(--primary);
    font-weight: bold;
}
.main-img,
.sec-img {
    height: 350px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
}
/*  */
.sidebar-blog {
    border: 1px solid var(--primary);
    background-color: #fff;
}

.sidebar-blog .title {
    color: var(--secondary);
}

.info-blog {
    font-family: cursive;
}
.sidebar-img {
    height: 100px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
}
.blogs p {
    text-align: justify;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}
.lastestNews .title h2 {
    font-size: 2.2rem;
    color: var(--primary2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lastestNews .title h2 span {
    /* -webkit-line-clamp: 1;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical; */
    /* overflow: hidden;
    border-right: 3px solid;
    width: 0px;
    animation: typewriter 5s steps(10) infinite  alternate,
        blink 2s steps(10) infinite ; */
}
@keyframes typewriter {
    0% {
        width: 0px;
    }

    100% {
        width: 240px;
    }
}

@keyframes blink {
    0% {
        border-right-color: #2e394be8;
    }

    100% {
        border-right-color: transparent;
    }
}

.lastestNews .news .new .head {
    color: var(--primary2);
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}
.lastestNews .news .new .read-more {
    color: #ffffff;
    background-color: var(--primary2);
    transition: 0.7s;
    float: left;
}
.lastestNews .news .new p {
    color: var(--secondary);
    text-align: justify;
    /* -webkit-line-clamp: 3; */
    /* display: -webkit-box; */
    /* overflow-y: clip; */
    /* -webkit-box-orient: vertical; */
}

.lastestNews .news .new .read-more:hover {
    color: var(--primary2);
    background-color: #ffffff;
    border: 1px solid var(--primary2);
}

.recent-posts {
    border-radius: 25px;
    background: #d8aa6b;
    background: linear-gradient(to top, #d8aa6b, #f7e2c5);
    height: 100vh;
}

.recent-posts .head {
    position: relative;
    color: #2e394b;
    width: fit-content;
}
.recent-posts .head::after {
    position: absolute;
    content: "";
    width: 90%;
    height: 2px;
    border-radius: 3px;
    background-color: #2e394b;
    left: 5px;
    bottom: -9px;
}
.recent-posts .head::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 1px;
    background-color: #2e394b;
    right: 0;
    bottom: -15px;
}
.recent-posts .des {
    max-width: 160px;
    color: #000;
}
.recent-posts .title {
    position: relative;
    color: #000;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}
.recent-posts .title::before {
    position: absolute;
    content: "";
    width: 80%;
    height: 2px;
    border-radius: 3px;
    background-color: #2e394b;
    left: 0;
    bottom: -2px;
}

.keywords .single-key {
    border: 1px solid #1e1d1d;
    color: #1e1d1d;
    border-radius: 3px;
    text-align: center;
    width: 100%;
    transition: 0.3s;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.keywords .single-key:hover {
    background-color: #cba86e;
    color: #fff;
    border-color: transparent;
}
@media (max-width: 567px) {
    .text-info {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 5px !important;
    }
    .text-info p {
        color: #000;
        font-weight: normal;
    }
    .text-box .info {
        flex-direction: column;
        align-items: start;
    }
    .text-box {
        width: 100%;
    }
}
img {
    color: #000;
}
.article-notes {
    height: 80px;
    overflow: hidden;
}
.contant-info .imge img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}
.contant-info .box {
    position: relative;
    padding-bottom: 1rem;
}
.contant-info .box::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    border-radius: 3px;
    background-color: #2e394b;
    right: 0;
    bottom: -2px;
}
