/*
 ASEMANEEHA PHASE 414
 Scoped visual refinements.
 Home banner and martyr guidance only.
*/

/* ========================================
   1. HOME BANNER TOP DECORATION
======================================== */

.asem-home-responsive-223
.swiper img[src="/images/home/banner/top-center.png"] {
    margin-bottom: 0 !important;
    top: 0 !important;
    transform: translate(-50%, -100%) !important;
}

/* ========================================
   2. HOME TITLE - MOBILE
======================================== */

@media (max-width: 640px) {

    .asem-home-responsive-223
    .asem-home-title-223 {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 auto !important;
        padding: 0 8px !important;

        font-size: clamp(19px, 5.2vw, 25px) !important;
        font-weight: 700 !important;
        line-height: 1.7 !important;

        letter-spacing: 0 !important;
        white-space: normal !important;

        overflow-wrap: normal !important;
        word-break: normal !important;

        text-align: center !important;
        box-sizing: border-box !important;
    }

    .asem-home-responsive-223
    .flex:has(> .asem-home-title-223) {

        width: 100% !important;
        max-width: 100% !important;

        min-width: 0 !important;
        flex-wrap: wrap !important;

        justify-content: center !important;
        align-items: center !important;

        gap: 0 !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .asem-home-responsive-223
    .flex:has(> .asem-home-title-223)
    > span:not(.asem-home-title-223) {
        display: none !important;
    }
}

/* ========================================
   3. MARTYR GUIDANCE - MINIMAL DESIGN
======================================== */

body:has(a[href^="/martyr/"])
p[dir="rtl"].font-vazirBold.mt-10 {
    box-sizing: border-box;
}

/*
 Target the exact guidance paragraph
 through its known existing structure.
*/

div.mx-auto.max-w-\[400px\]
> p[dir="rtl"].font-vazirBold {

    display: block !important;

    width: 100% !important;

    margin-top: 24px !important;
    margin-bottom: 12px !important;

    padding: 20px 22px !important;

    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-right: 3px solid #c6a46a !important;

    border-radius: 14px !important;

    background: rgba(255, 255, 255, 0.94) !important;

    color: #334155 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;

    line-height: 2.15 !important;
    text-align: justify !important;

    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.045) !important;

    overflow-wrap: break-word !important;
}

/* Mobile guidance */

@media (max-width: 640px) {

    div.mx-auto.max-w-\[400px\]
    > p[dir="rtl"].font-vazirBold {

        margin-top: 18px !important;
        margin-bottom: 10px !important;

        padding: 15px 16px !important;

        border-radius: 12px !important;

        font-size: 14px !important;
        font-weight: 500 !important;

        line-height: 2.05 !important;

        text-align: right !important;
    }
}