/* V14.42 Latvian refinements: work-volume strip, inspection levels, partner footer band,
   work photos behind a link, careers page and application form. */

/* Home: three inspection levels as 1 → 2 → 3 */
.lv-proof .lv-proof-grid.lvl-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:stretch}
.lv-proof .lv-proof-card.lvl{display:block!important;padding-right:clamp(0px,2vw,24px)}
.lvl h3{margin-bottom:6px}
.lvl-sub{margin:0 0 22px;color:#4f5d53}
.lvl-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;position:relative}
.lvl-steps li{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.lvl-steps li:not(:last-child)::after{content:"";position:absolute;top:34px;left:84px;right:-10px;height:2px;background:repeating-linear-gradient(90deg,#c6a278 0 8px,transparent 8px 14px)}
.lvl-steps li:not(:last-child)::before{content:"";position:absolute;top:29px;right:-12px;width:0;height:0;border-left:9px solid #c6a278;border-top:6px solid transparent;border-bottom:6px solid transparent}
.lvl-badge{position:relative;display:grid;place-items:center;width:68px;height:68px;margin-bottom:8px;border-radius:50%;background:#17382f;color:#e3c79d}
.lvl-badge svg{width:36px;height:36px}
.lvl-num{position:absolute;top:-4px;right:-6px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#a76c45;color:#fff;font:700 14px Georgia,serif;box-shadow:0 0 0 3px #f4f1e8}
.lvl-steps strong{font:700 18px/1.25 Georgia,serif;color:#17382f}
.lvl-steps span:not(.lvl-badge):not(.lvl-num){font-size:14px;line-height:1.5;color:#4f5d53}
@media(max-width:900px){
 .lv-proof .lv-proof-grid.lvl-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .lvl-steps{grid-template-columns:1fr;gap:20px}
 .lvl-steps li{display:grid;grid-template-columns:68px 1fr;column-gap:16px;align-items:center}
 .lvl-steps li .lvl-badge{grid-row:span 2;margin:0}
 .lvl-steps li:not(:last-child)::after{top:72px;left:33px;right:auto;width:2px;height:20px;background:repeating-linear-gradient(180deg,#c6a278 0 6px,transparent 6px 10px)}
 .lvl-steps li:not(:last-child)::before{display:none}
}

/* Home: small work-volume strip with data from the work app */
.lvs{padding-top:clamp(28px,4vw,48px)!important;padding-bottom:clamp(28px,4vw,48px)!important;border-top:1px solid #dfe3d8;border-bottom:1px solid #dfe3d8}
.lvs-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin-bottom:18px}
.lvs-head h2{margin:0;font:normal 22px/1.25 Georgia,serif;color:#17382f}
.lvs-head p{margin:0;font-size:13px!important;color:#6c7a6f}
.lvs-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lvs-list li{display:flex;flex-direction:column;gap:2px;padding:12px 16px;border-left:3px solid #c6a278;background:rgba(255,255,255,.55)}
.lvs-list strong{font:700 22px/1.2 Georgia,serif;color:#17382f}
.lvs-list span{font-size:14px;color:#3d4f47}
.lvs-list small{font-size:12px;color:#6c7a6f}
@media(max-width:800px){.lvs-list{grid-template-columns:repeat(2,minmax(0,1fr))}.lvs-list strong{font-size:19px}}

/* Home: partner logos at the bottom */
.lvp-home{padding-top:clamp(32px,4vw,56px)!important;padding-bottom:clamp(32px,4vw,56px)!important;background:#fff}
.lvp-home h2{margin:0 0 18px;font:normal 22px/1.25 Georgia,serif;color:#17382f}

/* Snow-roof photo credit */
.lvx-snow figcaption{font-size:12px!important}
.lvx-snow figcaption a{color:inherit;text-decoration:underline}

/* Tehnika on the Latvia works page */
.lvt-latvia{max-width:none!important;padding:clamp(28px,4vw,56px) 7% clamp(48px,5vw,72px)!important;border-top:1px solid #dfe3d8}
.lvt-latvia .lv-tech-head{margin-left:0;text-align:left}

/* Par mums: work photos stay hidden until the "Darba foto" link opens them */
.lvg-overlay{display:none!important}
html:not(.lvg-js) .lvg-overlay:target,.lvg-overlay.is-open{display:block!important;position:fixed!important;inset:0!important;width:auto!important;max-width:none!important;box-sizing:border-box;transform:none!important;z-index:1000;overflow:auto;margin:0;padding:clamp(56px,6vw,80px) clamp(16px,5vw,72px) 40px!important;background:#f4f1e8}
.lvg-close{position:fixed;top:14px;right:clamp(14px,3vw,32px);z-index:2;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;background:#17382f;color:#fff!important;font-weight:700;text-decoration:none}
.lvg-close:hover{background:#a76c45}
.lvg-close:focus-visible{outline:3px solid #a76c45;outline-offset:3px}
html.lvg-lock,html.lvg-lock body{overflow:hidden}

/* Careers page */
.lvj{display:block}
.lvj-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,56px);align-items:center}
.lvj-hero-copy .lead{margin-bottom:20px!important}
.lvj-facts{list-style:none;margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.lvj-facts li{padding:8px 14px;border-radius:999px;background:#fff;border:1px solid #dfe3d8;font-size:14px;color:#17382f}
.lvj-facts li::before{content:"✓";margin-right:8px;color:#a76c45;font-weight:700}
.lvj-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.lvj-mail{color:#17382f;text-decoration:underline;font-size:15px}
.lvj .lvj-photo{margin:0!important;max-width:none!important;width:100%!important}
.lvj .lvj-photo img{display:block;width:100%!important;height:auto!important;max-height:460px;aspect-ratio:4/3;object-fit:cover;object-position:var(--owner-photo-position,50% 50%);border-radius:12px;box-shadow:0 18px 40px rgba(23,56,47,.16)}
.lvj .lvj-photo figcaption{margin-top:8px;font-size:13px;color:#5d6a60}
.lvj-block{margin-top:clamp(44px,6vw,76px)}
.lvj-block h2{margin:0 0 20px}
.lvj-roles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.lvj-role{display:flex;flex-direction:column;gap:6px;padding:24px;background:#fff;border:1px solid #dfe3d8;border-radius:12px;border-top:4px solid #6f8c6c}
.lvj-role:nth-child(2){border-top-color:#a76c45}
.lvj-role:nth-child(3){border-top-color:#17382f}
.lvj-role .lvq-icon{margin:0 0 8px;color:#17382f;background:#eef1e8}
.lvj-role h3{margin:0;font:normal 22px/1.25 Georgia,serif;color:#17382f}
.lvj-role p{margin:0;color:#3d4f47}
.lvj-tag{margin-top:auto;padding-top:12px;font-size:13px;font-weight:700;color:#a76c45}
.lvj-small{margin-top:14px;font-size:14px!important;color:#6c7a6f}
.lvj-how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:none}
.lvj-how li{position:relative;display:flex;flex-direction:column;gap:6px;padding:22px 22px 22px 22px;background:#17382f;color:#cfdacb;border-radius:12px}
.lvj-how strong{color:#fff;font-size:18px}
.lvj-how span:not(.lvj-step-num){font-size:14px;line-height:1.5}
.lvj-step-num{display:grid;place-items:center;width:38px;height:38px;margin-bottom:6px;border-radius:50%;background:#c6a278;color:#17382f;font:700 17px Georgia,serif}

/* Application form, laid out like an online questionnaire */
.lvj-form{max-width:760px;margin:clamp(48px,6vw,80px) auto 0;display:flex;flex-direction:column;gap:14px;scroll-margin-top:90px}
.lvj-form-head,.lvj-q,.lvj-submit,.lvj-done{background:#fff;border:1px solid #dfe3d8;border-radius:12px;padding:24px clamp(18px,3vw,30px)}
.lvj-form-head{border-top:10px solid #17382f;position:relative}
.lvj-form-head h2{margin:4px 0 10px}
.lvj-form-head p{margin:0 0 8px}
.lvj-legend{font-size:13px!important;color:#6c7a6f}
.lvj-req{color:#b3402a;font-weight:700}
.lvj-progress{height:6px;margin-top:14px;border-radius:999px;background:#eef1e8;overflow:hidden}
.lvj-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#6f8c6c,#a76c45);transition:width .3s ease}
.lvj-q{margin:0;min-width:0;transition:border-color .2s,box-shadow .2s}
.lvj-q:focus-within{border-color:#6f8c6c;box-shadow:0 0 0 3px rgba(111,140,108,.18)}
.lvj-q.is-invalid{border-color:#b3402a}
.lvj-q legend{float:left;width:100%;display:flex;align-items:baseline;gap:10px;margin:0 0 14px;padding:0;font-size:17px;font-weight:700;color:#17382f}
.lvj-q legend+*{clear:both}
.lvj-qnum{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#eef1e8;color:#17382f;font:700 14px Georgia,serif}
.lvj-hint{clear:both;margin:-6px 0 12px!important;font-size:13px!important;color:#6c7a6f}
.lvj-input{display:block;width:100%;box-sizing:border-box;min-height:48px;padding:10px 2px;border:0;border-bottom:2px solid #c9d1c4;background:transparent;font:inherit;font-size:16px;color:#17382f;border-radius:0;transition:border-color .2s}
textarea.lvj-input{min-height:110px;padding:10px 12px;border:2px solid #c9d1c4;border-radius:8px;resize:vertical}
.lvj-input:focus{outline:0;border-color:#17382f}
.lvj-chips{display:flex;flex-wrap:wrap;gap:8px}
.lvj-chip{position:relative;display:inline-flex}
.lvj-chip input{position:absolute;opacity:0;width:1px;height:1px}
.lvj-chip span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:2px solid #c9d1c4;border-radius:999px;background:#fff;font-size:15px;color:#17382f;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.lvj-chip span:hover{border-color:#6f8c6c}
.lvj-chip input:checked+span{background:#17382f;border-color:#17382f;color:#fff}
.lvj-chip input:checked+span::before{content:"✓";margin-right:8px}
.lvj-chip input:focus-visible+span{outline:3px solid #a76c45;outline-offset:2px}
.lvj-error{margin:10px 0 0!important;font-size:14px!important;color:#b3402a;font-weight:600}
.lvj-submit{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.lvj-send{font-size:16px}
.lvj-note{margin:0;font-size:14px!important;color:#4f5d53}
.lvj-done{border-top:6px solid #6f8c6c}
.lvj-done h3{margin:0 0 8px;font:normal 22px Georgia,serif;color:#17382f}
.lvj-done textarea{margin:12px 0;font-size:14px}
@media(max-width:900px){
 .lvj-hero{grid-template-columns:1fr}
 .lvj-roles,.lvj-how{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.lvj-progress span,.lvj-q,.lvj-chip span{transition:none}}

/* BSAB logo is taller than wide wordmarks */
.lvp-logo img[src$="bjartra.png"]{max-height:62px!important}
.lvp-logos-lg .lvp-logo img[src$="bjartra.png"]{max-height:84px!important}

/* Careers buttons: one clear filled style */
.lvj .lvj-cta .button,.lvj .lvj-send{display:inline-flex!important;align-items:center;gap:10px;min-height:50px;padding:0 26px!important;border:0!important;border-radius:999px!important;background:#17382f!important;color:#fff!important;font-weight:700!important;font-size:16px!important;text-decoration:none;cursor:pointer;transition:background .2s}
.lvj .lvj-cta .button:hover,.lvj .lvj-send:hover{background:#a76c45!important}
.lvj .lvj-cta .button:focus-visible,.lvj .lvj-send:focus-visible{outline:3px solid #a76c45;outline-offset:3px}
.lvj .lvj-done .button{display:inline-flex;align-items:center;min-height:44px;padding:0 20px!important;border:2px solid #17382f!important;border-radius:999px!important;background:#fff!important;color:#17382f!important;font-weight:700;cursor:pointer}
.lvj-form-head h2{font-size:clamp(26px,3vw,34px)!important}

/* V14.42b: form saves to the database; consent, honeypot, e-mail as a secondary option */
.lvj-roles{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important}
.lvj-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.lvj-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lvj-check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font-size:15px;line-height:1.5;color:#17382f}
.lvj-check input{flex:0 0 22px;width:22px;height:22px;margin:1px 0 0;accent-color:#17382f}
.lvj-check a{color:#17382f;text-decoration:underline}
.lvj-linkbtn{padding:0;border:0;background:none;color:#17382f;font:inherit;text-decoration:underline;cursor:pointer}
.lvj-linkbtn:hover{color:#a76c45}
.lvj-status{margin:0;font-size:15px!important;font-weight:600;color:#17382f}
.lvj-status.is-error{color:#b3402a}
.lvj-send[disabled]{opacity:.6;cursor:wait}
.lvj-done h3::before{content:"✓";display:inline-grid;place-items:center;width:30px;height:30px;margin-right:10px;border-radius:50%;background:#6f8c6c;color:#fff;font-size:16px;vertical-align:2px}
.lvj-mailed h3::before{content:"✉"}
/* the visually hidden consent legend must not take the legend's full width (it caused horizontal scrolling) */
.lvj-q legend.lvj-sr{float:none!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
