.datis-blog-card.style-1 {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 32px;
    overflow: hidden;
    min-height: 412px;
    width: 49%;
}


/* main image – no filters */
.datis-blog-card.style-1 .datis-blog-card-image {
    width: 100%;
    background-size: cover;
    background-position: center center;
    height: 412px;
}



/* top-right meta pills */
.datis-blog-card.style-1 .datis-blog-card-meta {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.datis-blog-card.style-1 .datis-blog-card-meta-pill {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 12px;
    gap: 6px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 1000px;
    box-sizing: border-box;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-align: right;
    color: var(--datis-secondary-color);
}

.datis-blog-card.style-1 .datis-blog-card-meta-pill .datis-blog-card-meta-label {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-align: right;
    color: var(--datis-secondary-color);
}

.datis-blog-card.style-1 .datis-blog-card-meta-pill .datis-blog-card-meta-icon {
    width: 18px;
    height: 18px;
}

/* bottom white bar over image */
.datis-blog-card.style-1 .datis-blog-card-footer {
    position: absolute;
    left: auto;
    right: auto;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    flex-direction: row-reverse;
    width: 92%;
    height: 90px;
    box-sizing: border-box;
    inset-inline: 16px;
}

/* big arrow (SVG 52x52) */
.datis-blog-card.style-1 .datis-blog-card-footer-arrow {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms;
}


.datis-blog-card.style-1:hover .datis-blog-card-footer-arrow {
    transform: rotate(-45deg);
}

/* text inside white bar */
.datis-blog-card.style-1 .datis-blog-card-footer-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.datis-blog-card.style-1 .datis-blog-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--datis-secondary-color);
    font-weight: 400;
    width: 300px;
    line-height: 32px;
}

.datis-blog-card.style-1 .datis-blog-widget-feature-subtitle {
    font-size: 13px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.datis-blog-card.style-2 {
    width: 32%;
    transition: all 300ms;
}


.datis-blog-card.style-2 {
    position: relative;
    z-index: 1;
}

.datis-blog-card.style-2 .wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 13px;
    border: 1px solid rgba(10, 38, 71, 0.1);
    border-radius: 24px;
    background: #fff;
    transition: all 300ms;
}


.datis-blog-card.style-2 .blog-thumbnail {
    padding: 0;
    width: 100%;
    height: 149px;
}

.datis-blog-card.style-2 .blog-thumbnail img {
    height: 149px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.datis-blog-card.style-2 .meta {
    width: 100%;
    box-sizing: border-box;
}

.datis-blog-card.style-2 .meta .categories .cat a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    gap: 8px;
    background: rgba(10, 38, 71, 0.04);
    border-radius: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 44px;
    text-align: center;
    color: var(--datis-body-text-color);
    height: 27px;
}

.datis-blog-card.style-2 .meta .comments {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    gap: 6px;
    height: 28px;
    border: 1px solid #0A2647;
    border-radius: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    text-align: right;
    color: #0A2647;
}


.datis-blog-card.style-2 .meta .comments .comments-icon {
    width: 16px;
    height: 16px;
}


.datis-blog-card.style-2 .blog-title a {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 40px;
    text-align: right;
    color: var(--datis-body-text-color);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 250px;
}

.datis-blog-card.style-2 .blog-excerpt {
    width: 100%;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 27px;
    text-align: right;
    color: rgba(10, 38, 71, 0.64);
}

.datis-blog-card.style-2::before {

    content: '';
    box-sizing: border-box;
    position: absolute;
    width: 90%;
    height: 50%;
    right: -2px;
    bottom: -2px;
    border-radius: 24px;
    background: var(--datis-primary-color);
    z-index: -1;
    isolation: isolate;
    transform: skew(1.5deg) rotate(0.4deg) translate(-10px, -10px);
    transition: all 300ms;
}

.datis-blog-card.style-2:hover::before {
    transform: skew(1.5deg) rotate(0.4deg) translate(0px, 0px);

}

.datis-blog-card.style-4 {
    width: 100%;
    height: auto;
    border-radius: 24px;
    padding: 16px;
    gap: 16px;
    background: rgba(9, 6, 37, 0.03);
}

.datis-blog-card.style-4 .blog-thumbnail {
    display: block;
    width: 68px;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
}

.datis-blog-card.style-4 .blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.datis-blog-card.style-4 .post-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.datis-blog-card.style-4 .post-meta * {

    font-weight: 400;
    font-size: 14px;
    /* line-height: 36px; */
    text-align: right;
    color: rgba(9, 6, 37, 0.5);


}

.datis-blog-card.style-4 .post-meta .comments-icon {
    width: 20px;
    height: 20px;
}


.datis-blog-card.style-4 .content-wrapper {
    max-width: 70%;
}

.datis-blog-card.style-4 .blog-title a {
    color: rgba(9, 6, 37, 1);
    font-weight: 600;
    font-size: 14px;
    line-height: 30px;
    text-align: right;


}


/* SINGLE BLOG */

.blog-single .blog-wrapper .blog-content {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 24px;
}

.blog-single .blog-wrapper .blog-content .blog-title {

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
    gap: 8px;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 36px;
    text-align: right;
    color: var(--datis-body-text-color);
}

.blog-single .blog-wrapper .blog-content .the-post-thumbnail {
    width: 100%;
    height: 475px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin-top: 36px;
}

.blog-single .blog-wrapper .blog-content .the-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single .blog-wrapper .blog-content .post-meta {
    background: #FFFFFF;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    margin-top: 24px;
    padding: 24px 36px;
}

.blog-single .blog-wrapper .blog-content .post-meta .meta-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.blog-single .blog-wrapper .blog-content .post-meta .meta-item img {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--datis-primary-color);
    border-radius: 1000px;
}

.blog-single .blog-wrapper .blog-content .post-meta .meta-item span {
    font-weight: 400;
    font-size: 16px;
    text-align: right;
}

.blog-single .blog-wrapper .blog-content .the-content {
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
    margin-top: 24px;
}

.blog-single .blog-wrapper .blog-content .post-tags,
.blog-single .blog-wrapper .blog-content .post-cat {

    font-weight: 400;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: right;
    color: rgba(34, 36, 43, 0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;

}

.blog-single .blog-wrapper .blog-content .post-tags span,
.blog-single .blog-wrapper .blog-content .post-cat a {
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: right;
    color: rgba(34, 36, 43, 0.7);
    transition: all 300ms;
}

.blog-single .blog-wrapper .blog-content .post-cat a:hover {
    color: var(--datis-primary-color);
}

.blog-single .blog-wrapper .blog-content .post-cat {
    margin-top: 24px;
}

.blog-single .blog-wrapper .blog-content .separator {
    background: rgba(34, 36, 43, 0.1);
    width: 100%;
    height: 1px;
    margin: 8px 0;
}

.blog-single .blog-wrapper .sidebar {
    padding-right: 20px;
}

.blog-single .blog-wrapper .sidebar .sidebar-title {
    font-weight: 400;
    font-size: 28px;
    line-height: 44px;
    text-align: right;
    color: rgba(9, 6, 37, 0.5);
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 3px;
}

.blog-single .blog-wrapper .sidebar .sidebar-title span {
    font-weight: 700;
    font-size: 28px;
    line-height: 44px;
    text-align: right;
    color: var(--datis-primary-color);
}

.blog-single .blog-wrapper .sidebar .datis-related-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.blog-single .project-comments {
    box-sizing: border-box;
}

.blog-single .heading p {
    font-size: 22px;
    font-weight: 700;
    line-height: 36px;
    text-align: right;
    color: var(--datis-body-text-color);
}

.blog-single .heading span {
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    text-align: right;
    color: rgba(10, 38, 71, 0.64);
}

.architecture-demo .blog-single .heading span {
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-color: transparent;
    font-size: 32px;
    font-weight: 600;
    font-style: italic;
    line-height: 32px;
    letter-spacing: 0.6px;
    background-image: linear-gradient(180deg, #09062514 0%, #09062500 65%);
    margin-bottom: 0px;
}

.architecture-demo .blog-single .heading p {
    font-size: 28px;
    font-weight: 400;
    color: #09062580;
    margin-top: -15px;
}


.business-demo .blog-url {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 20px 8px 8px;
    gap: 16px;
    height: 56px;
    background: var(--datis-secondary-color);
    border-radius: 16px;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;

    color: var(--datis-body-text-color);
    transition: all 300ms;
    outline: none;
    border: none;
}

.business-demo .blog-url:hover {
    color: #F6FAFE;
    background: var(--datis-partially-color);

}

.business-demo .blog-url svg path {
    transition: all 300ms;
}

.business-demo .blog-url:hover svg .path {
    fill: var(--datis-secondary-color);
}

.business-demo .blog-url:hover svg .arrow {
    stroke: var(--datis-partially-color);
}


.datis-blog-card.style-3 {
    position: relative;
    width: 32%;
    height: 250px;
    border-radius: 24px;
    font-family: inherit;
    background: #cdcdcd;
    margin-bottom: 75px;
}

/* لینک روی کل کارت */
.datis-blog-card.style-3 .card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}

/* عکس */
.datis-blog-card.style-3 .card-media {
    position: absolute;
    inset: 0;
}

.datis-blog-card.style-3 .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    border-radius: 24px;
}

.datis-blog-card.style-3:hover .card-image {
    filter: grayscale(0%);
}

/* تگ‌های بالای تصویر */
.datis-blog-card.style-3 .card-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    /* در تصویر سمت چپ است */
    right: auto;
    display: flex;
    gap: 10px;
    z-index: 3;
    flex-direction: row-reverse;
}

.datis-blog-card.style-3 .card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.datis-blog-card.style-3 .tag-primary {
    background: var(--datis-secondary-color);
    color: #fff;
}

.datis-blog-card.style-3 .tag-light {
    background: rgba(255, 255, 255, 1);
    color: var(--datis-secondary-color);
}

.datis-blog-card.style-3 .tag-icon {
    display: inline-flex;
    color: var(--datis-secondary-color);
    transform: translateY(1px);
}

/* باکس پایین */
.datis-blog-card.style-3 .card-body {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -27%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    position: absolute;
    width: 95%;
    height: auto;
    background: #FFFFFF;
    border-radius: 20px;
    inset-inline: 8px;
    justify-content: space-between;
    min-height: 150px;

}

.datis-blog-card.style-3 .card-title {

    font-weight: 500;
    font-size: 16px;
    line-height: 36px;
    text-align: right;
    color: var(--datis-body-text-color);


}

.datis-blog-card.style-3 .card-divider {
    /* Line 6 */

    width: 100%;
    height: 1px;
    background: rgba(11, 61, 145, 0.12);

}

/* فوتر با فلش سمت چپ و متن قرمز وسط/راست */
.datis-blog-card.style-3 .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    flex-direction: row-reverse;
}

.datis-blog-card.style-3 .card-more {
    color: var(--datis-secondary-color);
    font-weight: 400;
    font-size: 14px;
    text-align: right;
}

.datis-blog-card.style-3 .card-arrow {
    color: var(--datis-secondary-color);
    display: inline-flex;
}

/* hover */
.datis-blog-card.style-3:hover .card-body {
    transform: translateY(-2px);
    transition: .18s ease;
}

.datis-blog-card.style-3 .card-body {
    transition: .18s ease;
}




.blog-single .heading p {
    font-size: 22px;
    font-weight: 700;
    line-height: 36px;
    text-align: right;
    color: var(--datis-body-text-color);
}

.blog-single .heading span {
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    text-align: right;
    color: rgba(10, 38, 71, 0.64);
}

.industry-demo .blog-single .heading p {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    text-align: right;
    color: var(--datis-primary-color);

}

.industry-demo .blog-single .heading p .accent-text {
    font-weight: 800;
    font-size: 24px;
    line-height: 34px;
    text-align: right;
    color: var(--datis-secondary-color);
    position: relative;
    z-index: 0;
}


.industry-demo .blog-single .heading p .accent-text::before {
    content: '';
    display: block;
    position: absolute;
    left: -7px;
    width: 47px;
    height: 37px;
    background: var(--datis-secondary-color);
    opacity: 0.1;
    top: -3px;
    border-radius: 12px 0 0 12px;


}

.industry-demo .blog-single .heading span {

    font-weight: 300;
    font-size: 24px;
    line-height: 34px;
    text-align: right;
    color: rgba(11, 61, 145, 0.1);


}

.blog-single .datis-blog-card.style-1 .datis-blog-card-footer-arrow {
    display: none;
}

.blog-single .datis-blog-card.style-1 .datis-blog-card-title {
    width: auto;
}

.blog-comments .datis-testimonial-card.style-1 {
    height: auto;
}

@media screen and (max-width : 768px) {
    .datis-blog-card.style-1 {
        width: 100%;
    }

    .datis-blog-card.style-1 .datis-blog-card-title {
        width: 220px;
    }

    .datis-blog-card.style-1 .datis-blog-card-footer {
        padding: 16px;
    }

    .blog-single .blog-wrapper .sidebar {
        padding-right: 0px;
    }

    .blog-single .blog-wrapper .blog-content .post-meta .meta-item {
        justify-content: flex-start;
        gap: 8px;
    }

    .blog-single .blog-wrapper .blog-content .post-meta>svg {
        opacity: 0;
    }

    .blog-single .blog-wrapper .blog-content .post-meta .meta-item span {
        font-weight: 300;
    }

    .blog-single .blog-wrapper .blog-content .post-meta .meta-item.reading-time,
    .blog-single .blog-wrapper .blog-content .post-meta .meta-item.views,
    .blog-single .blog-wrapper .blog-content .post-meta .meta-item.date {
        margin-right: 7px;
        font-weight: 300;
        line-height: 27px;
        align-items: flex-start;
    }

    .blog-single .datis-blog-card.style-3 {
        width: 100%;
    }

    .datis-blog-loop .datis-blog-card.style-2,
    .blog-single .datis-blog-card.style-2,
    .datis-blog-loop .datis-blog-card.style-3,
    .blog-single .datis-blog-card.style-3 {
        width: 100%;
        max-width: 305px;
    }
    
    .blog-single .blog-wrapper .blog-content .the-post-thumbnail {

    height: auto;
     
    }


}