/*
Theme Name: TenderVIA Pro
Theme URI: https://tendervia.lt
Author: TenderVIA Development Team
Author URI: https://tendervia.lt
Description: Premiausio lygio, itin greita ir moduliari B2G (Public Procurement Intelligence) „WordPress“ tema, sukurta „TenderVIA“ platformai. Integruota su interaktyviu „HTML5 Canvas“ vizualiniu varikliu, nepriklausomu šriftų valdymu (Headings, Body & Accent Typography), lanksčia ACF turinio grupuočių architektūra bei „Appearance -> Customize“ gyvosios peržiūros parametrų valdikliais.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://tendervia.lt/terms
Text Domain: tendervia
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, accessibility-ready, grid-layout, one-column, two-columns

TenderVIA WordPress Theme, Copyright 2026 TenderVIA Team.
*/

/* Custom global CSS overrides handled dynamically via wp_head() customizer output */

/* ==========================================================================
   GLOBAL MOBILE HORIZONTAL OVERFLOW PREVENTION (Strict 100vw Viewport Fit)
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Contained background decoration layer (clips 600px glowing orbs, blur filters and floating geometry) */
.page-background-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: -10;
    contain: paint;
}

@media (max-width: 768px) {
    .floating-iso-decor {
        display: none !important;
    }
}

/* ==========================================================================
   ELEVATED MOBILE DRAWER & NAVIGATION SYSTEM (Award-Winning SaaS Polish)
   ========================================================================== */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 7, 2, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0 !important;
    overflow: hidden;
}

.mobile-menu-drawer.open {
    transform: translateX(0);
}

/* Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-drawer-logo {
    height: 32px;
    width: auto;
    display: block;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 0 !important;
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-menu-close:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.mobile-menu-close .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

/* Scrollable Content Body */
.mobile-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

/* Completely remove badge & meta elements */
.mobile-drawer-badge-wrap,
.mobile-drawer-badge,
.mobile-drawer-footer-meta {
    display: none !important;
}

/* Links & Nav Items */
.mobile-drawer-links,
.mobile-drawer-links ul,
.mobile-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}

.mobile-drawer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* Remove all icons from menu */
.mobile-drawer-links .mobile-drawer-icon-wrap,
.mobile-drawer-links .material-symbols-outlined,
.mobile-drawer-links .mobile-drawer-chevron {
    display: none !important;
}

/* Minimalist Clean Text Links */
.mobile-drawer-link,
.mobile-drawer-links a,
.mobile-menu-list a {
    display: block !important;
    padding: 15px 24px !important;
    border-radius: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: transparent !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-left: 3px solid transparent !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-drawer-link:hover,
.mobile-drawer-links a:hover,
.mobile-menu-list a:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-left-color: #3EA3DC !important;
    padding-left: 28px !important;
    transform: none !important;
}

/* Active State */
.mobile-drawer-link.active-link,
.mobile-drawer-links .current-menu-item > a,
.mobile-drawer-links .current_page_item > a,
.mobile-drawer-links a.active-link {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    border-left-color: #3EA3DC !important;
    box-shadow: none !important;
}

.mobile-drawer-label {
    letter-spacing: -0.01em !important;
}

/* Drawer Bottom Actions Area */
.mobile-drawer-actions {
    flex-shrink: 0;
    padding: 20px 24px 24px;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Minimalist Sharp Primary CTA Button */
.mobile-cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 13px 20px !important;
    border-radius: 0 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid #0f172a !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.mobile-cta-btn:hover {
    background: #3EA3DC !important;
    border-color: #3EA3DC !important;
    color: #ffffff !important;
    transform: none !important;
}

.mobile-cta-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: currentColor !important;
    transition: transform 0.2s ease !important;
}

.mobile-cta-btn:hover .mobile-cta-arrow {
    transform: translateX(3px) !important;
    background: transparent !important;
    color: #ffffff !important;
}

/* Minimalist Sharp Secondary Login Button */
.mobile-login-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(15, 23, 42, 0.2) !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.mobile-login-btn:hover {
    background: #f8fafc !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
}

.mobile-login-btn .material-symbols-outlined {
    display: none !important;
}

