h1.entry-title{
    font-size: 2rem;
    font-weight: 900;
}

#questionnaire-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.question {
    margin-bottom: 20px;
}

.question .question-title {
    padding-bottom: 0.5rem;
}

.question img {
    float: left;
    margin-right: 0.8rem;
    width: 3.3rem;
}

.question h3 {
    display: inline-block;
    vertical-align: top;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    padding-top: 1rem; /* Adjust as needed to align with the image */
}

.question input[type=number]{
    font-size: 1.2rem !important;
    width: calc(100% - 40px);
}

.question div {
    margin-bottom: 10px;
}

button#next-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size:1.2rem;
}

button#next-button:hover {
    background-color: #005177;
}

body.page-id-1922 {
    background: radial-gradient(70.71% 70.71% at 50% 50%, #076DD5 30%, #0944C9 75%);
}
body.page-id-1922 header.page-header { display: none; }

#loading-animation {
    padding: 2rem;
}

#final-results {
    padding: 2rem;
    display: none;
}

#final-results .price-range {
    font-size: 1.6rem;
    margin: 1rem;
    padding: 1rem;
}

.kakao-share {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-top: 20px;
}

.kakao-share img {
    margin-right: 10px;
}

.kakao-share-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.results-main-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.results-image-container {
    width: 100%;
    height: 320px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.results-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.results-image {
    width: 379px;
    height: 320px;
}

.results-text-container {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.results-numbers {
    position: relative;
}

.results-number {
    text-align: center;
    color: #FFEA00;
    font-size: 54px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 84px;
}

.results-won {
    text-align: center;
    color: white;
    font-size: 54px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 84px;
}

.results-number:first-of-type {
    left: 373.32px;
    top: -0.25px;
}

.results-number:last-of-type {
    left: 364.17px;
    top: 83.75px;
}

.results-won {
    left: 815.32px;
    top: 83.75px;
}

.results-tilde {
    text-align: center;
    color: white;
    font-size: 54px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 84px;
}

.results-title, .results-subtitle {
    text-align: center;
    color: white;
    font-family: Pretendard;
}

.results-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 56px;
    margin: 10px 0;
}

.results-subtitle {
    font-size: 26px;
    font-weight: 400;
    line-height: 36.4px;
    margin: 20px 0;
}

.results-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 120px;
    letter-spacing: -0.05em;
}

.results-button {
    padding: 21px 35px;
    background: white;
    box-shadow: 0px 2px 0px 1px rgba(15, 16, 30, 0.60);
    border-radius: 50px;
    border: 1px solid #C3C6CE;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12.72px;
    font-size: 30px;
    font-family: Pretendard;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
}
.results-share-container .results-button {
    font-size: 22px;
    padding: 10px 30px;
}

.results-button.special {
    background: #383C42;
    color: white;
    border: 0;
    justify-content: center;
}

.results-arrow {
    color: #3F54D4;
    font-family: Font Awesome 5 Free;
    font-weight: 900;
    line-height: 30px;
}

.results-summary {
    text-align: center;
    color: white;
    font-size: 40px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 24px;
}

.results-details {
    background: white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.results-detail-header, .results-detail {
    display: flex;
    width: 100%;
}


.results-detail-header {
    border-bottom: 1px solid #EDF2F6;
}

.results-detail {
    border-bottom: 1px solid #EDF2F6;
}

.results-detail:last-child {
    border-bottom: none;
}

.results-detail-question, .results-detail-answer {
    flex: 1;
    padding: 15.2px 24px;
    color: #333333;
    font-size: 18px;
    font-family: Pretendard;
    font-weight: 700;
    line-height: 28.8px;
}

.results-detail-question {
    border-right: 1px solid #EDF2F6;
}

.results-detail-answer {
    color: #555555;
    font-size: 20px;
    font-family: Pretendard;
    font-weight: 400;
    line-height: 30px;
}
.results-share-container {
    display: flex;
    justify-content: flex-end;
}

.answer {dispaly: flex;}
.answer-text {font-size: 20px; font-weight: 700 !important;}

@media screen and (max-width: 992px){

    h1.entry-title{
        font-size: 2rem;
        font-weight: 900;
    }
    #questionnaire-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background-color: #F9F9F9;
    }
    .question {
        margin-bottom: 20px;
    }
    .question .question-title {
        padding-bottom: 0.5rem;
    }
    .question img {
        float: left;
        margin-right: 0.8rem;
        width: 3.3rem;
    }
    .question h3 {
        display: inline-block;
        vertical-align: top;
        font-size: 1.4rem;
        font-weight: 700;
        margin: 0;
        padding-top: 1rem; /* Adjust as needed to align with the image */
    }
    .question input[type=number]{
        font-size: 1.2rem !important;
    }
    .question div {
        margin-bottom: 10px;
    }
    button#next-button {
        display: block;
        width: 100%;
        padding: 10px;
        background-color: #0073AA;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size:1.2rem;
    }
    button#next-button:hover {
        background-color: #005177;
    }
    body.page-id-1922 {
        background: radial-gradient(70.71% 70.71% at 50% 50%, #076DD5 30%, #0944C9 75%);
    }
    body.page-id-1922 header.page-header { display: none; }
    #loading-animation {
        padding: 2rem;
    }
    #final-results {
        /* padding: 2rem; */
        display: none;
    }
    #final-results .price-range {
        font-size: 1.6rem;
        margin: 1rem;
        padding: 1rem;
    }
    .kakao-share {
        display: flex;
        align-items: center;
        justify-content: left;
        margin-top: 20px;
    }
    .kakao-share img {
        margin-right: 10px;
    }
    .kakao-share-text {
        font-size: 1.2rem;
        font-weight: 500;
    }
    .results-main-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .results-image-container {
        width: 100%;
        height: 320px;
        padding: 0 20px;
        display: flex;
        justify-content: center;
    }
    .results-image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .results-image {
        width: 359px;
        height: 260px;
    }
    .results-text-container {
        width: 100%;
        padding: 10px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .results-numbers {
        position: relative;
    }
    .results-number {
        text-align: center;
        color: #FFEA00;
        font-size: 30px;
        font-family: Pretendard;
        font-weight: 700;
        line-height: 84px;
    }
    .results-won {
        text-align: center;
        color: white;
        font-size: 30px;
        font-family: Pretendard;
        font-weight: 700;
        line-height: 84px;
    }
    .results-number:first-of-type {
        left: 373.32px;
        top: -0.25px;
    }
    .results-number:last-of-type {
        left: 364.17px;
        top: 83.75px;
    }
    .results-won {
        left: 815.32px;
        top: 83.75px;
    }
    .results-tilde {
        text-align: center;
        color: white;
        font-size: 30px;
        font-family: Pretendard;
        font-weight: 700;
        line-height: 84px;
    }
    .results-title, .results-subtitle {
        text-align: center;
        color: white;
        font-family: Pretendard;
    }
    .results-title {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.2em;
        margin: 10px 0;
    }
    .results-subtitle {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5em;
        margin: 20px 0;
    }
    .results-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 120px;
        flex-direction: column;
    }
    .results-button {
        padding: 10px 10px;
        background: white;
        box-shadow: 0px 2px 0px 1px rgba(15, 16, 30, 0.60);
        border-radius: 30px;
        border: 1px solid #C3C6CE;
        display: flex;
        align-items: center;
        gap: 12.72px;
        font-size: 16px;
        font-family: Pretendard;
        font-weight: 600;
        color: #333333;
        cursor: pointer;
        justify-content: center;
    }
    .results-button.special {
        background: #383C42;
        color: white;
        border: 0;
        justify-content: center;
    }
    .results-arrow {
        color: #3F54D4;
        font-family: Font Awesome 5 Free;
        font-weight: 900;
        line-height: 30px;
    }
    .results-summary {
        text-align: center;
        color: white;
        font-size: 32px;
        font-family: Pretendard;
        font-weight: 700;
        line-height: 1.2em;
        margin-bottom: 24px;
    }
    .results-details {
        background: white;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .results-detail-header, .results-detail {
        display: flex;
        width: 100%;
    }
    .results-detail-header {
        border-bottom: 1px solid #EDF2F6;
    }
    .results-detail {
        border-bottom: 1px solid #EDF2F6;
    }
    .results-detail:last-child {
        border-bottom: none;
    }
    .results-detail-question, .results-detail-answer {
        flex: 1;
        padding: 12.2px 12px;
        color: #333333;
        font-size: 14px;
        font-family: Pretendard;
        font-weight: 700;
        line-height: 28.8px;
    }
    .results-detail-question {
        border-right: 1px solid #EDF2F6;
    }
    .results-detail-answer {
        color: #555555;
        font-size: 14px;
        font-family: Pretendard;
        font-weight: 400;
        line-height: 30px;
    }
}


/** Modal */

#share-modal .modal-title {
    font-size: 2.4rem;
    text-align: center;
    margin-top: 1rem;
}

#share-modal .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-direction: column;
    margin: 2rem;
}

#share-modal .modal-buttons .modal-button {
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 30px;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12.72px;
    font-size: 1.5rem;
    font-family: Pretendard;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
}

#share-modal .modal-buttons .modal-button.kakaotalk-share {
    background: rgb(255, 234, 53);
}

#share-modal .modal-buttons .modal-button.facebook-share {
    background: rgb(57, 104, 191);
    color: white;
}

#share-modal .modal-buttons .modal-button.link-share {
    background: rgb(226, 229, 232);
}

/* custom */
#share-modal {position: fixed;}
#share-modal .content .close_btn {font-size: 30px; color: grey; position: absolute; top: 8px; right: 20px; cursor: pointer; z-index: 2;}