/* Privacy Policy Page Styles */

/* Law Wrap Container */
.law_wrap {
    width: 100%;
    word-break: keep-all;
}

/* Box Case 01 - Header Section */
.box_case01 {
    width: 100%;
    margin-bottom: 20px;
}

.mg_b20 {
    margin-bottom: 20px;
}

.privacy_logoDiv {
    width: 100%;
    
}

.privacy_logoDiv h1 {
    font-size: 28px;
    font-weight: 700;
    color: #252525;
    margin-bottom: 20px;
    line-height: 1.5;
}

.subTop_txt01 {
    font-size: 17px;
    font-weight: 400;
    color: #2c2c2c;
    line-height: 1.9;
    word-break: keep-all;
    background-color: #F9F9F9;
    border-radius: 8px;
    padding: 25px 35px 25px 35px;
    position: relative;
    border: 1px solid #EEE;
    overflow: hidden;
    margin-bottom: 80px;
}
.subTop_txt01 strong {
    font-weight: 600;
}

.subTop_txt01 small {
    font-size: 15px;
    color: #666;
}
.box_case_top {
    width: 100%;
    margin-bottom: 40px;
}
/* Box Case 02 - Content Sections */
.box_case02 {
    width: 100%;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background-color: #fafafa;
    overflow: hidden; /* Hide content that overflows the box */
}


.box_case02 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.box_case02 ul li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 17px;
    color: #454545;
    margin-bottom: 12px;
    padding-left: 0;
    position: relative;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: auto;
}

.box_case03 {
    width: 100%;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background-color: #F8FBFB;
}
.box_case_top header {
    font-size: 22px;
    font-weight: 700;
    color: #252525;
    line-height: 1.8;
    text-align: center;
}
.box-title-sub-text {
    text-align: center;
    padding: 10px;
    line-height: 1.3;
    margin-bottom: 10px;
}
.box-title-sub-text span {
    color: #005770;
    font-size: 14px;
    font-weight: 600;
}
/* Table Case 05 - Privacy Tables */
.table_case05 {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #005770;
    margin-bottom: 20px;
    word-break: keep-all;
}

.table_case05 caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.table_case05 thead {
    background-color: #F8FBFB;
}

.table_case05 th {
    background-color: #F8FBFB;
    color: #474747;
    font-weight: 700;
    font-size: 17px;
    padding: 15px 20px;
    border-bottom: 1px solid #BEC5C9;
    border-right: 1px solid #BEC5C9;
    border-left: 1px solid #BEC5C9;
    text-align: center;
    vertical-align: middle;
}

.table_case05 td {
    color: #252525;
    font-size: 17px;
    font-weight: 400;
    padding: 15px 20px;
    border-bottom: 1px solid #BEC5C9;
    border-right: 1px solid #BEC5C9;
    border-left: 1px solid #BEC5C9;
    vertical-align: middle;
    line-height: 1.8;
    background-color: #fff;
}

.table_case05 td a {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    color: #222;
    text-decoration: none;
    gap: 5px;

}
.table_case05 td a img {
    width: 30px;
    height: 36px;
}
.table_case05 td.text-table-align {
    text-align: center;
}

.table_case05 tbody tr:last-child td {
    border-bottom: 1px solid #BEC5C9;
}

.table_case05.autoTableSizeTr td {
    padding: 10px 15px;
    background-color: #fff;
}
.box_case02 ul li.li-before, .li-before {
    padding-left: 20px;
    position: relative;
}
.li-before::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    width: 5px;
    height: 5px;
    background-color: #005770;
    border-radius: 50%;
    display: inline-block;
}

/* Privacy Labeling Images */
.privacy_labelingImg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 110px;

    @media (max-width: 768px) {
        width: 80px;
    }
}

/* Law Depth Classes */
.law_1depth {
    padding-left: 45px;
    margin-bottom: 15px;
    font-size: 17px;
    color: #252525;
    line-height: 1.9;
    word-break: keep-all;
}

.law_2depth {
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #474747;
    line-height: 1.8;
    word-break: keep-all;
}

.law_3depth {
    padding-left: 65px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    word-break: keep-all;
}

/* Section Headers */
.law_wrap > header[id^="privacy_article"] {
    font-size: 24px;
    font-weight: 700;
    color: #252525;
    margin: 50px 0 20px 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.law_wrap > header[id^="privacy_article"] img {
    vertical-align: middle;
}

/* Margin Utilities */
.mg_t10 {
    margin-top: 10px;
}

.mg_t20 {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1300px) {
    .privacy_logoDiv h1 {
        font-size: 26px;
    }

    .subTop_txt01 {
        font-size: 16px;
    }

    .table_case05 th,
    .table_case05 td {
        font-size: 16px;
        padding: 12px 15px;
    }

    .law_wrap > header[id^="privacy_article"] {
        font-size: 22px;
    }

    .law_1depth {
        font-size: 16px;
    }

}

@media (max-width: 768px) {
    .privacy_logoDiv h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .subTop_txt01 {
        font-size: 15px;
    }

    .box_case02 {
        margin-bottom: 30px;
        padding: 15px;
        overflow: hidden; /* Hide content that overflows the box on mobile */
    }


    .table_case05 {
        font-size: 14px;
    }

    .table_case05 th,
    .table_case05 td {
        font-size: 14px;
        padding: 10px 12px;
    }

    .table_case05.autoTableSizeTr td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .law_wrap > header[id^="privacy_article"] {
        font-size: 20px;
        margin: 40px 0 15px 0;
        flex-wrap: wrap;
    }

    .law_1depth {
        font-size: 15px;
        padding-left: 20px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }

    .law_2depth {
        font-size: 14px;
        padding-left: 35px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .law_3depth {
        font-size: 13px;
        padding-left: 50px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .btn_shortcut {
        font-size: 13px;
        padding: 4px 8px;
        white-space: normal;
        word-break: keep-all;
        min-width: fit-content;
        flex-shrink: 0;
    }
    
    /* Allow button containers to wrap when space is limited */
    .law_1depth,
    .law_2depth,
    .law_3depth,
    .law_wrap > header[id^="privacy_article"] {
        gap: 8px;
    }
}

.btn_shortcut {
    border-radius: 30px;
    border: 1px solid #005770;
    text-decoration: none;
    padding: 5px 10px;
    color: #005770;
    font-size: 14px;
    background-color: #fff;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    min-width: fit-content;
    flex-shrink: 0;
}
.btn_shortcut:hover {
    background-color: #E4F2F4;
}

/* Button container wrapping - allow text and buttons to wrap */
.law_wrap > header[id^="privacy_article"] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}


    .btn-download {
        width: max-content;
        height: 39px;
        display: flex;
        justify-content: center;
        text-decoration: none;
        align-items: center;
        gap: 8px;
        background-color: #005770;
        color: #fff;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 500;
        transition: background-color 0.2s;
        margin-top: 10px;
        padding: 0 10px;
        word-break: keep-all;
    
        &:hover {
            background-color: #004357;
        }
    }

    .table_case05 td a.text-link-btn, .text-link-btn {
        color: #005770;
        text-decoration: underline;
        text-underline-offset: 3px;
    }