/* ================================= */
/* ===== Base / Reset (minimal) ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

a {
    text-decoration: none;
    transition: 0.2s all ease-in-out;
    cursor: pointer;
    font: unset;
}

a:focus-visible {
    /* outline: 0px; */
    /* outline-color: transparent; */
    outline: 2px solid var(--clr-primary);
    outline-offset: 3px;
}

p {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

/* 
.skip-link:focus,
.skip-link:focus-visible {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline-start: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: white;
    color: var(--clr-secondary);
    border-radius: 0.5rem;
    z-index: 1000;
} */

/* =================== */
/* ===== Body ===== */
html {
    scroll-behavior: smooth;
    /* scroll-padding-top: 120px; */
}

body {
    color: var(--clr-body, black);
    background: var(--bg-body, white);
    font-size: var(--body-fs, 1rem);
    font-weight: 400;
    font-family: var(--body-ff, 'Arial'), sans-serif;
    position: relative;
}

/* ======================== */
/* ===== Variables ===== */
:root {
    --bg-body: #F6F5F3;
    --clr-body: #6F7D8E;
    --body-fs: 1rem;
    --body-ff: 'IBM Plex Sans Arabic';
    /* --body-ff: 'Alexandria'; */

    --container-width: min(1200px, 92vw);

    --clr-primary: #F5831F;
    --clr-dark-primary: #E06B10;
    --clr-light-primary: #F9A24B;
    --clr-secondary: #1A2636;
    --clr-secondary-1: #2C3E50;
    --clr-secondary-2: #1A3A4A;
    --clr-warning: #F0B042;
    --clr-success: #3A7D5C;
}

/* ======================== */
/* ===== Components ===== */
.maj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid;
    padding: 1rem;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 1rem;
    cursor: pointer;
    box-sizing: border-box;
}

.maj-btn.btn-lg {
    height: 74px;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    border-width: 3px;
}

.maj-btn.btn-primary {
    border-color: var(--clr-primary);
    background-color: var(--clr-primary);
    color: white;

}

.maj-btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.maj-btn:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

.maj-tag {
    display: inline-flex;
    border-radius: 40vw;
    padding: 5px 12px;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    border: 1px solid #47464E33;
    border-radius: 40vw;
    align-items: center;
    gap: 8px;
    background: #00364C;
    color: #F8FBFF;
}

.maj-tag.tag-sm {
    padding: 4px 7px;
    font-size: 8px;
    font-weight: 500;
    line-height: 10px;
}

.maj-tag.tag-primary {
    background: #F5831F2E;
    border-color: #F5831F66;
    color: white;
}

.maj-tag.tag-warning {
    background: #FAA52E;
    color: #3F2500;
}


/* ======================== */
/* ===== LAYOUT ===== */
/* =-=-= Containers =-=-= */
.container {
    width: var(--container-width);
    margin-inline: auto;
}

/* =-=-= Header =-=-= */
.maj-header {
    background: white;
    text-align: center;
    padding-block: 29px;
    box-shadow: 0px 1px 8px 0px #0000000D;
}

.header-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo a img {
    width: 103px;
    height: 39px;
    object-fit: cover;
}


.maj-header.header-main {
    background: #0F172B;
    padding-block: 25px;
}

.maj-header.header-main .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.maj-header.header-main .header-logo {
    img {
        height: 41px;
        width: auto;
    }
}

.maj-header.header-main .maj-tag.tag-primary {
    background: #EF8B321F;
    border-color: #EF8B3240;
    color: #EF8B32;
    line-height: 21px;
}

/* ======================== */
/* ===== General ===== */

/* ======================== */
/* ===== Sections ===== */

/* =-=-= Hero =-=-= */
.maj-hero {
    padding-block: 50px 50px;
    position: relative;
    isolation: isolate;
}

.maj-hero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../media/majlis/hero-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 -100px;
    opacity: 0.27;
    z-index: -1;
    top: 0;
}

.maj-hero:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0E131C;
    z-index: -2;
    top: 0;
}

.hero-wrapper {
    text-align: center;
    position: relative;
}

.hero-wrapper .maj-tag {
    margin-bottom: 52px;
    min-width: 220px;
    justify-content: center;
}

.hero-wrapper h1 {
    font-family: Alexandria;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: clamp(40px, 6vw, 72px);
    letter-spacing: -1.5px;
    text-align: center;
    color: white;
    margin-bottom: 24px;
}

.hero-wrapper p {
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
    color: #B5BCC4;
    text-align: center;
}

@media screen and (width <=700px) {
    .maj-hero:after {
        background-position: top center;
    }
}

/* =-=-= About =-=-= */
.maj-about {
    padding-block: 35px;
    background-color: white;
}

.maj-about p {
    font-size: 15px;
    font-weight: 400;
    line-height: 27px;
    text-align: center;
    color: #6F7D8E;
}

/* =-=-= Survey =-=-= */
.maj-survey {
    padding-block: 28px;
}

.maj-survey .survey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 664px;
    justify-self: center;
}

.survey-steps .step-card {
    padding: 18px;
    border-radius: 16px;
    background: white;
    box-shadow: 0px 8px 24px 0px #2C3E5012;
    max-width: 320px;
    margin-bottom: 40px;
}

.step-card h2 {
    font-family: 'Alexandria';
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #1A2636;
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6F7D8E;
    margin-bottom: 14px;
}

.step-card p {
    font-size: 11px;
    font-weight: 400;
    line-height: 20px;
    color: #6F7D8E;

    span {
        font-family: 'Alexandria';
        font-size: 28px;
        font-weight: 700;
        line-height: 34px;
        color: #F5831F;
        margin-inline-end: 4px;
    }
}

.survey-steps .step-card.next-step {
    background: #1A2636;
}

.step-card.next-step h2 {
    color: #F9A24B;
}

.step-card.next-step h3 {
    color: white;
}

@media screen and (width <=700px) {
    .maj-survey .survey-steps{
        grid-template-columns: 1fr;
        max-width: 100%;
        margin-bottom: 40px;
    }
    .survey-steps .step-card{
        max-width: 100%;
        margin-bottom: 0;
    }
}


.survey-form-wrapper {
    padding-block: 32px 16px;
    padding-inline: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 12px 40px 0px #2C3E5014;
}

/* =-=-= Featured =-=-= */
/* =-=-= Footer =-=-= */
.maj-footer {
    padding-block: 26px;
    background-color: #1A2636;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-wrapper>a {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #F5831F;
}

.footer-wrapper>p {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #B5BCC4;
}

@media screen and (max-width: 550px) {
    .footer-wrapper {
        flex-direction: column;
    }
}


/* ================================================ */
/* ===== NEW PAGE ===== */
/* =-=-= Survey Thankyou =-=-= */
.maj-survey-thankyou {
    min-height: calc(100svh - 169px);
    padding-block: 32px;
    text-align: center;
}

.survey-thankyou-wrapper {
    max-width: min(100%, 552px);
    margin-inline: auto;
    background: white;
    border-radius: 20px;
    text-align: start;
    padding: 36px 20px 20px;
}

.survey-thankyou-wrapper>.img-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 100%;
    background: #00B960;
    box-shadow: 0 0 0 11px#C7FFE3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-inline: auto;
}

.survey-thankyou-wrapper>.img-wrapper>img {
    height: 27px;
    width: auto;
}

.survey-thankyou-wrapper h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: Alexandria;
    font-size: 26px;
    font-weight: 700;
    line-height: 38px;
    text-align: center;
    color: #1A2636;
    margin-bottom: 14px;

    img {
        height: 30px;
        width: auto;
    }
}

.survey-thankyou-wrapper>p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6B7A8D;
    text-align: center;
    margin-bottom: 20px;

    &.fs-12 {
        font-size: 12px;
    }
}

.survey-thankyou-redirect {
    padding: 16px;
    border: 1px solid #F5831F33;
    border-radius: 16px;
    background: #FFF8F2;
    margin-bottom: 20px;
}

.survey-thankyou-redirect .redirect-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    h2 {
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
        color: #2C3E50;
    }

    p {
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
        color: #6B7A8D;
    }

    &:not(:last-child) {
        margin-bottom: 24px;
    }
}

.survey-thankyou-actions {
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid #E8ECF0;
}

.survey-thankyou-actions>* {
    width: 100%;
}

.survey-thankyou-actions>.maj-btn.btn-primary {
    font-family: 'Alexandria';
    padding-block: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
    box-shadow: 0px 4px 14px 0px #F5831F47;
    margin-bottom: 14px;
}

.survey-thankyou-actions>.maj-info-label {
    font-family: 'Alexandria';
    padding-block: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
    color: #E06B10;
    background: #FAF9F7;
    border-color: transparent;
}

.survey-thankyou-actions>p {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #6B7A8D;
    margin-bottom: 14px;
}

/* ================================================ */
/* ===== NEW PAGE ===== */
/* =-=-= Majlis Thankyou =-=-= */
.survey-thankyou-redirect>h3 {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #2C3E50;
    text-align: center;
}

.maj-place-info-list {
    margin-bottom: 16px;

    li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px;
        border-radius: 8px;
        background: #FAF9F7;

        &:not(:last-child) {
            margin-bottom: 8px;
        }

        .icon-wrapper {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 100%;
            background: #F5831F1A;
        }

        h2 {
            font-family: 'Alexandria';
            font-size: 12px;
            font-weight: 600;
            line-height: 20px;
            color: #2C3E50;
        }

        p {
            font-size: 12px;
            font-weight: 400;
            line-height: 20px;
            color: #6B7A8D;
        }
    }
}

.maj-btn.btn-back {
    border-color: #E8ECF0;
    background: #FAF9F7;
    font-family: 'Alexandria';
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    color: #2C3E50;
}





/* ================================================ */
/* ===== NEW PAGE ===== */
/* =-=-= Majlis MAIN =-=-= */

.maj-who .who-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    margin-bottom: 42px;
}

.maj-who .who-wrapper .who-img-wrapper {
    background: #E6E1DC4D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-end-end-radius: 200px;
    padding-block: 75px;
    padding-inline: 90px;
    position: relative;

}

.maj-who .who-wrapper .who-img-wrapper .img-container {
    position: relative;
    height: 550px;
    width: 412px;
    border-radius: 100px 100px 20px 20px;
    margin-inline: auto;
    overflow: clip;
    box-shadow: 30px 20px 0 0 #f08c3333;

    img {
        height: 584px;
        width: 100%;
        object-fit: cover;
        border-radius: 100px 100px 20px 20px;
        object-position: -85px;
    }
}

.maj-who .who-wrapper .who-img-wrapper .img-caption {
    position: absolute;
    bottom: 50px;
    inset-inline-start: 100px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    background: white;
    box-shadow: 0px 8px 10px -6px #0000001A, 0px 20px 25px -5px #0000001A;
    min-width: 131px;
    display: flex;
    flex-direction: column;
    align-items: center;

    h2 {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #EF8B32;
    }

    p {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
        color: #101828;
    }
}

.maj-who .who-content {
    max-width: 580px;
    padding-block: 35px;
}

.maj-who .who-content .maj-tag {
    background: linear-gradient(90deg, #FFF7ED 0%, #FFFBEB 100%);
    border-color: #FFD6A8;
    color: #CA3500;
    padding-block: 8px;
    margin-bottom: 24px;
}

.maj-who .who-content>h1 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: clamp(50px, 5vw, 75px);
    color: #101828;
    margin-bottom: 24px;
}

.maj-who .who-content>p {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #4A5565;
    margin-bottom: 16px;

    &:last-of-type {
        margin-bottom: 40px;
    }
}

.maj-who-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.maj-who-info li {
    padding: 24px;
    border: 1px solid;
    border-radius: 16px;
    min-width: 196px;

    h3 {
        font-size: 48px;
        font-weight: 700;
        line-height: 48px;
        color: #FF6900;
        margin-bottom: 8px;
    }

    p {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        color: #364153;
    }
}

.maj-who-info li:first-child {
    background: linear-gradient(135deg, #EFF6FF 0%, #ECFEFF 100%);
    border-color: #DBEAFE;
}

.maj-who-info li:last-child {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
    border-color: #FFEDD4;

}

.who-actions .maj-btn {
    font-family: 'Alexandria';
    padding-block: 16px;
    border-radius: 40vw;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    border: 1px solid #0F172B2E;
    background: #0F172B;
    color: #FFF7EF;
    min-width: 265px;
}

.maj-section-title {
    text-align: center;
    padding-block: 62px;
    padding-inline: 20px;
    background: #0F172B;

    h2 {
        font-size: 36px;
        font-weight: 700;
        line-height: 40px;
        color: white;
        margin-bottom: 16px;
        font-family: 'Alexandria';

        &.text-primary {
            color: #EF8B32;
        }
    }

    p {
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
        color: #D1D5DC;
    }
}

.maj-majlis-list {
    padding-block: 60px 78px;
}

.majlis-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.list-content .content-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.list-content .content-title .maj-tag {
    background: #FFEDD4;
    border-color: transparent;
    color: #CA3500;
    padding-block: 7px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
}

.list-content .content-title h2 {
    font-family: 'Alexandria';
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #99A1AF;
}

.list-content>h3 {
    font-family: 'Alexandria';
    font-size: clamp(35px, 5vw, 48px);
    font-weight: 700;
    line-height: clamp(35px, 5vw, 48px);
    color: #101828;
    margin-bottom: 24px;
}

.list-content>p {
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: #4A5565;
    margin-bottom: 30px;
}

.list-content>.maj-tag-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.list-content>.maj-tag-list .maj-tag {
    padding-block: 8px;
    background: #EFF6FF;
    border-color: #DBEAFE;
    color: #1447E6;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    min-width: 116px;
}

.list-content .maj-list-content-details {
    padding: 25px;
    border: 1px solid#E5E7EB;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}

.list-content .maj-list-content-details li {
    padding-inline-start: 20px;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #364153;

    &:not(:last-child) {
        margin-bottom: 12px;
    }
}

.list-content .maj-list-content-details li:before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 100%;
    top: 6px;
    inset-inline-start: 0;
}

.list-content>.maj-btn.btn-secondary {
    background: #101828;
    color: white;
    border-color: transparent;
    font-family: 'Alexandria';
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
    border-radius: 16px;
    width: 100%;
}

.list-img-wrapper {
    position: relative;
}

.list-img-wrapper .img-container {
    position: relative;
    overflow: clip;
    max-height: 700px;
    border-radius: 26px;

    img {
        width: 200%;
        object-fit: cover;
        object-position: 0 -70px;
        scale: 1.6;
    }
}

.list-img-wrapper .img-container:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(57, 85, 142, 0) 54.04%, #01050D 90.17%);
    z-index: 1;
}

.list-img-wrapper .img-number {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FF6900 0%, #FE9A00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 60px;
    color: white;
    font-family: 'Alexandria';
    top: -30px;
    inset-inline-start: 60px;
}

.list-img-wrapper .img-caption {
    position: absolute;
    bottom: 40px;
    inset-inline-start: 35px;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.list-img-wrapper .caption-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: white;
    margin-bottom: 10px;
}

.list-img-wrapper .caption-wrapper:first-child {
    grid-column: span 2;
}

.list-img-wrapper .caption-wrapper:last-child {
    justify-self: end;
}


.maj-majlis-list.second-majlis {
    padding-block: 90px;
    background: #F3FFFF;
}

.maj-majlis-list.second-majlis .list-img-wrapper .img-container img {
    height: 100%;
    object-fit: cover;
    object-position: -270px 0px;
    border-radius: 26px;
    scale: unset;
}

.maj-majlis-list.second-majlis .list-img-wrapper .img-container {
    height: 100%;
}

.maj-majlis-list.second-majlis .list-img-wrapper .img-number {
    inset-inline-start: unset;
    inset-inline-end: 50px;
}

.maj-faq-list {
    padding-block: 100px 90px;
}

.maj-faq-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 34px 24px;
}

.maj-faq-card {
    padding: 16px;
    border-radius: 24px;
    border: 1px solid #F3F4F6;
    box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
}

.maj-faq-card .faq-title {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;

    >span {
        width: 32px;
        height: 32px;
        background: #FE8C01;
        color: white;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        font-weight: 700;
        line-height: 20px;
        font-family: 'Alexandria';
    }

    h2 {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
        font-family: 'Alexandria';
        color: #0F172B;
    }
}

.maj-faq-card>p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #314158;

    >span {
        font-weight: 700;
    }
}


@media screen and (max-width:1200px) {
    .majlis-list-wrapper {
        grid-template-columns: 1fr;

    }

    .list-img-wrapper {
        grid-area: 1/1;
    }

    .list-img-wrapper .img-caption {
        width: calc(80% - 70px);
        inset-inline: 0;
        margin-inline: auto;
    }

    .list-img-wrapper .img-container {
        max-width: 80%;
        margin-inline: auto;
    }

    .maj-majlis-list.second-majlis .list-img-wrapper .img-container img {
        object-position: center;
    }

    .maj-who .who-wrapper {
        grid-template-columns: 1fr;
    }

    .maj-who .who-wrapper .who-img-wrapper {
        grid-area: 2 / 1;
    }

    .maj-who .who-wrapper .who-img-wrapper .img-caption {
        inset-inline: 0;
        margin-inline: auto;
        width: 131px;
    }

    .maj-who .who-content {
        padding-inline: 30px;
        justify-self: center;
        min-width: auto;
    }
}

@media screen and (max-width:610px) {
    .maj-who .who-wrapper .who-img-wrapper .img-container {
        width: 90%;
        margin-inline: auto;
    }

    .maj-who .who-wrapper .who-img-wrapper {
        padding-inline: 25px 0px;
        border-end-end-radius: 0;
    }

    .list-img-wrapper .img-caption {
        grid-template-columns: 1fr;
    }

    .list-img-wrapper .caption-wrapper:first-child {
        grid-column: unset;
    }

    .list-img-wrapper .caption-wrapper:last-child {
        justify-self: start;
    }

    .maj-majlis-list.second-majlis .list-img-wrapper .img-container {
        min-height: 520px;
    }
}


.maj-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.maj-modal.is-open {
    display: block;
}

.maj-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    transition: opacity .25s ease;
}

.maj-modal__dialog {
    position: relative;
    max-width: 640px;
    width: min(640px, 92vw);
    margin: 6vh auto 0;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

.maj-modal.is-open .maj-modal__backdrop {
    opacity: 1;
}

.maj-modal.is-open .maj-modal__dialog {
    transform: translateY(0);
    opacity: 1;
}

.maj-modal__close {
    position: absolute;
    top: 10px;
    inset-inline-end: 12px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.maj-modal__dialog h3 {
    margin-bottom: 30px;
}

.maj-modal__dialog .ff_submit_btn_wrapper {
    margin-bottom: 0;
}

.maj-modal__dialog .ff_submit_btn_wrapper .wpf_has_custom_css.ff-btn-submit {
    background: var(--clr-primary);
    padding-block: 12px;
    margin-top: 10px;
}