.heading-container {
    max-width: 1517px;
    height: auto;
    margin: 0 auto;
    padding: 0 10px;
    opacity: 1;
}
.legal-heading {
    color: #8C5A32;
    font-family: var(--wkd-sys-typo-display-kanit-regular-family);
    font-size: calc(22px + (48 - 22) * ((100vw - 320px) / (1600 - 320)));
    font-weight: 500;
    line-height: calc(22px + (72 - 22) * ((100vw - 320px) / (1600 - 320)));
    text-align: left;
    margin: 20px 0;
}
.text-container {
    max-width: 1517px;
    height: auto;
    margin: 0 auto;
    padding: 0 calc(10px + (20 - 10) * ((100vw - 320px) / (1600 - 320)));
    opacity: 1;
}
.legal-text {
    color: #4F514B;
    font-family: var(--wkd-sys-typo-display-kanit-light-family);
    font-size: calc(12px + (20 - 12) * ((100vw - 320px) / (1600 - 320)));
    font-weight: 300;
    line-height: calc(15px + (30 - 15) * ((100vw - 320px) / (1600 - 320)));
    text-align: justify;
    margin-bottom: 30px;
}
.legal-text strong {
    font-family: var(--wkd-sys-typo-display-kanit-regular-family);
    font-weight: 500; 
    color: #4F514B;
}
.legal-text a, .legal-custom-text a {
    text-decoration: none;
    color: #8C5A32;
}
.read-more-btn, .read-less-btn {
    display: block;
    margin: 20px auto;
    background-color: #fff;
    color: #0b0500;
    border: 0.3px solid #000;
    font-size: 12px;
    font-family: var(--wkd-sys-typo-display-kanit-regular-family);
    cursor: pointer;
    border-radius: 25px;
    text-align: center;
    max-width: 100px;
    width: 100%;
    line-height: 18px;
}
@media (min-width: 1920px) {
    .legal-heading {
        font-size: 48px!important;
    }
    .text-container {
        padding: 0 20px!important;
    }
    .legal-text {
        font-size: 20px!important;
        line-height: 30px!important;
    }
    .legal-custom-text h2 {
        font-size: 28px;
    }
    .legal-custom-text {
        font-size: 20px!important;
    }
    .legal-custom-text ul {
        padding-left: 50px!important;
    }
    .image-container {
        max-width: 700px!important;
    }
    .name-container p {
        font-size: 20px!important;
        margin: 20px 0!important;
    }
    .background-image-container, .background-image-container--second {
        padding: 62px 0px!important;
    }
    .name-container {
        margin-top: 24px!important;
    }
}
.legal-custom-text {
    color: #4F514B;
    font-family: var(--wkd-sys-typo-display-kanit-light-family);
    font-size: calc(12px + (20 - 12) * ((100vw - 320px) / (1600 - 320)));
    font-weight: 300;
    line-height: calc(15px + (30 - 15) * ((100vw - 320px) / (1600 - 320)));
    text-align: justify;
    margin-bottom: 30px;
}
.legal-custom-text h2 {
    font-family: var(--wkd-sys-typo-display-kanit-regular-family);
    font-size: calc(18px + (28 - 18) * ((100vw - 320px) / (1600 - 320)));
    color: #8C5A32;
    margin-bottom: 20px;
}
.legal-custom-text ul {
    list-style-type: none;
    padding-left: calc(8px + (50 - 8) * ((100vw - 320px) / (1600 - 320)));
}
.legal-custom-text ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}
.legal-custom-text ul li:before {
    content: "■";
    position: absolute;
    left: 0;
    color: #8C5A32;
}