@media screen and (max-width: 850px) {
    .guarantee-wrapper {
        overflow: scroll;
        flex-wrap: wrap;
        justify-content: flex-start !important;
        padding-left: 8px;
    }

    span.side-news-content {
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
    }

    .main-news {
        max-height: 240px !important;
    }

    .side-news-content span {
        font-weight: 400;
        font-size: 12px;
        line-height: 18px;
        /* or 150% */
    }

    .side-news-content h5 {
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
    }

    .follow-me{
        bottom: 8px !important;
        right: 16px !important;
    }
    /* .laon-caculate-input{
        width: auto!important;
    } */
}

.custom-carousel {
    padding-left: 0px;
    padding-right: 0px;
}

.free_consult {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

.free_consult.container {
    max-width: 1000px;
    flex-direction: row;
    gap: 16px;
    padding: 24px;
}

.free_consult h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    display: flex;
    align-items: center;
    text-align: center;
}

.warning-img {
    width: 480px;
}

.personal-text {
    /* input */
    box-sizing: border-box;

    /* Auto layout */

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;

    width: 230px;
    height: 48px;

    /* background_grey */

    background: #F8F8F8;
    /* stroke */

    border: 1px solid #E1E1E1;
    border-radius: 4px;

    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

.assets {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
}

.assets-remark {
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    /* or 20px */

    display: flex;
    align-items: center;

    /* text_secondary */

    color: var(--text-secondary-color);
}

.assets-remark a {
    color: var(--primary-color);
    font-weight: 700;
}

.contact_info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding: 16px;
    gap: 24px;
}

.free-hot-line {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    /* identical to box height, or 150% */

    display: flex;
    align-items: center;

    /* salmon */

    color: #FF985C;
}

.line-qrcode {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    /* identical to box height, or 150% */

    display: flex;
    align-items: center;

    /* text_primary */

    color: var(--text-color-pri);
}

.loan-choices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    isolation: isolate;
    background: #FFF3E7;
    padding: 24px;
}

.guarantee.row {
    padding: 24px;
    background: url(/images/sixedbg.png) no-repeat;
    background-size: cover;
}

.guarantee.container {
    max-width: 1000px;
}

.guarantee h2 {
    color: var(--text-white-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
}

.guarantee .card {
    /* transparansy 100%*/
    background-color: #33333300;
    border-color: #33333300;
    width: 300px;
}

.card-img {
    align-items: center;
    display: flex;
    justify-content: center;
    max-width: 144px;
    margin: 0 auto;
}

.guarantee .card-body {
    color: var(--text-white-color);
}

.guarantee .card-body H5 {
    font-weight: 500;
    font-size: 20px;
    font-style: normal;
}

.guarantee .card-body P {
    font-weight: 400;
    font-size: 14px;
    font-style: normal;
}

.guarantee-card.card-body {
    padding: 16px 0 0 0;
}

.news.row {
    padding: 24px 0;
    background-color: var(--background-color);
}

.news h2 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    font-style: normal;
}

.main-news.card {
    margin-right: 24px;
    border-color: #33333300;
}

.main-news {
    display: block;
    max-width: 428px;
    height: 428px;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.news.container {
    max-width: 1000px;
}

.main-news-content {
    padding: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
    ;
}

.main-news-img {
    object-fit: cover;
    height: 100%;
}

.news-card {
    max-width: 548px;
    gap: 16px;
}

.d-flex.news-card.col {
    padding: 0;
}

.side-news-content h5 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    margin-bottom: 4px;
}

.side-news-content span {
    font-weight: 400;
    /* font-size: 18px; */
    line-height: 27px;
    font-style: normal;
    margin-bottom: 0;
    color: var(--text-secondary-color);
}

.read-more-btn {
    appearance: none;
    background-color: var(--primary-color);
    color: var(--text-white-color);
    border: none;
    border-radius: 4px;
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    padding: 2px 8px;
    cursor: pointer;
    align-items: center;
    gap: 4px;
}

.read-more-btn:hover {
    background-color: var(--button-color-hover);
}

.side-news-img {
    max-width: 200px;
    max-height: 132px;
    border-radius: 0.5rem;
    /* object-fit: contain; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.side-news-img img{
    object-fit: cover;
    width: -webkit-fill-available;
}

.caculater.row {
    background-color: var(--assets-color);
    padding: 24px 0;
}

.container.caculater {
    max-width: 1000px;
}

.caculater h3 {
    color: var(--text-white-color);
    font-weight: 700;
    line-height: 35px;
    font-style: normal;
}

.caculater p {
    color: var(--text-white-color);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    font-style: normal;
}

.footer-area {
    background-color: var(--primary-color);
    padding: 36px 0;
    color: var(--text-white-color);
}

.footer-area p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.footer.container {
    max-width: 1000px;
}

.logo-address {
    gap: 40px;
}

img.footer-logo {
    width: 50%;
}

.footer-logo {
    height: 120px;
}

.logo-name {
    font-family: var(--font-family-noto_serif_tc);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.qr-code {
    flex-direction: column;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
}

.loan-tabs {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    height: 39px;
    justify-content: center;
}

.custom-nav-ul {
    width: 100%;
    justify-content: center;
    gap: 16px;
    border-bottom: 0px !important;
}

.custom-nav.active {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 8px 12px;
    width: 28%;
    height: 39px;
    /* pink */
    background: #F3BE9F;
    border-radius: 8px 8px 0px 0px;
}

.custom-nav {
    box-sizing: border-box;
    /* Auto layout */

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    padding: 8px 12px;
    width: 28%;
    height: 39px;
    line-height: 100%;

    /* background_grey */
    background: #F8F8F8;
    /* stroke */
    border: 1px solid #E1E1E1;
    border-radius: 8px 8px 0px 0px;
}

.loan-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 4px;
    justify-content: center;
}

.loan-header {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* identical to box height, or 27px */

    display: flex;
    align-items: center;
    color: #F8F8F8;
}

.loan-mark {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* identical to box height, or 21px */

    display: flex;
    align-items: center;

    /* brand */

    color: #00545D !important;

}

.laon-caculate-input {
    box-sizing: border-box;

    /* Auto layout */

    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
    max-width: 400px;
    width: 100%;
    height: 48px;

    /* background_white */

    background: #FFFFFF;
    /* stroke */

    border: 1px solid #E1E1E1;
    border-radius: 4px;
}

.caculate-inputs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 16px;
    height: 48px;
}

.result-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
}

.period-interest {
    /* cell */
    box-sizing: border-box;

    /* Auto layout */

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;

    max-width: 560px;
    width: 100%;
    height: 62px;

    /* background_skin */

    background: #FFF3E7;
    /* pink */

    border: 1px solid #F3BE9F;
    border-radius: 8px;
}

.period-in-after {
    height: 60px;
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    /* identical to box height, or 150% */

    display: flex;
    align-items: center;

    /* text_primary */

    color: #333333;
}

.result-in-dollor {
    height: 60px;
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 46px;
    display: flex;
    align-items: center;
    text-align: right;

    /* brand */

    color: #00545D;
}

.clear-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
    width: 100%;
    max-width: 560px;
    height: 48px;
    border: none;

    /* brand */

    background: #00545D;
    border-radius: 4px;
}

.clear-button:hover {
    background-color: var(--button-color-hover);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loan-choice-remark {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    /* or 150% */

    display: flex;
    align-items: center;

    /* text_primary */

    color: #333333;
    text-align: start;
}

.loan-choice-remark-title {
    font-family: 'Noto Sans TC';
    font-style: normal;
    /* brand */
    color: #00545D;
    font-weight: bolder;
}

.loan-consult-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
    height: 48px;
    width: 100%;
    /* brand */
    background: var(--primary-color);
    border-radius: 4px;
}

.loan-choices h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    text-align: center;
}

.swiper-pagination {
    position: static !important;
}


.caculater input[type=text] {
    text-align: right;
}



.card.loan-form {
    border-radius: 8px;
    background-color: var(--input-background-color);
    max-width: 280px;
}

.card-body.loan-form {
    padding: 8px 16px 16px 16px;
}

.card-title {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 29px;
}

.loan-form.col{
    display: flex;
    justify-content: center;
}

ul.loan-form {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-pri);
}

/* img.img-fluid {
    border-radius: 8px;
} */

.loan-form ul {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color-pri);
    text-align: start;
}

.loan-card-btn {
    background-color: var(--primary-color);
    color: var(--text-white-color);
    border-radius: 4px;
    height: 48px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    width: 100%;
    cursor: pointer;
    border: none;
}

.loan-card-btn:hover {
    background-color: var(--button-color-hover);
}

.badge {
    background-color: var(--badge-color);
    border-radius: 999px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    padding: 2px 12px;
}

.overlay-badge-loan {
    position: absolute;
    left: 1em;
    top: 1em;
}

.text-content {
    color: var(--text-white-color);
}