.blog-body {
    overflow-x: hidden;
    background: #fbf9fc;
    color: #241d28;
}

.blog-body main {
    font-family: peyda-regular;
}

body.ltr.blog-body main {
    font-family: Syne, sans-serif;
}

body.ltr .blog-hero-inner,
body.ltr .blog-hero-copy,
body.ltr .blog-intro p,
body.ltr .blog-filters,
body.ltr .blog-grid {
    direction: ltr;
}

body.ltr .blog-hero-inner {
    flex-direction: row-reverse;
}

body.ltr .blog-hero-copy,
body.ltr .blog-intro p,
body.ltr .blog-card-body {
    text-align: left;
}

body.ltr .blog-intro p {
    margin-right: auto;
    margin-left: 0;
}

body.ltr .blog-list-head {
    justify-content: flex-start;
}

body.ltr .blog-card-media > span {
    right: auto;
    left: 20px;
}

@media (min-width: 1400px) {
    .blog-body .container {
        max-width: 1400px;
    }
}

.blog-hero {
    position: relative;
    min-height: 590px;
    background:
        linear-gradient(rgba(43, 17, 65, 0.76), rgba(43, 17, 65, 0.76)),
        url("../image/Blog/hero-background.jpg") center 58% / cover no-repeat;
}

.blog-hero-inner {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    direction: ltr;
}

.blog-hero-media {
    position: relative;
    top: 105px;
    width: min(45%, 520px);
}

.blog-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1.48 / 1;
    border-radius: 30px;
    object-fit: cover;
}

.blog-hero-copy {
    width: min(48%, 570px);
    padding-bottom: 72px;
    direction: rtl;
    color: #fff;
    text-align: right;
}

.blog-hero-copy p {
    margin: 0 0 15px;
    color: #f7931e;
    font-family: peyda-bold;
    font-size: 20px;
}

.blog-hero-copy h1 {
    margin: 0;
    font-family: peyda-bold;
    font-size: 50px;
    line-height: 1.5;
}

.blog-intro {
    min-height: 220px;
    padding: 50px 0;
    background: #f3edf8;
}

.blog-intro p {
    width: min(100%, 520px);
    direction: rtl;
    margin: 0 0 0 auto;
    color: #302735;
    font-family: peyda-medium;
    line-height: 2;
    text-align: right;
    font-size: 18px ;
}

.blog-main {
    min-height: 700px;
    padding: 70px 0 120px;
    background: #fff;
}

.blog-filters {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    direction: rtl;
}

.blog-filters button {
    min-width: 115px;
    border: 0;
    border-radius: 16px;
    padding: 12px 22px;
    background: #f3edf8;
    color: #28202c;
    font-family: peyda-medium;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.blog-filters button:hover,
.blog-filters button.is-active {
    background: #662d91;
    color: #fff;
}

.blog-filters button:active {
    transform: scale(0.97);
}

.blog-list-head {
    display: flex;
    justify-content: flex-end;
    margin-top: 60px;
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 20px;
    border-radius: 999px;
    background: #d6c2e2;
    color: #662d91;
    font-family: peyda-bold;
    font-size: 14px;
}

.blog-pill span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f7931e;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 30px;
    margin-top: 40px;
    direction: rtl;
}

.blog-card {
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background: #f3edf8;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card.is-hidden {
    display: none;
}

.blog-card-media {
    position: relative;
    height: 245px;
    overflow: hidden;
}

.blog-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card-media > span {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 17px;
    border-radius: 999px;
    background: #f7931e;
    color: #fff;
    font-family: peyda-bold;
    font-size: 13px;
}

.blog-card-body {
    padding: 25px 27px 22px;
    text-align: right;
}

.blog-card h2 {
    display: -webkit-box;
    min-height: 68px;
    margin: 0;
    overflow: hidden;
    color: #19141c;
    font-family: peyda-bold;
    font-size: 20px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.blog-card p {
    display: -webkit-box;
    min-height: 94px;
    margin: 15px 0 0;
    overflow: hidden;
    color: #675e6c;
    font-size: 14px;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 20px;
    color: #76697d;
    font-size: 13px;
}

.blog-card-meta svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #662d91;
    stroke-width: 1.8;
}

@media (hover: hover) {
    .blog-card:hover {
        box-shadow: 0 18px 40px rgba(61, 30, 81, 0.16);
        transform: translateY(-7px);
    }

    .blog-card:hover .blog-card-media img {
        transform: scale(1.045);
    }
}

@media (max-width: 1199px) {
    .blog-grid {
        gap: 28px 22px;
    }

    .blog-card-media {
        height: 215px;
    }

    .blog-card-body {
        padding: 22px;
    }

    .blog-card h2 {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .blog-body [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }

    .blog-hero {
        min-height: 0;
        padding: 145px 0 55px;
    }

    .blog-hero-inner {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        flex-direction: column-reverse;
        align-items: center;
        gap: 38px;
    }

    body.ltr .blog-hero-inner {
        flex-direction: column-reverse;
    }

    .blog-hero-media,
    .blog-hero-copy {
        width: min(100%, 600px);
    }

    .blog-hero-media {
        top: 20px;
    }

    .blog-hero-copy {
        padding: 0;
        text-align: center;
    }

    .blog-hero-copy h1 {
        font-size: 43px;
    }

    .blog-intro {
        min-height: 0;
    }

    .blog-intro p {
        margin: auto;
        text-align: center;
    }

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

@media (max-width: 767px) {
    .blog-main {
        padding: 60px 0 80px;
    }

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

    .blog-filters button {
        width: 100%;
        min-width: 0;
    }

    .blog-list-head {
        margin-top: 45px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
    }

    .blog-card-media {
        height: 270px;
    }

    .blog-card h2,
    .blog-card p {
        min-height: 0;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        padding: 125px 0 42px;
    }

    .blog-hero-inner {
        gap: 28px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .blog-hero-copy p {
        font-size: 15px;
    }

    .blog-hero-copy h1 {
        font-size: 32px;
    }

    .blog-hero-media img {
        border-radius: 22px;
    }

    .blog-intro {
        padding: 30px 18px;
    }

    .blog-intro p {
        font-size: 14px;
    }

    .blog-card-media {
        height: 220px;
    }

    .blog-card {
        border-radius: 22px;
    }

    .blog-card-body {
        padding: 21px 20px;
    }
}
