﻿.article__InternalLink,
.article__InternalLink:visited {
    color: var(--mc1);
    text-decoration: underline;
}

/* ARTICLE LIST */

.opinionBox textarea {
    min-height: 250px;
}


/* Blog List */

.blogListSlider,
.blogRelated .related {
    margin: 0 -8px;
}

.articleListOut {
    padding: 8px;
}

.articleList__Card {
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    height: 200px;
}

.articleList__Card__ImgBox {
    width: 49%;
    height: 100%;
}

.articleList__Card__ImgBox a,
.articleList__Card__ImgBox img {
    display: block;
    width: 100%;
    height: 100%;
}

.articleList__Card__ImgBox img {
    filter: grayscale(1);
    transition: var(--transition);
    object-fit: cover;
}

.articleList__Card:hover .articleList__Card__ImgBox img {
    filter: grayscale(0);
}

.articleList__Card__Content {
    width: 51%;
    padding: 1.25rem 1rem;
    background: #FFFFFF;
    height: 100%;
}

.articleList__Card h2 {
    height: calc(3 * 30px);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
    color: #000000;
}

.dateCreate {
    font-size: 12px;
    line-height: 16px;
    font-weight: 300;
    color: #6D6E71;
    margin-bottom: 10px;
}

.blogListSlider {
    margin-top: 2rem;
}


/* SERIVCE LIST */

.home_Services .mainArticleWrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.serviceList__Card a {
    position: relative;
    display: flex;
}

.serviceList__Card img {
    border-radius: 1rem;
}

.serviceList__Card__Ttl {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    padding: 0 1.5rem;
}

.serviceList__Card__Ttl p {
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: #fff;
    text-align: center;
}

body:has(.blogList) .aboutUs_Banner {
    margin-bottom: 4rem;
}

.blogList .mainArticleWrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
    row-gap: 1.5rem;
}

@media (max-width: 991px) {

    .articleList__Card__Content {
        padding: 1rem;
    }

    .articleList__Card h2 {
        height: calc(3 * 24px);
        display: -webkit-box;
        max-width: 100%;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: var(--transition);
        font-size: 16px;
        line-height: 24px;
        font-weight: 300;
        color: #000000;
    }

    body:has(.blogList) .aboutUs_Banner {
        margin-bottom: 40px;
    }

    .blogList .mainArticleWrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0;
        row-gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .home_Services .mainArticleWrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .serviceList__Card__Ttl {
        bottom: 1.25rem;
        padding: 0 1rem;
    }

    .serviceList__Card__Ttl p {
        font-size: 16px;
        line-height: 20px;
    }
}

/* Detail */

.blogDetail__Image {
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: block;

}

.blogDetail article img {
    width: auto !important;
    height: auto !important;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    display: block;

}

.blogDetail article ol {
    padding-right: 1rem;
}

.blogDetail article ol li {
    list-style: persian;
}

.blogDetail article ul {
    padding-right: 1rem;
}

.blogDetail article ul li {
    list-style: disc;
}

.blogDetail article h2 {
    margin-top: 1rem !important;
    margin-bottom: .5rem !important;
}

.blogDetail article h3,
.blogDetail article h4 {
    font-weight: bold;
    margin-top: 1rem !important;
    margin-bottom: .5rem !important;
}

.relatedTitle {
    margin: 2rem 0 2.5rem !important;
}

.getBlogTitle {
    width: fit-content;
    position: relative;
    color: var(--mc2);
}

.getBlogTitle::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(10px);
    width: 6rem;
    height: 2px;
    background: var(--mc1);
}

.dateCreate__Detail {
    position: relative;
    display: inline-block;
    color: var(--mc2);
    font-family: "IranYekan";
    padding-right: 1.5rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.blogLatest__Ttl .dateCreate__Detail {
    margin-bottom: 0;
}

.dateCreate__Detail::before {
    content: '';
    display: block;
    mask-image: url(../Images/calendar.svg);
    -webkit-mask-image: url(../Images/calendar.svg);
    mask-size: 1rem;
    -webkit-mask-size: 1rem;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: right;
    -webkit-mask-position: right;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: var(--mc2);
}

.blogDetail__TopicsBox_hide {
    display: none !important;
}

/* table style in detail */
.article_table_container {
    margin: 1rem auto;
    overflow-x: auto;
    border-color: var(--mc1);
}

.article_table {
    border-collapse: collapse;
    width: 100%;
}

.article_table td,
th {
    padding: 5px;
    text-align: center;
}

.article_table tr:nth-child(odd) {
    background-color: #c5aa7536;
}



/* Latest List*/

.blogLatest {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    transition: var(--transition);
    position: relative;
}

.blogLatest .fa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 6px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.blogLatest .fa::before {
    display: none;
}

.blogLatest .fa::after {
    content: "";
    display: block;
    top: 0;
    left: 0;
    background: url(../Images/arrow-left.svg) no-repeat center;
    width: .75rem;
    height: 1rem;
}

.blogLatest:hover .fa {
    opacity: 1;
    visibility: visible;
}

.blogLatest__Img {
    flex: 0 0 40%;
}

.blogLatest__Ttl {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 60%;
    background: #F5F5F5;
    padding: .75rem 1rem;
    border-left: 4px solid #183E57;
    transition: var(--transition);
    padding-left: 1.5rem;
}

.blogLatest:hover .blogLatest__Ttl {
    border-width: 1.5rem;
    border-color: var(--mc1);
    padding-left: 0.25rem;
}

.blogLatest__Ttl .ttl a {
    height: calc(2 * 1.5rem);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.blogLatest__Ttl .ttl {
    width: fit-content;
    position: relative;
    margin-bottom: 10px !important;
}

.blogLatest__Ttl .ttl::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(3px);
    width: 1rem;
    height: 2px;
    background: var(--mc1);
}

.blogLatest:not(:last-child) {
    margin-bottom: 1.25rem;
}

.blogLatest .imgBox img {
    width: 100%;
    height: 100%;
}

.serviceSidebar {
    position: relative;
    height: 100%;
    padding: 0 6px 12px;
}

.serviceSidebar__Ttl .ttl a {
    color: #fff !important;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    display: block;
    width: 100%;
    text-align: center;
}

.serviceSidebar__Ttl {
    position: absolute;
    bottom: 1.75rem;
    left: 0;
    z-index: 2;
    padding: 0 10px;
    width: 100%;
}

.serviceSidebar__Img {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
}

.serviceSidebar__Img img {
    width: 100%;
}

.serviceSidebar__Img::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 165px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    z-index: 1;
    pointer-events: none;
}

/* TOC */
.blogDetail__TopicsBox .About-Article {
    display: block;
    background: var(--mc1);
    padding: 12px 10px;
    color: #fff;
    border-top-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
    font-size: 16px;
}

.blogDetail__TopicsBox {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 60px;
}

ul#blogDetail__TopicsBox__List {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid var(--mc1);
    border-top: 0;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    list-style-type: none;
    margin: 0;
    height: 100%;
    align-items: flex-start;
}

#blogDetail__TopicsBox__List li {
    cursor: pointer;
    transition: 0.5s;
    width: 50%;
    position: relative;
    padding-left: 8px;
    padding-right: 24px;
    margin: 8px 0;
}

#blogDetail__TopicsBox__List li:hover {
    color: var(--mc1);
}

#blogDetail__TopicsBox__List li::before {
    content: '';
    display: block;
    background: var(--mc1);
    position: absolute;
    right: 8px;
    top: 7px;
    border-radius: 50%;
    width: 8px;
    height: 8px;

}

/* CALL US CARD */
.callUs__Card {
    position: relative;
    margin-top: 3rem;
}

.callUs__Card__Content {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 18px 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.callUs__Card__Img img {
    width: 100%;
    border-radius: 1rem;
    height: 160px;
    object-fit: cover;
}

.callUs__Card__Content h3 {
    font-size: 26px;
    line-height: 30px;
    font-weight: 300;
    color: #fff;
}

.callUs__Card__Content a {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    padding: 10px 2rem;
    border: 1px solid #fff;
    border-radius: 100px;
    width: max-content;
}


/* CALL TO ACION */

.CTAblog_wrapper {
    background: url(/Portals/0/Images/cta-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 30px;
    text-decoration: none !important;
}

.CTAblog_wrapper p {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    text-align: justify;
}

.blogLastest__Wrap .articleList__Card {
    height: 146px;
}

.blogLastest__Wrap .mainArticleWrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blogLastest__Wrap .articleList__Card h2 {
    height: calc(3 * 24px);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #000000;
}

.blogDetail_Banner {
    position: relative;
    margin-bottom: 1.5rem;
}

.blogDetail_Banner img {
    width: 100%;
}

.blogDetail_Banner__Content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 2rem 0;
}

.blogDetail_Banner__Content .container {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blogDetail_Banner__Content h1 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 300;
    color: #FFFFFF;
    padding-bottom: 1.5rem;
    width: 100%;
}

.blogDetail_Banner__Content p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #FFFFFF;
    width: 100%;
}

.cannibalization-box {
    border: 1px solid #D2D2D2;
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
}

.cannibalization-box:has(li) {
    display: block;
}

.cannibalization-box .About-Article {
    display: block;
    border-bottom: 1px solid #DEDEDE;
    padding: 0.75rem 1rem;
    font-size: 20px;
    line-height: 28px;
    font-weight: 300;
    color: #2D2D2D;
}

.cannibalization-box ul {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cannibalization-box li {
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #525252;
}

.cannibalization-box li:hover {
    color: #0B4EA2;
}

.blogDetail__Comment {
    display: block;
    border-top: 1px solid #525252;
    margin-top: 56px;
    padding-top: 2.5rem;
}

.blogDetail__Comment input,
.blogDetail__Comment textarea {
    height: 48px;
    display: flex;
    align-items: center;
    border: 1px solid #D0D0D0 !important;
    border-radius: 8px !important;
    background-color: transparent !important;
    transition: var(--transition);
    padding: 1rem !important;
    font-size: 14px;
    color: #737373;
    box-shadow: none !important;
}

.blogDetail__Comment input:focus,
.blogDetail__Comment textarea:focus {
    border: 1px solid #0B4EA2 !important;
}

.blogDetail__Comment input::placeholder,
.blogDetail__Comment textarea::placeholder {
    font-size: 14px;
    color: #737373;
}

.insertCommentBox {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.insertCommentBox .modern-label {
    background: #F8F8F8;
    color: #737373;
    top: 12px;
    right: 12px;
}

#btnCommentClient {
    padding: 14px 2.5rem !important;
    border-radius: 100px !important;
    background: linear-gradient(90deg, #0089D0 0%, #0B4EA2 100%) !important;
    border: 1px solid transparent !important;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition) !important;
}

#btnCommentClient:hover {
    background: #fff !important;
    border: 1px solid #0B4EA2 !important;
    color: #0B4EA2;
}

@media all and (min-width: 992px) {

    .insertCommentBox>*:nth-child(1),
    .insertCommentBox>*:nth-child(2) {
        width: 50%;
    }

    .insertCommentBox>*:nth-child(1) {
        padding-inline-end: 0.5rem;
    }

    .insertCommentBox>*:nth-child(2) {
        padding-inline-start: 0.5rem;
    }

}

@media all and (max-width: 767px) {

    .appendBlogRelatedMobile {
        margin-bottom: 90px;
    }

    .callUs__Card__Img img {
        width: 100%;
    }

    .CTAblog_wrapper p {
        font-size: 17px;
        margin-top: 1rem;
    }

    .CTAblog_wrapper {
        justify-content: center;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .servicesList .mainArticleWrapper {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 2rem;
        column-gap: .5rem;
    }

    .blogLastest__Wrap .mainArticleWrapper {
        display: flex;
        flex-wrap: wrap;
    }

    .blogLatest {
        flex: 0 0 46%;
        max-width: 46%;
        margin: 0 .5rem;
        max-height: 110px;
    }

}

@media (max-width:768px) {
    .servicesList .mainArticleWrapper {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 2rem;
        column-gap: 0;
    }

}

.homeBlog_Wrapper {
    margin-bottom: 4rem;
}

.homeBlog_Top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.homeBlog_Top h2,
.homeBlog_Top h3 {
    font-size: 64px;
    line-height: 64px;
    font-weight: 300;
    color: #000000;
}

.homeBlog .mainArticleWrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blogList__Card {
    border-radius: 1.5rem;
    background-color: #fff;
    padding: 1rem;
}

.blogList__Card__ImgBox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.blogList__Card__ImgBox img {
    width: 100%;
    border-radius: .5rem;
}

.blogList__Card__Content {
    margin-top: 1.5rem;
}

.blogList__Card__Content h2 {
    height: calc(3 * 24px);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 24px;
    font-weight: 300;
    line-height: 24px;
    color: #000000;
    padding-bottom: 12px;
}

.blogList__Card__Content p {
    height: calc(4 * 21px);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 300;
    line-height: 21px;
    color: #525252;
}

.blogDetail__Content img {
    display: block;
    margin: 1rem auto;
}

.blogDetail__Content table {
    margin: 1rem auto;
}

.blogDetail__Content p {
    margin-bottom: .5rem;
    font-size: 16px;
    line-height: 26px;
}

.blogDetail__Content ul li,
.blogDetail__Content ol li {
    font-size: 15px;
    line-height: 24px;
}

.blogDetail__Content h2,
.blogDetail__Content h3,
.blogDetail__Content h4,
.blogDetail__Content h5,
.blogDetail__Content h6 {
    padding: 1.25rem 0 .75rem;
}

.blogDetail__Content h2 *,
.blogDetail__Content h3 *,
.blogDetail__Content h4 *,
.blogDetail__Content h5 *,
.blogDetail__Content h6 * {
    font-weight: 500 !important;
}

.blogDetail__Content h2 {
    font-size: 28px;
    line-height: 32px;
}

.blogDetail__Content h3 {
    font-size: 24px;
    line-height: 28px;
}

.blogDetail__Content h4,
.blogDetail__Content h5 {
    font-size: 20px;
    line-height: 24px;
}

@media (max-width: 991px) {

    .blogDetail_Banner {
        height: 400px;
    }

    .blogDetail_Banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blogDetail_Banner__Content h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .blogDetail_Banner__Content p {
        font-size: 16px;
        line-height: 24px;
        font-weight: 300;
        color: #FFFFFF;
        width: 100%;
    }

    .articleList__Card {
        height: 125px;
    }

    .homeBlog_Top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .homeBlog_Top h2,
    .homeBlog_Top h3 {
        font-size: 32px;
        line-height: 36px;
    }

    .homeBlog {
        width: 100%;
        overflow-x: auto;
    }

    .homeBlog .mainArticleWrapper {
        display: flex;
        gap: 1.25rem;
    }

    .blogList__Card {
        min-width: 300px;
        padding: 1rem;
    }

    .blogList__Card__ImgBox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .blogList__Card__ImgBox img {
        width: 100%;
        border-radius: .5rem;
    }

    .blogList__Card__Content {
        margin-top: 1.5rem;
    }

    .blogList__Card__Content h2 {
        height: calc(3 * 24px);
        display: -webkit-box;
        max-width: 100%;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 24px;
        font-weight: 300;
        line-height: 24px;
        color: #000000;
        padding-bottom: 12px;
    }

    .blogList__Card__Content p {
        height: calc(4 * 21px);
        display: -webkit-box;
        max-width: 100%;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 16px;
        font-weight: 300;
        line-height: 21px;
        color: #525252;
    }

    .insertCommentBox .nameBox,
    .insertCommentBox .emailBox,
    .insertCommentBox .opinionBox {
        width: 100%;
    }

    .callUs__Card {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

}