/* Recipe card مخصوص Magazine */

.magazine-page .recipe-cart-magazine {
    text-align: right!important;
}

.magazine-page h3.recipe-cart-title {
    font-size: 1.2rem !important;
    text-align: right!important;
    margin: 1.5rem 0;
}

.magazine-page .recipe-cart-magazine .product-cart-thumbnail {
    display: block;
    margin-bottom: 14px;
}

.magazine-page .recipe-cart-magazine .product-cart-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* عنوان */
.magazine-page .recipe-cart-magazine .recipe-cart-title {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;
    text-align: center;
}

.magazine-page .recipe-cart-magazine .recipe-cart-title a {
    color: inherit;
    text-decoration: none;
}

/* خلاصه */
.magazine-page .recipe-cart-magazine .recipe-cart-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 2.1;
    text-align: justify;
}

/* اگر جایی از استایل قدیمی فلش یا لینک اضافه دارد، مخفی شود */
.magazine-page .recipe-cart-magazine .product-cart-link,
.magazine-page .recipe-cart-magazine .inner-icon,
.magazine-page .recipe-cart-magazine .readmore-section {
    display: none !important;
}

/* Magazine Article Card */

.magazine-page .post-cart-magazine {
    text-align: center;
    margin-bottom: 35px;
}


.magazine-page .post-cart-magazine .post-cart-thumbnail {
    display: block;
    margin-bottom: 15px;
}


.magazine-page .post-cart-magazine .post-cart-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}


/* عنوان */

.magazine-page .post-cart-magazine .post-cart-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;
}


.magazine-page .post-cart-magazine .post-cart-title a {
    color: inherit;
    text-decoration: none;
}
 .recipe-cart.recipe-cart-magazine:hover ,  .post-cart.post-cart-magazine:hover ,
 .post-cart.post-cart-magazine:hover a.post-cart-thumbnail img {
       scale:1 !important;
}
.post-cart.post-cart-magazine {
    background: transparent !important;
    border-radius: 10px;
    overflow: hidden;
    height: auto!important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 3rem;
}

h3.post-cart-title {
    text-align: right;
}
/* تاریخ */

.magazine-page .post-cart-magazine .post-cart-date {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.8;
     text-align: right;
}


/* خلاصه */

.magazine-page .post-cart-magazine .post-cart-excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 2.1;
    text-align: right;
}


/* دکمه مشاهده همه مقالات و دستور پخت‌ها */
.magazine-page .archive-more {
    margin-top: 35px;
    margin-bottom: 25px;
    text-align: center;
}

.magazine-page .archive-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 12px 28px;

    color: #ffffff;
    background-color: #b88b45;
    border: 1px solid #b88b45;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.magazine-page .archive-more a:hover {
    color: #b88b45;
    background-color: transparent;
    text-decoration: none;
    transform: translateY(-2px);
}

.magazine-page .archive-more a:focus-visible {
    outline: 2px solid #b88b45;
    outline-offset: 3px;
}

/* عنوان آرشیو دستور پخت */
.recipe-archive .recipe-archive-header {
    background: transparent !important;
    padding: 0;
    margin: 30px 0;
    border: 0;
}

.recipe-archive .recipe-archive-header .archive-title {
    margin: 0;
    padding: 0;
    color: #1c1c1c;
    background: transparent;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.8;
    text-align: right;
}

@media (max-width: 575px) {
    .recipe-archive .recipe-archive-header {
        margin: 20px 0;
    }

    .recipe-archive .recipe-archive-header .archive-title {
        font-size: 22px;
    }
}