/* ==================================================
   HOME FAQ
================================================== */

.home-faq {

    width: 100%;
    padding: 0px 20px;
    background: #e9e9e9;
    margin-top: 0;
    padding-top: 100px;

}

/* ==================================================
   WRAPPER
================================================== */
.home-faq-wrapper {

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    position: relative;

    overflow: hidden;

    /* บนมน ล่างเหลี่ยม */
    border-radius: 30px 30px 30px 30px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);

}

.home-faq-wrapper::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(rgba(255, 255, 255, .30),
            rgba(255, 255, 255, .30)),
        url("../images/patong-paragon-gun-shooting-range-reception-counter.jpg") center center / cover no-repeat;

    z-index: 0;

}

.home-faq-overlay {

    position: relative;

    z-index: 1;

    padding: 60px;

}

/* ==================================================
   OVERLAY
================================================== */

.home-faq-overlay {

    padding: 30px;

}

/* ==================================================
   TITLE
================================================== */

.home-faq-title {

    margin: 0 0 35px;

    color: #000000;

    font-size: 40px;

    font-weight: 800;

    line-height: 1;
    margin-left: 30px;

}

/* ==================================================
   LIST
================================================== */

.home-faq-list {

    width: 100%;
    max-width: 1120px;

    margin-left: 90px;

}

/* ==================================================
   ITEM
================================================== */

.home-faq-item {

    margin-bottom: 18px;

}

.home-faq-item:last-child {

    margin-bottom: 0;

}

/* ==================================================
   QUESTION
================================================== */

.home-faq-question {

    width: 85%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 15px 28px;

    border: none;

    outline: none;

    cursor: pointer;

    text-align: left;

    background: #ffffff;

    border-radius: 18px;

    font-size: 18px;

    font-weight: 500;

    color: #111111;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);

}

.home-faq-question:hover {

    background: #ffffff;

}

.home-faq-question span:first-child {

    flex: 1;

    line-height: 1.6;

}

/* ==================================================
   ICON
================================================== */

.faq-icon {

    width: 20px;

    height: 20px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #f2f2f2;

    color: #111111;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

}

/* ==================================================
   ANSWER
================================================== */

.home-faq-answer {
    width: 85%;

    display: none;

    margin-top: 13px;

    padding: 15px 28px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);

}

.home-faq-answer p {

    margin: 0;

    /* color:#666666; */

    font-size: 16px;

    line-height: 1.8;

}

/* ==================================================
   ACTIVE
================================================== */

.home-faq-item.active .home-faq-answer {

    display: block;

}

.home-faq-item.active .faq-icon {

    background: #C92327;

    color: #ffffff;

}

/* ==================================================
   HOME FAQ
================================================== */

.home-faq {

    width: 100%;
    padding: 0px 20px;
    background: #e9e9e9;
    margin-top: 0;
    padding-top: 100px;

}

/* ==================================================
   WRAPPER
================================================== */
.home-faq-wrapper {

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    position: relative;

    overflow: hidden;

    /* บนมน ล่างเหลี่ยม */
    border-radius: 30px 30px 30px 30px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);

}

.home-faq-wrapper::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(rgba(255, 255, 255, .30),
            rgba(255, 255, 255, .30)),
        url("../images/patong-paragon-gun-shooting-range-reception-counter.jpg") center center / cover no-repeat;

    z-index: 0;

}

.home-faq-overlay {

    position: relative;

    z-index: 1;

    padding: 60px;

}

/* ==================================================
   OVERLAY
================================================== */

.home-faq-overlay {

    padding: 30px;

}

/* ==================================================
   TITLE
================================================== */

.home-faq-title {

    margin: 0 0 35px;

    color: #000000;

    font-size: 40px;

    font-weight: 800;

    line-height: 1;
    margin-left: 30px;

}

/* ==================================================
   LIST
================================================== */

.home-faq-list {

    width: 100%;
    max-width: 1120px;

    margin-left: 90px;

}

/* ==================================================
   ITEM
================================================== */

.home-faq-item {

    margin-bottom: 18px;

}

.home-faq-item:last-child {

    margin-bottom: 0;

}

/* ==================================================
   QUESTION
================================================== */

.home-faq-question {

    width: 85%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 15px 28px;

    border: none;

    outline: none;

    cursor: pointer;

    text-align: left;

    background: #ffffff;

    border-radius: 18px;

    font-size: 18px;

    font-weight: 500;

    color: #111111;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);

}

.home-faq-question:hover {

    background: #ffffff;

}

.home-faq-question span:first-child {

    flex: 1;

    line-height: 1.6;

}

/* ==================================================
   ICON
================================================== */

.faq-icon {

    width: 20px;

    height: 20px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #f2f2f2;

    color: #111111;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

}

/* ==================================================
   ANSWER
================================================== */

.home-faq-answer {
    width: 85%;

    display: none;

    margin-top: 13px;

    padding: 15px 28px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);

}

.home-faq-answer p {

    margin: 0;

    /* color:#666666; */

    font-size: 16px;

    line-height: 1.8;

}

/* ==================================================
   ACTIVE
================================================== */

.home-faq-item.active .home-faq-answer {

    display: block;

}

.home-faq-item.active .faq-icon {

    background: #C92327;

    color: #ffffff;

}

/* ==================================================
   NOTEBOOK
================================================== */

@media (min-width:1024px) and (max-width:1365px) {

    .home-faq {

        padding: 90px 30px 0;
    }

    .home-faq-wrapper {

        max-width: 920px;
    }

    .home-faq-overlay {

        padding: 35px;
    }

    .home-faq-title {

        margin-left: 10px;

        font-size: 36px;
    }

    .home-faq-list {

        margin-left: 30px;
    }

    .home-faq-question,
    .home-faq-answer {

        width: 95%;
    }

}

/* ==================================================
   TABLET
================================================== */

@media (min-width:768px) and (max-width:1023px) {

    .home-faq {

        padding: 80px 25px 0;
    }

    .home-faq-wrapper {

        border-radius: 24px;
    }

    .home-faq-overlay {

        padding: 30px;
    }

    .home-faq-title {

        margin: 0 0 28px;

        text-align: center;

        font-size: 34px;
    }

    .home-faq-list {

        margin: 0;
    }

    .home-faq-question,
    .home-faq-answer {

        width: 100%;
    }

    .home-faq-question {

        padding: 16px 22px;

        font-size: 17px;
    }

    .home-faq-answer {

        padding: 16px 22px;
    }

}

/* ==================================================
   MOBILE
================================================== */

@media (max-width:767px) {

    .home-faq {

        padding: 60px 18px 0;
    }

    .home-faq-wrapper {

        border-radius: 20px;
    }

    .home-faq-overlay {

        padding: 22px 18px;
    }

    .home-faq-title {

        margin: 0 0 24px;

        margin-left: 0;

        text-align: center;

        font-size: 28px;

        line-height: 1.2;
    }

    .home-faq-list {

        margin: 0;
    }

    .home-faq-question,
    .home-faq-answer {

        width: 100%;
    }

    .home-faq-question {

        padding: 15px 18px;

        font-size: 15px;

        gap: 12px;
    }

    .home-faq-answer {

        padding: 15px 18px;
    }

    .home-faq-answer p {

        font-size: 14px;

        line-height: 1.7;
    }

    .faq-icon {

        width: 18px;
        height: 18px;

        font-size: 12px;
    }

}