:root {
    --a2z-home-section-gap: 80px;
}

html body .lms-hero-section2.mb-100px,
html body .a2z-explore-section-final.mb-100px,
html body .a2z-courses-section-final.mb-100px {
    margin-bottom: var(--a2z-home-section-gap) !important;
}

.lms-hero-section2 > .container > .row.mb-80px {
    margin-bottom: 0 !important;
}

html body .a2z-explore-section-final,
html body .a2z-courses-section-final,
.a2z-home-about,
[builder-block-file-name="faq_section_2"] .faq,
.a2z-home-faq {
    padding-top: 0 !important;
}

.a2z-home-about,
[builder-block-file-name="faq_section_2"] .faq,
.a2z-home-faq {
    padding-bottom: var(--a2z-home-section-gap) !important;
}

.a2z-home-about-panel {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "photo copy";
    align-items: center;
    gap: clamp(20px, 4vw, 52px);
    padding: clamp(20px, 4vw, 48px);
    border: 1px solid #e6ddf8;
    border-radius: clamp(16px, 3vw, 28px);
    background: linear-gradient(145deg, #f2ecff, #fcfbff 72%);
}

.a2z-home-about-image {
    grid-area: photo;
    align-self: start;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: clamp(10px, 2vw, 18px);
}

.a2z-home-about-panel::after {
    content: "";
    grid-area: photo;
    align-self: start;
    justify-self: right;
    z-index: 1;
    width: clamp(22px, 2vw, 26px);
    aspect-ratio: 1;
    margin-top: 14px;
    margin-right: 14px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #18234a url("../img/a2z-app-icon-192.png") center / contain no-repeat;
    pointer-events: none;
}

.a2z-home-about-text {
    grid-area: copy;
}

.a2z-home-about-text .a2z-course-title-final {
    text-align: start !important;
}

.a2z-home-about-panel .a2z-home-about-text .a2z-course-description-final {
    color: #000 !important;
}

.a2z-home-about-text p + p {
    margin-top: 12px;
}

@media (max-width: 767.98px) {
    :root {
        --a2z-home-section-gap: 60px;
    }

    .a2z-home-about-panel {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "photo";
        gap: 16px;
        padding-block: clamp(32px, 5vw, 40px);
    }

    .a2z-home-about-panel::after {
        width: 24px;
    }

    .a2z-home-about-text {
        display: contents;
    }

    .a2z-home-about-text .a2z-course-title-final {
        grid-area: heading;
        text-align: center !important;
    }

    .a2z-home-about-text p {
        margin-block: 0 !important;
    }

    [builder-block-file-name="faq_section_2"] .faq > .container > .row:nth-child(2) > .col-md-6.text-center {
        display: none !important;
    }

    [builder-block-file-name="faq_section_2"] .faq .efont {
        margin-top: 0 !important;
    }

    [builder-block-file-name="faq_section_2"] .faq .efont + p {
        margin: 10px 0 16px !important;
    }

    [builder-block-file-name="faq_section_2"] .faq-accrodion > a {
        margin-top: 16px !important;
    }

    [builder-block-file-name="faq_section_2"] .faq .accordion-header,
    .a2z-home-faq .accordion-header {
        margin-block: 0;
    }

    [builder-block-file-name="faq_section_2"] .faq-accrodion .accordion-button {
        padding-block: 14px;
    }

    .lms2-footer-section > .container {
        padding-inline: 20px;
    }

    .lms2-footer-section .ft2-padding {
        --bs-gutter-y: 28px;
        margin: 0;
        padding-block: 24px;
    }

    .lms2-footer-section .ft2-padding > * {
        padding-inline: 0;
    }

    .lms2-footer-section .ft2-padding > :first-child {
        margin-top: 0;
    }

    .lms2-footer-section .ft2-padding > :first-child > .row {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 28px;
    }

    .lms2-footer-section .lms2-footer-logo {
        min-height: 0 !important;
    }

    .lms2-footer-section .ft2-subscribe-wrap {
        padding: 18px;
    }

    .lms2-footer-section .ft2-short-des.mb-4 {
        margin-bottom: 0 !important;
    }

    .lms2-footer-section .ft2-social-group > li {
        margin-top: 12px;
    }

    .lms2-footer-section .ft2-bottom-content {
        padding-block: 20px;
    }
}
