/* Terms Page */
.terms-section {
    padding: 60px 0 120px 0;
    background-color: #fff;
}

.terms-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-bottom: 40px;
}

.breadcrumb .separator {
    margin: 0 8px;
}

/* Page Title */
.page-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #000;
}

/* Terms Content */
.terms-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
}

.terms-content p {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
}

.terms-content p:first-child {
    font-weight: 700;
    margin-top: 20px;
}

.terms-content .appendix {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-weight: 500;
}

/* ============================================
   Mobile Responsive Design
   ============================================ */

/* 1919px ~ 1440px */
@media (max-width: 1919px) and (min-width: 1440px) {
    .terms-container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .terms-content {
        max-width: 1000px;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
}

/* 1439px ~ 1024px */
@media (max-width: 1439px) and (min-width: 1024px) {
    .terms-section {
        padding: 50px 0 100px 0;
    }

    .terms-container {
        max-width: 1000px;
        padding: 0 30px;
    }

    .terms-content {
        max-width: 900px;
        padding: 35px;
    }

    .page-title {
        font-size: 30px;
        margin-bottom: 45px;
    }

    .terms-content p {
        font-size: 12px;
    }
}

/* 1023px ~ 768px */
@media (max-width: 1023px) and (min-width: 768px) {
    .terms-section {
        padding: 40px 0 80px 0;
    }

    .terms-container {
        padding: 0 25px;
    }

    .terms-content {
        padding: 30px;
    }

    .breadcrumb {
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .terms-content p {
        font-size: 12px;
    }
}

/* 767px ~ 425px */
@media (max-width: 767px) and (min-width: 425px) {
    .terms-section {
        padding: 30px 0 60px 0;
    }

    .terms-container {
        padding: 0 20px;
    }

    .terms-content {
        padding: 25px 20px;
    }

    .breadcrumb {
        font-size: 11px;
        margin-bottom: 25px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .terms-content p {
        font-size: 11px;
        line-height: 1.7;
        margin-bottom: 10px;
    }

    .terms-content p:first-child {
        margin-top: 15px;
    }

    .terms-content .appendix {
        margin-top: 30px;
        padding-top: 15px;
    }
}

/* 424px ~ 0px */
@media (max-width: 424px) {
    .terms-section {
        padding: 25px 0 50px 0;
    }

    .terms-container {
        padding: 0 15px;
    }

    .terms-content {
        padding: 20px 15px;
    }

    .breadcrumb {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .terms-content p {
        font-size: 10px;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    .terms-content p:first-child {
        margin-top: 12px;
    }

    .terms-content .appendix {
        margin-top: 25px;
        padding-top: 12px;
        font-size: 10px;
    }
}

