/*---------------------
  Form BLog
-----------------------*/

.from-blog {
    padding-top: 50px;
    padding-bottom: 50px;
}

.from-blog .blog__item {
    cursor: pointer;
}

.button-submit {
    padding: 0.35em 0.7em !important;
}

.from-blog__title {
    margin-bottom: 70px;
}

/*---------------------
  Blog
-----------------------*/

.blog__item {
    margin-bottom: 19px;
}

.blog__item__pic img {
    min-width: 100%;
}

.blog__item__text {
    padding-top: 25px;
}

.blog__item__text ul {
    margin-bottom: 15px;
}

.blog__item__text ul li {
    font-size: calc(13px + 0.3vw);
    color: #6f6d6d;
    list-style: none;
    display: inline-block;
    margin-right: 15px;
    padding-top: 0;
}

.blog__item__text ul li:last-child {
    margin-right: 0;
}

.blog__item__text h5 {
    margin-bottom: 12px;
    height: calc(var(--line-height) * 5em);
    line-height: var(--line-height);
    --line-height: 5.1px;
    line-height: 1.3rem;
    min-height: 42px;
    max-height: 42px;
}

.blog__item__text h5 a {
    font-size: calc(13px + 0.3vw);
    color: #1c1c1c;
    font-weight: 700;
}
.blog__item__text h3 a {
    font-size: 20px;
    color: #1c1c1c;
    font-weight: 700;
}

.blog__item__text p {
    margin-bottom: 25px;
    padding: 9px;
    overflow: hidden;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
    height: calc(var(--line-height) * 5em);
    line-height: var(--line-height);
    --line-height: 28.1px;
    line-height: -1rem;
    min-height: 95px;
    max-height: 95px;
}

.blog__item__text .blog__btn {
    display: inline-block;
    font-size: 14px;
    color: #1c1c1c;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #b2b2b2;
    padding: 14px 20px 12px;
    border-radius: 25px;
}

.blog__item__text .blog__btn span {
    position: relative;
    top: 1px;
    margin-left: 5px;
}

.blog__pagination {
    padding-top: 5px;
    position: relative;
}

.blog__pagination:before {
    position: absolute;
    left: 0;
    top: -29px;
    height: 1px;
    width: 100%;
    background: #000000;
    opacity: 0.1;
    content: "";
}

.img_blog {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.section-title h3 {
    font-size: calc(18px + 0.4vw);
    font-weight: bolder;
}
.section-title h2 {
    font-size: calc(18px + 0.4vw);
    font-weight: bolder;
}
/* .section-title h3:after
{
    position: absolute;
    left: 0;
    bottom: -15px;
    top: 62px;
    right: 0;
    height: 3px;
    width: 92%;
    background: #e9e9e9;
    content: "";
    margin: 0 auto;
} */
.btn-detail {
    background-color: #525252;
    color: #ffffff;
    width: 100%;
    border-radius: 10px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
.cursor-pointer {
    cursor: pointer;
}
.caption {
    font-size: calc(12px + 0.2vw);
    color: #1c1c1c;
    font-weight: bold;
    background: #ffffff;
    border-radius: 4px;
    position: absolute;
    bottom: 5%;
    z-index: 10;
    right: 9%;
    left: 10%;
    padding: 3%;
    width: 100%;
    text-align: center;
    width: 79%;
}

.image-category {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
    box-shadow: 1px 1px 1px #d9d9d9;
    border-radius: 6px;
}
.image-category img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.card {
    margin: 4px;
    text-align: center;
    margin-inline: auto;
    background-color: #fff;
    box-shadow: 0 0 6px rgb(122 122 122 / 24%);
    padding: 0;
}
.card img {
    max-width: 100%;
    /* clip-path: polygon(0 0, 0 100%, 100% 85%, 100% 0%); */
}
.description {
    padding: 0 1em 1em 1em;
}
button {
    font-size: 1em;
    padding: 0.5em 1em;
    color: #fff;

    border: none;
}

.card:nth-child(odd) {
    color: #fff;
}

.mix > .card:nth-child(even) button {
    font-size: 1em;
    padding: 0.5em 1em;
    color: #ffffff;
    background-color: #fff;
    border: 1px solid #818181;
    border-radius: 17px;
    background: #606060;
}

.mix > .card:nth-child(odd) button {
    font-size: 1em;
    padding: 0.5em 1em;
    color: #000000;
    background-color: #fff;
    border: 1px solid #818181;
    border-radius: 17px;
    background: #ffffff;
}

.card:nth-child(odd) > div > p {
    color: #6e6e6e;
    font-size: calc(13px + 0.2vw);
}
.description > h2 {
    font-size: calc(17px + 0.1vw);
    font-weight: bold;
    color: #2d2d2d;
}
.more {
    font-family: "IranYekan";
}
@media only screen and (max-width: 479px) {
    .logo_top {
        margin-top: 1px;
    }
}

.position-relative {
    height: 68%;
}
.featured {
    padding-top: 10px;
    padding-bottom: 8px;
}
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #5f9394;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 100;
}

.side-menu a {
    padding: 8px 17px 9px calc(5px + 2vw);
    text-decoration: none;
    font-size: calc(11px + 0.3vw);
    color: white;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #292424;
}

.side-menu a i {
    color: white;
    font-size: calc(13px + 0.2vw);
    margin: 0 8px;
}

.side-menu hr {
    border: 0;
    border-top: 1px solid #555555; /* خط جداکننده تیره و باریک */
    margin: 10px 0;
}
