
html {
    scroll-behavior: smooth; 
}
.scroll-target {
    scroll-margin-top: 110px;
}
.sub-layout-main {
    width: 100%;
    background-color: #f8f9fa;
    padding: 40px 0 80px 0;
}

.sub-layout-container {
    max-width: 1400px;
    margin: 30px auto 0 auto;
    
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
}
@media (min-width: 1024px) {
    .sub-layout-container {
        flex-direction: row;
        gap: 50px;
    }
}
.sub-toc-aside {
    width: 100%;
}

@media (min-width: 1024px) {
    .sub-toc-aside {
        width: 280px;
        flex-shrink: 0;
    }
}

.sub-toc-nav {
    border-radius: 12px;
}

@media (min-width: 1024px) {
    .sub-toc-nav {
        padding: 20px;
        position: sticky;
        top: 100px;
    }
}

.sub-toc-title {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.toc-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #555555;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.toc-link:hover {
    background-color: #f3f4f6;
    color: #111111;
}
.toc-link.active {
    background-color: #C74C1B;
    color: #ffffff;
    font-weight: 700;
}
.toc-sub-menu {
    list-style: none;
    margin: 4px 0 0 12px;
    padding-left: 10px;
    border-left: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-sub-menu .toc-link {
    font-size: 14px;
    padding: 6px 10px;
}

.toc-sub-menu .toc-link.active {
    background-color: rgba(163, 28, 14, 0.1);
    color: #C74C1B;
    font-weight: 700;
}
.sub-content-article {
    flex: 1;
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (min-width: 768px) {
    .sub-content-article {
        padding: 40px;
    }
}

.content-heading-main {
    font-size: 32px;
    font-weight: 800;
    color: #111111;
    margin: 0;
}

.content-heading-sub {
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.content-heading-tertiary {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.content-description {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.8;
    color: #444444;
}

.content-sub-text {
    margin-top: 8px;
    font-size: 15px;
    color: #666666;
}

.sub-section-box {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.content-image-wrap {
    margin-top: 20px;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 1023.98px) {
    .sub-layout-main {
        padding-top: 0;
        display: flow-root;
    }

    .sub-layout-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 12px;
        margin-top: 16px;
    }
    .sub-toc-aside {
        width: 100%;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 16px;
        position: -webkit-sticky;
        position: sticky;
        top: var(--anlab-sub-toc-top, 64px);
        z-index: 90;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .sub-toc-title {
        font-size: 16px;
        font-weight: 700;
        padding-bottom: 8px;
        margin-bottom: 12px;
        border-bottom: 1px solid #eee;
        color: #111;
    }

    .toc-menu-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .toc-menu-list::-webkit-scrollbar {
        display: none;
    }

    .toc-item {
        flex-shrink: 0;
    }

    .toc-link {
        display: inline-block;
        padding: 8px 14px;
        font-size: 14px;
        font-weight: 500;
        background-color: #f1f3f5;
        border: 1px solid #e9ecef;
        border-radius: 20px;
        color: #495057;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .toc-link:hover {
        background-color: #e2e6ea;
        color: #111;
    }

    .toc-link.active {
        background-color: #C74C1B !important;
        border-color: #C74C1B !important;
        color: #ffffff !important;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(163, 28, 14, 0.3);
    }

    .toc-sub-menu {
        display: none;
    }
}

.anlab-bottom-sticky-bar { display: none; }

@media (min-width: 1280px) {
    .anlab-bottom-sticky-bar { display: block; position: fixed; bottom: 0 !important; top: auto !important; left: 0; width: 100%; z-index: 999; background-color: #161616; border-top: 1px solid rgba(201, 176, 139, 0.2); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5); }
}

.anlab-bottom-sticky-bar .bottom-bar-container {
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
.anlab-bottom-sticky-bar .call-badge-zone { position: relative; height: 100%; display: flex; align-items: center; margin-right: 30px; }
.anlab-bottom-sticky-bar .call-badge-link { position: relative; display: flex; align-items: center; height: 100px; padding: 0 75px 10px 35px; background: linear-gradient(135deg, #D9652F 0%, #C74C1B 55%, #A43F14 100%); color: #ffffff; text-decoration: none; clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%); transition: filter 0.2s ease; }
.anlab-bottom-sticky-bar .call-badge-link:hover { filter: brightness(1.15); }
.anlab-bottom-sticky-bar .call-badge-content { display: flex; flex-direction: column; justify-content: center; }
.anlab-bottom-sticky-bar .call-badge-content .sub-label { font-size: 15px; font-weight: 500; color: #FFE3D2; letter-spacing: -0.3px; line-height: 1.1; }
.anlab-bottom-sticky-bar .call-badge-content .main-number { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; color: #ffffff; line-height: 1.2; }
.anlab-bottom-sticky-bar .quick-lead-form { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: center; }
.anlab-bottom-sticky-bar .form-inputs-wrap { display: flex; align-items: center; gap: 14px; }
.anlab-bottom-sticky-bar .input-field input { width: 190px; height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid #555; background-color: #ffffff; color: #111111; font-size: 15px; font-weight: 500; outline: none; transition: border-color 0.2s ease; }
.anlab-bottom-sticky-bar .input-field input:focus { border-color: #C74C1B; box-shadow: 0 0 0 2px rgba(199, 76, 27, 0.25); }
.anlab-bottom-sticky-bar .input-field input::placeholder { color: #888888; font-size: 14px; }
.anlab-bottom-sticky-bar .privacy-check-wrap { display: flex; align-items: center; gap: 8px; margin: 0 10px; }
.anlab-bottom-sticky-bar .privacy-label { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.anlab-bottom-sticky-bar .privacy-label input[type="checkbox"] { accent-color: #C74C1B; width: 16px; height: 16px; cursor: pointer; }
.anlab-bottom-sticky-bar .privacy-text { font-size: 14px; color: #fff; letter-spacing: -0.5px; font-weight: 500; }
.anlab-bottom-sticky-bar .privacy-more-btn { background: none; border: none; padding: 0; font-size: 13px; color: #bbbbbb; text-decoration: underline; cursor: pointer; margin-left: 2px; }
.anlab-bottom-sticky-bar .privacy-more-btn:hover { color: #ffffff; }
.anlab-bottom-sticky-bar .submit-btn { height: 44px; padding: 0 28px; background: linear-gradient(135deg, #D9652F 0%, #C74C1B 55%, #A43F14 100%); border-radius: 6px; color: #ffffff; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform 0.1s ease, filter 0.2s ease; }
.anlab-bottom-sticky-bar .submit-btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.anlab-bottom-sticky-bar .submit-btn:active { transform: translateY(0); }

body {
    --hubms-accent: #C74C1B;          
    --hubms-accent-hover: #A33A12;
    --hubms-accent-alt: #C74C1B;      
    --hubms-hero-accent: #C74C1B;     
    --hubms-btn-bg: #C74C1B;          
    --hubms-btn-bg-hover: #A33A12;
    --hubms-point: #C74C1B;           
    --hubt-color-accent: #C74C1B;     
}
body .hubms-review-section,
body .hubms-review-lb {
    --hubms-review-accent: #C74C1B;   
    --hubms-review-accent-hover: #A33A12;
    --hubms-review-accent-bg: #fbefe9;
}
body .hubms-loc {
    --hubms-loc-point: #C74C1B;       
}
body .aqx {
    --aqx-p: #C74C1B;
    --aqx-ps: #fbefe9;
}
body .anlab-home-hero { padding-top: 40px; }
@media (min-width: 1280px) {
    body .anlab-home-hero { padding-top: 62px; height: 812px; }
}
