/* Dedicated styles for legal static pages (Terms and Privacy). */

body:has(.static-page-box--terms-and-conditions) .active_template_content,
body:has(.static-page-box--privacy-policy) .active_template_content,
body:has(.static-page-box--cookie-policy) .active_template_content {
    background-image: 
        url("/skin/ukexpes_skin/frontend/img/static-page/terms_bg.png?v=1"),
        url("/skin/ukexpes_skin/frontend/img/static-page/terms_bg-bottom.png?v=1");
    background-size: contain, contain;
    background-position: top, bottom;
    background-repeat: no-repeat, no-repeat;
}

body:has(.static-page-box--cookie-policy) .active_template_content { 
    background-size: cover, cover;
}

.static-page-box--terms-and-conditions,
.static-page-box--privacy-policy,
.static-page-box--cookie-policy {
    max-width: 934px;
}

.static-page-box--terms-and-conditions .content_page,
.static-page-box--privacy-policy .content_page,
.static-page-box--cookie-policy .content_page {
    padding-top: 177px;
    padding-bottom: 24px;
}

.static-page-box--terms-and-conditions .product-def h1,
.static-page-box--privacy-policy .product-def h1,
.static-page-box--cookie-policy .product-def h1 {
    font-family: Manrope;
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    text-align: center;
    margin: 0 0 48px;
    color: #001F48;
}

.static-page-box--terms-and-conditions .text-box,
.static-page-box--privacy-policy .text-box,
.static-page-box--cookie-policy .text-box {
    font-family: Manrope;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #001F48;
}

.static-page-box--terms-and-conditions .text-box p strong,
.static-page-box--cookie-policy .text-box p strong {
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 32px;
    line-height: 300%;
}

.static-page-box--terms-and-conditions .text-box h2,
.static-page-box--terms-and-conditions .text-box h3,
.static-page-box--privacy-policy .text-box h2,
.static-page-box--privacy-policy .text-box h3,
.static-page-box--cookie-policy .text-box h2,
.static-page-box--cookie-policy .text-box h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1b2a3a;
}

.static-page-box--terms-and-conditions .text-box ul,
.static-page-box--terms-and-conditions .text-box ol,
.static-page-box--privacy-policy .text-box ul,
.static-page-box--privacy-policy .text-box ol,
.static-page-box--cookie-policy .text-box ul,
.static-page-box--cookie-policy .text-box ol {
    padding-left: 20px;
    list-style: none;
}

.static-page-box--terms-and-conditions .text-box ul li,
.static-page-box--privacy-policy .text-box ul li,
.static-page-box--cookie-policy .text-box ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.static-page-box--terms-and-conditions .text-box ul li::before,
.static-page-box--privacy-policy .text-box ul li::before,
.static-page-box--cookie-policy .text-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: #1E17E0;
    border-radius: 2px;
}

.static-page-box--terms-and-conditions .text-box a,
.static-page-box--privacy-policy .text-box a,
.static-page-box--cookie-policy .text-box a {
    text-decoration: underline;
    text-underline-offset: 2px;
    font-family: Manrope;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    line-height: 120%;
    color: #1E17E0;
}

@media (max-width: 991px) {
    .static-page-box--terms-and-conditions .content_page,
    .static-page-box--privacy-policy .content_page,
    .static-page-box--cookie-policy .content_page {
        padding-top: 120px;
    }

    .static-page-box--terms-and-conditions .product-def h1,
    .static-page-box--privacy-policy .product-def h1,
    .static-page-box--cookie-policy .product-def h1 {
        font-size: 36px;
        padding: 0 16px; 
    }
}

@media (max-width: 768px) {
    .static-page-box--terms-and-conditions .product-def h1,
    .static-page-box--privacy-policy .product-def h1,
    .static-page-box--cookie-policy .product-def h1 {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .static-page-box--terms-and-conditions .text-box,
    .static-page-box--privacy-policy .text-box,
    .static-page-box--cookie-policy .text-box {
        font-size: 18px;
    }
    
    .static-page-box--terms-and-conditions .text-box p strong,
    .static-page-box--privacy-policy .text-box p strong,
    .static-page-box--cookie-policy .text-box p strong {
        font-size: 24px;
    }

    .static-page-box--terms-and-conditions .text-box h2,
    .static-page-box--terms-and-conditions .text-box h3,
    .static-page-box--privacy-policy .text-box h2,
    .static-page-box--privacy-policy .text-box h3,
    .static-page-box--cookie-policy .text-box h2,
    .static-page-box--cookie-policy .text-box h3 {
        font-size: 20px;
    }

    .static-page-box--terms-and-conditions .text-box ul li,
    .static-page-box--privacy-policy .text-box ul li,
    .static-page-box--cookie-policy .text-box ul li {
        margin-bottom: 6px;
    }

    .static-page-box--terms-and-conditions .text-box a,
    .static-page-box--privacy-policy .text-box a,
    .static-page-box--cookie-policy .text-box a {
        font-size: 18px;
    }
}
