/* ===== Base ===== */
.view-heading {
    --vh-gap: 12px; /* فاصله‌ی بج تا متن */
    --vh-label-opacity: .55; /* تیرگی لیبل انگلیسی */
    --vh-title-w: 800; /* وزن تیتر */
    --vh-desc-opacity: .80;

    display: flex;
    align-items: center;
    gap: var(--vh-gap);
}

.view-heading--pos-start {
    flex-direction: row;
}

.view-heading--pos-end {
    flex-direction: row-reverse;
}

/* بج سمت راست (حالت RTL) */

.view-heading__content {
    display: flex;
    flex-direction: column;
}

.view-heading__top {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
}

.view-heading__label {
    font-size: .9rem;
    line-height: 1.2;
}

.view-heading__title {
    margin: 0;
    line-height: 1.15;
    font-weight: var(--vh-title-w);
}

.view-heading__desc {
    margin: .5rem 0 0;
}

.view-heading__badge {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
}

.view-heading__badge-icon {
    font-size: 1.15rem;
    color: #fff
}

.view-heading__badge-img {
    /*width: 58%;*/
    /*height: 58%;*/
    object-fit: contain;
    border-radius: 6px
}

/* ===== Variants (مطابق تصاویر) ===== */

/* استایل 1 – Highlights
   - عنوان برجسته
   - لیبل کم‌رنگ کنار عنوان
   - بج با هاله‌ی ملایم */
.view-heading--style-1 {
    --vh-title-w: 900;
}

.view-heading--style-1 .view-heading__title {
    font-size: 2rem;
}

.view-heading--style-1 .view-heading__badge-icon {
    font-size: 1.05rem
}


.view-heading--style-2 .view-heading__title {
    font-size: 2rem;
    font-weight: 900;
}

.view-heading--style-2 .view-heading__desc {
    font-size: .95rem;
}

.view-heading--style-2 .view-heading__badge {
    width: 50px;
    height: 50px;
}

.view-heading--style-2 .view-heading__badge-icon {
    font-size: 1rem
}

/* استایل 3 – Hashtags
   - همان چینش استایل 1 ولی با حلقه‌ی خارجی واضح‌تر و آیکن پرچم
   - اندازه‌ی بج کمی بزرگ‌تر */
.view-heading--style-3 .view-heading__badge {
    width: 56px;
    height: 56px;
}


.view-heading--style-3 .view-heading__top {
    flex-direction: column-reverse;
}

.view-heading--style-1 .view-heading__top,
.view-heading--style-2 .view-heading__top {
    align-items: center;
}


@media screen and (max-width: 768px) {
    .view-heading--style-2 .view-heading__top {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .view-heading--style-2.view-heading--pos-start{
        flex-direction: column;
    }

    .view-heading--style-2 .view-heading__desc{
        text-align: center;
        line-height: 26px;
    }
}