@font-face {
    font-family: nunito;
    src: url(./font/NunitoSans-Regular.ttf);
}

@font-face {
    font-family: inter;
    src: url(./font/Inter-Regular.ttf);
}

@font-face {
    font-family: nunito_light;
    src: url(./font/NunitoSans-Light.ttf);
}

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #05172B;
}

/* Handle */
::-webkit-scrollbar-thumb:hover {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb {
    background: #555;
}

*,
body {
    margin: 0;
    padding: 0;
    font-family: nunito;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

main {
    width: 2000px;
    max-width: 100%;
    margin: 0 auto;
}

.stop-scroll {
    margin: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
}

/* Dynamic Page Publish/Stop Visibility (controlled from /manage/) */

/* Optional pages hidden by default until published */
body:not(.ws-show-blogs) .blog_link,
body:not(.ws-show-blogs) .side_bar_links_container div:has(> a[href*="blogs.html"]),
body:not(.ws-show-blogs) .footer_links_container a[href*="blogs.html"] {
    display: none !important;
}

body:not(.ws-show-investigation) .products_box:has(a[href*="investigation.html"]),
body:not(.ws-show-investigation) .product_Service_inner a[href*="investigation.html"],
body:not(.ws-show-investigation) .product_nav_links a[href*="investigation.html"],
body:not(.ws-show-investigation) .footer_links_container a[href*="investigation.html"],
body:not(.ws-show-investigation) .Services_link {
    display: none !important;
}

body:not(.ws-show-investigation) .product_service_content {
    justify-content: center;
}

body:not(.ws-show-investigation) .product_link {
    max-width: 680px;
}

body:not(.ws-show-art) .products_box:has(a[href*="art-services.html"]),
body:not(.ws-show-art) .product_Service_inner a[href*="art-services.html"],
body:not(.ws-show-art) .product_nav_links a[href*="art-services.html"],
body:not(.ws-show-art) .footer_links_container a[href*="art-services.html"] {
    display: none !important;
}

body:not(.ws-show-wafer) .products_box:has(a[href*="wafer-device.html"]),
body:not(.ws-show-wafer) .product_Service_inner a[href*="wafer-device.html"],
body:not(.ws-show-wafer) .product_nav_links a[href*="wafer-device.html"],
body:not(.ws-show-wafer) .footer_links_container a[href*="wafer-device.html"],
body:not(.ws-show-wafer) .contact_quick_links a[href*="wafer-device.html"] {
    display: none !important;
}

/* Core pages stopped via Management Portal */
body.ws-hide-products .products_box:has(a[href*="security-products.html"]),
body.ws-hide-products .product_Service_inner a[href*="security-products.html"],
body.ws-hide-products .product_nav_links a[href*="security-products.html"],
body.ws-hide-products .footer_links_container a[href*="security-products.html"],
body.ws-hide-products .contact_quick_links a[href*="security-products.html"],
body.ws-hide-products .product_link,
body.ws-hide-products .what_is_wafer_container {
    display: none !important;
}

body.ws-hide-research .products_box:has(a[href*="research-dev.html"]),
body.ws-hide-research .product_Service_inner a[href*="research-dev.html"],
body.ws-hide-research .product_nav_links a[href*="research-dev.html"],
body.ws-hide-research .footer_links_container a[href*="research-dev.html"] {
    display: none !important;
}

body.ws-hide-about .about_link:has(a[href*="aboutUs.html"]),
body.ws-hide-about .side_bar_links_container .about_us,
body.ws-hide-about .footer_links_container a[href*="aboutUs.html"] {
    display: none !important;
}

body.ws-hide-contact .about_link:has(a[href*="contact.html"]),
body.ws-hide-contact .side_bar_links_container div:has(> a[href*="contact.html"]),
body.ws-hide-contact .footer_links_container a[href*="contact.html"] {
    display: none !important;
}

body.ws-hide-discover .about_link:has(a[href*="discover"]),
body.ws-hide-discover .side_bar_links_container div:has(> a[href*="discover"]),
body.ws-hide-discover .contact_quick_links a[href*="discover"] {
    display: none !important;
}

.wl-section-unavailable {
    width: 100%;
    min-height: 60vh;
    margin-top: 100px;
    padding: 80px 24px;
    background: linear-gradient(180deg, #001A2F 0%, #05172B 100%);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wl-section-unavailable h1 {
    font-size: clamp(26px, 3vw, 40px);
    margin-bottom: 12px;
}

.wl-section-unavailable p {
    color: #94a3b8;
    font-size: 16px;
    max-width: 520px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.wl-section-unavailable a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    background-image: linear-gradient(to left, #FF4801, #FE9531);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
