/* Start custom CSS for html, class: .elementor-element-7d5db9e */.behnis-blog {
    padding: 48px 20px;
    direction: rtl;
}

.blog-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.blog-heading {
    max-width: 820px;
}

.section-title {
    margin: 12px 0 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.6;
    color: #ffffff;
}

.section-subtitle {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 2;
    color: var(--appemon-text-soft);
}

.blog-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 16px;
    text-decoration: none;
    color: #07171d !important;
    font-size: 14.5px;
    font-weight: 800;
    background: var(--appemon-primary);
    box-shadow: 0 12px 28px rgba(35, 224, 199, 0.18);
    white-space: nowrap;
    transition: all 0.35s ease;
}

.blog-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(35, 224, 199, 0.25);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.blog-card {
    overflow: hidden;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: all 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(35, 224, 199, 0.24);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), 0 0 22px rgba(35, 224, 199, 0.08);
}

.blog-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    text-decoration: none;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.04);
}

.blog-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 23, 29, 0) 45%, rgba(7, 23, 29, 0.6) 100%);
}

.blog-category {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 23, 29, 0.62);
    border: 1px solid rgba(35, 224, 199, 0.18);
    color: var(--appemon-primary);
    font-size: 12.5px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-content {
    padding: 22px 20px 20px;
}

.blog-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.8;
}

.blog-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.blog-excerpt {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 2;
    color: #c9d3d8;
    text-align: justify;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    background: rgba(35, 224, 199, 0.10);
    border: 1px solid rgba(35, 224, 199, 0.22);
    transition: all 0.35s ease;
}

.blog-link:hover {
    background: rgba(35, 224, 199, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(35, 224, 199, 0.10);
}

@media (max-width: 1024px) {
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .behnis-blog {
        padding: 36px 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
        line-height: 1.95;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blog-content {
        padding: 20px 16px 18px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-all-btn {
        width: 100%;
    }
}/* End custom CSS */