body {
    margin: 0;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
:root {
    --orange: #f58f1f;
    --orangeHover: #f5ac1f;
    --yellow: #f9c205;
}
p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}
a {
    color: inherit;
    text-decoration: none;
}

/* Samazināt header atstarpes no abām malām – vairāk vietas logo un izvēlnei */
#site-header #site-header-inner,
#site-header .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Logo – nedaudz vēl pa kreisi (tikai desktop) */
#site-header #site-logo {
    margin-left: -50px;
}

/* Uz telefona – logo bez pārbīdes */
@media only screen and (max-width: 991px) {
    #site-header #site-logo {
        margin-left: 0;
    }
    #site-header #site-header-inner,
    #site-header .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

 /*------- */
/* Header */

header {
    background: #eef1f9;
}
.header_wrap {
    display: flex;
    height: 120px;
    align-items: center;
    padding: 0 25px;
    max-width: 1400px;
    margin: 0 auto;
}
.logo_wrap {
    display: flex;
    align-items: center;
    z-index: 500;
}

.logo_wrap a img {
    width: 163px;
    height: auto; /*56px*/
}
.header_menu {
    list-style: none;
    display: flex;
    gap: 48px;
    align-items: center;
    padding-left: 65px;
    margin: 0;
    z-index: 50;
}
.header_menu li {
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat";
    transition: ease-in-out 0.1s;
    white-space: nowrap;
}
.header_menu .active_page {
    color: #fc5604;
}
.header_menu li:hover a{
    color: #fc5604;
}
.language_switcher {
    margin-left: auto;
    margin-right: 60px;
    z-index: 10;
}
.language_switcher > ul {
    display: flex;
    gap: 14px;
    list-style: none;
    align-items: center;
    height: 100%;
    margin: 0;
}
.language_switcher li {
    font-size: 16px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}
.language_switcher .active,
.mob_language_switcher .active {
    color: #fc5604;
}
.language_switcher li:hover a{
    color: #fc5604;
}
.login_btn {
    background: var(--orange);
    padding: 10px 29px;
    border-radius: 50px;
    display: flex;
    height: fit-content;
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat";
    color: white;
    transition: ease-in-out 0.25s;
}
.login_btn:hover {
    background: var(--orangeHover);
}

.header_info_block h2 {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    padding: 34px 0 48px 0;
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    z-index: 10;
    width: fit-content;
}
.header_info_block .mw_1400 {
    height: 140px;
    position: relative;
}
.login_btn_wrap {
    z-index: 50;
}


/* Mobile menu under 1100px */
label.hb_label {
    display: flex;
    flex-direction: column;
    width: 35px;
    cursor: pointer;
    z-index: 10000;
}

label.hb_label span{
    background: var(--orange);
    border-radius:15px;
    height: 3px;
    margin: 5px 0;
    transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
}


.hb_label span:nth-of-type(1){
    width:100%;
}
.hb_label span:nth-of-type(2){
    width:100%;
}
.hb_label span:nth-of-type(3){
    width:100%;
}


.hb_label input[type="checkbox"]{
    display:none;
}


.hb_label input[type="checkbox"]:checked ~ span:nth-of-type(1){
    width:50%;
    transform-origin:bottom;
    transform:rotatez(45deg) translate(7px,2px)
}


.hb_label input[type="checkbox"]:checked ~ span:nth-of-type(2){
    width:100%;
    transform-origin:top;
    transform:rotatez(-45deg)
}


.hb_label input[type="checkbox"]:checked ~ span:nth-of-type(3){
    transform-origin:bottom;
    width:50%;
    transform: translate(15px,-8px) rotatez(45deg);
}


.header_nav {
    margin-left: auto;
    display: none;
    z-index: 100;
}

#site-navigation {
    opacity: 0;
}
.header_mob_menu.hidden {
    z-index: 0;
    /* right: -1000px; */
    display: none;
}
.header_mob_menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 510px;
    height: 528px;
    background: white;
    z-index: 50;
}
.mob1 {
    padding: 34px 70px 34px 60px;
    background: white;
    min-height: 372px;
}

.mob_language_switcher {
    z-index: 10;
}
.mob_language_switcher > ul {
    display: flex;
    gap: 14px;
    list-style: none;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}
.mob_language_switcher li {
    font-size: 16px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}

.mob_header_menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    z-index: 50;
    padding: 0;
    width: fit-content;
}
.mob_header_menu li {
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat";
    transition: ease-in-out 0.1s;
}
.mob_header_menu .active_page {
    color: #fc5604;
}
.mob_header_menu li:hover {
    color: #fc5604;
}

.mob_inside {
    height: 36px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    margin-bottom: 33px;
}

.mob_login_btn {
    background: var(--orange);
    width: auto;
    padding: 0 15px;
    height: auto;
    border-radius: 50px;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat";
    color: white;
    transition: ease-in-out 0.25s;
    justify-content: center;
    align-content: center;
    line-height: 36px;
    margin-left: 12px;
}
.mob_login_btn:hover {
    background: var(--orangeHover);
}
.mob_login_btn_wrap {
    z-index: 50;
    margin-left: auto;
}
.mobup {
    height: 88px;
    background: white;
}
 /* Header end */
/* --------- */



.mw_1400 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

 /* ---------------- */
/* Home first block */
.home_slider {
    height: 580px;
    background: #eef1f9;
}
.slider_header p {
    font-size: 72px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin: 0;
}
.slider_text p {
    font-size: 18px;
    color: #111d37;
    font-weight: 400;
    font-family: "Montserrat";
    margin: 18px 0;
}
.slider_button a {
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    text-decoration: none;
    background: var(--orange);
    border-radius: 50px;
    padding: 13px 31px;
    transition: ease-in-out 0.25s;;
}
.slider_button a:hover {
    background: var(--orangeHover);
}
.slider_button {
    margin-top: 45px;
}
.slider_text_box {
    max-width: 590px;
}
.home_slider_inner {
    display: flex;
    align-items: center;
    height: 100%;
}

 /* ----------------- */
/* Home second block */

.home_second_block {
    height: 595px;
    background: url('../images/template/home_sb_bg.png');
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
@media (min-width: 1000px) {
    .home_second_block {
        background-size: cover;
    }
}
.home_second_block_inner.mw_1400 {
    width: 100%;
}
.second_block_header {
    font-size: 48px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 80px;
    margin: 48px 0 80px 0;
}
.feature_text {
    font-size: 16px;
    color: #eef1f9;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
    max-width: 245px;
    margin: 16px auto;
}
.feature_header {
    font-size: 24px;
    color: var(--orange);
    font-weight: 600;
    font-family: "Montserrat";
    text-align: center;
    margin: 24px 0;
}
.feature_wrapper {
    display: flex;
    gap: 55px;
}
.feature_box {
    border-top: 3px solid #6b7582c9;
    transition: ease-in-out 0.25s;
}
.feature_object:hover .feature_box {
    border-top: 3px solid #ffffff;
}
.feature_object {
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.feature_object img {
    height: 60px;
}

.home_third_block {
    background: #eef1f9;
}
.vakances_header {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-right: 55px;
    margin: 48px 55px 48px 0;
}
.vakances_upper {
    display: flex;
    margin: 0;
    padding: 80px 0 45px;
    align-items: center;
    gap: 15px;
}
.vakances_btn {
    font-size: 18px;
    color: #111721;
    font-weight: 600;
    font-family: "Montserrat";
    background: white;
    height: fit-content;
    text-decoration: none;
    padding: 10px 28px 10px 42px;
    border-radius: 8px;
    position: relative;
    transition: ease-in-out 0.25s;
    cursor: pointer;
}
.vakances_btn svg {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--orange);
    transition: ease-in-out 0.25s;
}
.vakances_btn:hover {
    background: var(--orange);
    color: white;
}
.vakances_btn:hover svg {
    color: white;
}
.vakances_btn.vakances_active {
    background: #112038;
    color: white;
}
.vakances_btn.vakances_active svg {
    color: white;
}

.vakances_all_btn {
    font-size: 16px;
    color: var(--orange);
    font-weight: 700;
    font-family: "Montserrat";
    margin-left: auto;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.vakances_all_btn svg {
    width: 36px;
    height: 36px;
}
.vakances_all_btn img {
    height: 20px;
    width: auto;
    margin-left: 12px;
}
.vakances_all_btn:hover {
    text-decoration: underline;
}

.vakances_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    padding-bottom: 150px;
}

.vakances_bottom {
    display: flex;
    gap: 17px;
}
.vakances_title_box {
    border-left: 4px solid var(--orange);
    padding-left: 22px;
    margin-bottom: 48px;
    height: 92px;
    display: flex;
    align-items: center;
}
.vakances_title_box p {
    font-size: 26px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin: 0;
}

.vakances_wage, .vakances_location {
    font-size: 18px;
    color: #111721;
    font-weight: 600;
    font-family: "Montserrat";
    border: 1px solid var(--yellow);
    border-radius: 4px;
    padding: 8px 18px 8px 14px;
    gap: 6px;
    display: flex;
    align-items: center;
}
.vakances_wage svg, .vakances_location svg {
    width: auto;
    height: 20px;
    color: var(--yellow);
}
.vakances_box {
    background: white;
    border-radius: 9px;
    box-shadow: rgb(0 0 0 / 10%) 0px 1px 3px 0px, rgb(0 0 0 / 6%) 0px 1px 2px 0px;
    padding: 48px 48px 70px 48px;
    position: relative;
    z-index: 0;
    cursor: pointer;
}
.vakances_wage::before {
    content: '€';
    color: var(--yellow);
    font-size: 22px;
}

.vakances_open_btn {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Montserrat";
    background: var(--orange);
    border-radius: 50px;
    padding: 14px 47px;
    opacity: 0;
    transition: ease-in-out 0.25s;
}
.vakances_open_btn:hover {
    background: var(--orangeHover);
}
.vakances_box:hover .vakances_open_btn {
    display: block;
    opacity: 1;
}

.home_atsauksmes_block {
    position: relative;
}
.atsauksmes_header {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    z-index: 10;
}
.atsauksmes_box_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}
.atsauksmes_box {
    box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px;
    padding: 25px;
    position: relative;
    margin: 30px 15px;
    height: 252px !important;
}
.atsauksmes_avatar {
    position: absolute;
    top: -23px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    background: #eef1f9;
    border-radius: 50%;
}
.atsauksmes_name {
    font-size: 26px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    text-align: center;
    margin: 15px 0 6px;
}
.atsauksmes_profession {
    font-size: 16px;
    color: var(--orange);
    font-weight: 400;
    font-style: italic;
    font-family: "Montserrat";
    text-align: center;
}
.atsauksmes_line {
    height: 4px;
    width: 92px;
    background: var(--orange);
    margin: 20px auto 30px auto;
}
.atsauksmes_text {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
    padding-bottom: 30px;
}

.left_navigate, .right_navigate {
    border: 1px solid var(--orange);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: ease-in-out 0.25s;
}
.left_navigate svg, .right_navigate svg {
    width: 30px;
    height: auto;
}
.left_navigate:hover, .right_navigate:hover {
    background: var(--orange);
    cursor: pointer;
}
.left_navigate:hover svg, .right_navigate:hover svg {
    color: white;
}
.left_navigate img {
    transform: rotate(180deg);
}
.left_navigate img, .right_navigate img {
    width: 20px;
    height: auto;
    transition: ease-in-out 0.1s;
}
.left_navigate:hover img, .right_navigate:hover img {
    filter: brightness(0) saturate(100%) invert(96%) sepia(97%) saturate(11%) hue-rotate(171deg) brightness(104%) contrast(104%);
}

.atsauksmes_upper {
    display: flex;
    align-items: center;
    margin-top: 120px;
    margin-bottom: 80px;
    gap: 18px;
}
.left_navigate {
    margin-left: auto;
}
.contact_block {
    height: 880px;
    background: url('../images/template/contact_bg.png');
    display: flex;
    align-items: center;
    position: relative;
}

.contact_block_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact_header {
    font-size: 48px;
    color: white;
    font-weight: 600;
    font-family: "Montserrat";
    text-align: center;
    max-width: 620px;
    margin-bottom: 25px;
}
.contact_subtext {
    font-size: 26px;
    color: var(--orange);
    font-weight: 600;
    font-family: "Montserrat";
    text-align: center;
    margin-bottom: 40px;
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 450px;
}
.contact_form input[type=text],
.contact_form input[type=email],
.contact_form textarea {
    border: none;
    background: #eef1f9;
    border-radius: 0;
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
    outline: none;
    padding: 28px;
    transition: ease-in-out 0.25s;
}

.contact_form textarea {
    height: 95px;
    resize: vertical;
    max-height: 290px;
    min-height: 19px;
    transition: none;
}
.contact_submit {
    border-radius: 50px;
    background: var(--orange);
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    outline: none;
    border: none;
    margin: 0 auto;
    padding: 13px 52px;
    cursor: pointer;
    transition: ease-in-out 0.25s;
}
.contact_submit:hover {
    background: var(--orangeHover);
}
.contact_form input[type=text]:focus-within, .contact_form textarea:focus-within {
    outline: 2px solid var(--orange);
}


.about_block {
    background: #eef1f9;
    padding-bottom: 165px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.about_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 85px;
}
.about_upper {
    padding-top: 120px;
    padding-bottom: 150px;
}

.about_video_wrapper {
    position: relative;
    max-height: 410px;
    display: flex;
}
.about_left {
    max-height: 410px;
}
.about_darken_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000099;
}
.play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%)translateY(-50%);
    pointer-events: none;
}
.play_btn svg {
    color: var(--orange);
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
}
.play_btn img {
    width: 45px;
    height: 45px;
}

.about_header {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}

.about_left_header {
    font-size: 26px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    text-align: right;
    margin-bottom: 20px;
}
.about_left_text {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: right;
}
.about_left_text {
    margin-bottom: 30px;
}
.about_left_text.f1 {
    margin-bottom: 50px;
    margin-left: auto;
    max-width: 565px;
}
.about_left_spec {
    width: 400px;
    margin-left: auto;
    text-align: initial;
    margin-bottom: 43px;
}
.about_left_spec li {
    font-size: 16px;
    color: #13223a;
    font-weight: 600;
    font-family: "Montserrat";
}

.about_left_spec ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0 20px;
}

.about_left_spec ul li::before {
    content: "\2022";
    color: var(--orange);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}
.about_left_more {
    background: var(--orange);
    border-radius: 50px;
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    padding: 13px 39px;
    transition: ease-in-out 0.25s;
}
.about_left_more:hover {
    background: var(--orangeHover);
}
.about_left {
    text-align: right;
}


.partneri_upper {
    display: flex;
    gap: 18px;
    position: relative;
}
.partneri_header {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}
.partneri_block {
    padding-top: 110px;
    padding-bottom: 110px;
}
.partneri_wrap {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding-top: 100px;
}
.partneri_item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.partneri_item img {
    filter: saturate(0.5);
    transition: ease-in-out 0.25s;
}
.partneri_item:hover img {
    filter: saturate(1);
}

 /* ------ */
/* Footer */
footer {
    background: #111d37;
    position: relative;
}
.footer_wrapper {
    display: flex;
    padding-top: 120px;
    padding-bottom: 110px;
    position: relative;
    align-items: center;
    height: calc(500px - 230px); /* Fixed footer height */
}
.footer_left_text {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Montserrat";
    margin-top: 90px;
    margin-bottom: 16px;
    max-width: 300px;
}

.footer_left img {
    width: 230px;
    height: auto; /*79*/
}

.footer_copyright {
    font-size: 12px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Montserrat";
    position: absolute;
    bottom: 20px;
    left: 25px;
}
.footer_subscribe input {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    border: none;
    padding: 12px;
}
.footer_subscribe input:focus-within {
    outline: 2px solid var(--orange);
}
.footer_subscribe {
    display: flex;
    gap: 16px;
}

.footer_right_navigate {
    border: 1px solid var(--orange);
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: ease-in-out 0.25s;
    z-index: 10;
}
.footer_right_navigate svg {
    width: 30px;
    height: auto;
    color: white;
}
.footer_right_navigate:hover {
    background: var(--orange);
    cursor: pointer;
}
.footer_right_navigate:hover svg {
    color: black;
}
.footer_right_navigate img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(96%) sepia(97%) saturate(11%) hue-rotate(171deg) brightness(104%) contrast(104%);
    transition: ease-in-out 0.25s;
}
.footer_right_navigate:hover img {
    filter: brightness(0) saturate(100%);
}

.footer_right {
    display: flex;
    gap: 70px;
    margin-left: auto;
    height: 140px;
    z-index: 10;
}
.footer_map {
    display: flex;
    flex-direction: column;
}
.footer_map a {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Montserrat";
    text-align: right;
}
.footer_map a:hover {
    text-decoration: underline;
}
.footer_other {
    display: flex;
    flex-direction: column;
}
.footer_other a {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Montserrat";
    text-align: right;
}
.footer_other a:hover {
    text-decoration: underline;
}

.footer_social {
    display: flex;
    gap: 10px;
    justify-content: end;
    margin-top: auto;
}
.footer_facebook, .footer_linkedin {
    width: 30px;
    height: 30px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer_facebook svg, .footer_linkedin svg {
    width: 16px;
    height: 16px;
    color: #111d37;
    transition: ease-in-out 0.2s;
}
.footer_facebook:hover svg, .footer_linkedin:hover svg {
    color: var(--orangeHover);
}

.return_top {
    position: absolute;
    top: -22px;
    right: 20px;
    transform: rotate(270deg);
}
.return_top > img {
    filter: brightness(0) saturate(100%) invert(96%) sepia(97%) saturate(11%) hue-rotate(171deg) brightness(104%) contrast(104%);
    width: 20px;
    height: 20px;
    transition: ease-in-out 0.25s;
}
.return_top:hover img {
    filter: brightness(0) saturate(100%);
}

.footer_background_element {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

 /* Footer end */
/* ---------- */


.about_bg_element {
    position: absolute;
    top: 280px;
    left: -225px;
    z-index: -1;
}

.contact_block_element {
    position: absolute;
    bottom: 0;
    right: 0;
}


.a_main_block {
    background: #eef1f9;
    position: relative;
    z-index: 0;
}
.a_main_block_inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding-bottom: 160px;
}
.a_left {
    padding: 80px 90px;
    background: white;
}
.a_right {
    padding: 55px 60px;
    background: white;
    height: fit-content;
}

.a_right_header {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}
.a_right_text {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    margin-top: 4px;
}
.a_video_wrapper {
    position: relative;
    margin-top: 20px;
    display: flex;
}
.a_video_wrapper img {
    width: 100%;
}
.a_video_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000007a;
}
.a_left h4 {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 30px;
}
.a_left h6 {
    font-size: 18px;
    color: #13223a;
    font-weight: 600;
    font-family: "Montserrat";
}
.a_left p {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    margin-bottom: 25px;
}
.a_left strong {
    font-weight: 600;
}
.a_left .a20 {
    margin-top: 50px;
    margin-bottom: 35px;
}
.a_left_more {
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    background: var(--orange);
    border-radius: 50px;
    height: 46px;
    width: 100%;
    max-width: 222px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
    transition: ease-in-out 0.25s;
}
.a_left_more:hover {
    background: var(--orangeHover)
}


.join_us_block {
    overflow: hidden;
}
.join_us_inner {
    display: flex;
    padding-top: 72px;
    padding-bottom: 79px;
}
.join_us_left {
    position: relative;
    width: 100%;
}
.join_us_right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}
.join_us_left img.bg_element_join {
    position: absolute;
    top: 90px;
    z-index: -1;
}
.join_us_img_wrap {
    display: flex;
    justify-content: center;
}
.join_us_right h2 {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    max-width: 400px;
    margin-bottom: 30px;
}
.join_us_btn {
    min-width: 205px;
    width: fit-content;
    padding: 0 7px;
    height: 46px;
    font-size: 16px;
    color: #fffefe;
    background: var(--orange);
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.25s;
}
.join_us_btn:hover {
    background: var(--orangeHover);
}
.join_us_btn_wrap {
    width: 400px;
}
.join_us_right_inner {
    margin-bottom: 20px;
    margin-right: 30px;
}


.nozares_inner {
    padding: 107px 93px;
    background: white;
}
.nozares_block {
    background: #eef1f9;
    padding-bottom: 135px;
    position: relative;
    z-index: 5;
}
.nozares_block h2 {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 30px;
}
.nozares_block p {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    margin-bottom: 35px;
}
.nozares_block article a {
    font-size: 16px;
    color: #f58f1f;
    font-weight: 700;
    font-family: "Montserrat";
    display: flex;
    align-items: center;
}
.nozares_block article a::after {
    display: block;
    content: ' ';
    background-image: url('../images/template/arrow.svg');
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
    margin-left: 6px;
}
.nozares_block article a:hover {
    text-decoration: underline;
}
.nozares_block article {
    display: flex;
    gap: 88px;
}
.nozares_block article {
    margin-bottom: 100px;
}
.nozares_block article:last-child {
    margin-bottom: 40px;
}
.nozare_left img {
    width: 390px;
    height: 100%;
    object-fit: cover;
}
.nozares_block h6 {
    font-size: 18px;
    color: #13223a;
    font-weight: 600;
    font-family: "Montserrat";
}
.background_element_nozares {
    height: 250px;
    width: 100%;
    background: #d7dbe5;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.background_element_nozares_2 {
    background: url(../images/template/background_header.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: -275px;
    right: 222px;
    width: 830px;
    height: 525px;
    z-index: -1;
}
.background_element_nozares_3 {
    height: 300px;
    width: 300px;
    background: #d7dbe5;
    position: absolute;
    top: -275px;
    right: 0;
    z-index: -1;
}

.vakances_block {
    background: #eef1f9;
    padding: 75px 0 100px 0;
    position: relative;
    z-index: 1;
}

.f11 {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-right: 32px;
}
.vakances_block_upper {
    display: flex;
    gap: 14px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.vakances_atlasit {
    background: var(--orange);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    width: 174px;
    height: 42px;
    transition: ease-in-out 0.25s;
}
.vakances_atlasit:hover {
    background: var(--orangeHover);
    cursor: pointer;
}

.vakances_pagination {
    display: flex;
    justify-content: center;
    gap: 11px;
}
.vakances_pagination .left_navigate {
    margin-left: initial;
}
.vakances_pagination .navigate {
    border: 1px solid white;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: ease-in-out 0.25s;

    font-size: 16px;
    color: #111721;
    font-weight: 600;
    font-family: "Montserrat";

    cursor: pointer;
}
.vakances_pagination .nav_active {
    color: var(--orange)
}
.vakances_pagination .navigate:hover {
    color: white;
    background: var(--orange);
    border: 1px solid var(--orange);
}
.vakances_block .vakances_wrapper {
    padding-bottom: 60px;
}

.amats_select {
    position: relative;
    padding: 10px 28px 10px 42px;
    background: #fff;
    border-radius: 8px;
    width: 177px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;

    font-size: 16px;
    color: #111721;
    font-weight: 600;
    font-family: "Montserrat";
}

.amats_dropdown {
    display: none;

    position: absolute;
    bottom: -204px;
    left: 0;
    z-index: 99;
    background: white;
    width: calc(100% - 30px);
    padding: 22px 15px;
    outline: 1px solid #d7dbe5;

    font-size: 16px;
    color: #111721;
    font-weight: 500;
    font-family: "Montserrat";
}
.amats_option {
    margin-bottom: 6px;
    position: relative;
    height: 26px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
.amats_option:last-child {
    margin-bottom: 0;
}
.amats_option > input:checked + label {
    color: var(--orange);
}
.amats_wrap {
    position: relative;
    display: flex;
}

.amats_option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 17px;
    width: 17px;
    background-color: #ffffff;
    outline: 1px solid #d7dbe5;
}
.amats_option:hover input ~ .checkmark {
    background-color: #ccc;
}
.amats_option input:checked ~ .checkmark {
    background-color: inherit;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.amats_option input:checked ~ .checkmark:after {
    display: block;
}
.amats_option .checkmark:after {
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid var(--orange);
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(37deg);
    -ms-transform: rotate(37deg);
    transform: rotate(37deg);
}
.amats_option label {
    padding-left: 26px;
    cursor: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.background_element_vakances {
    background: url(../images/template/background_element_lines.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: -50px;
    right: 10px;
    z-index: -1;
    width: 187px;
    height: 380px;
    transform: rotate(50deg);
}



.vakance_single {
    background: #eef1f9;
    position: relative;
    z-index: 0;
}
.vakance_content_wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
}
.v20 {
    background: #eef1f9;
    z-index: -5;
}
.vakance_content {
    padding: 75px 45px;
    background: white;
    position: relative;
}
.vakance_single .vakances_title_box p {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}
.vakance_single h6 {
    font-size: 16px;
    color: #13223a;
    font-weight: 700;
    font-family: "Montserrat";
}
.vakance_single h4 {
    font-size: 26px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 15px;
}
.vakance_single p {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    margin-bottom: 10px;
}
.vakance_single .vakances_title_box {
    padding-left: 43px;
    padding-right: 43px;
    margin-bottom: 5px;
}
.vakance_single .vakances_bottom {
    margin-bottom: 44px;
    padding: 0 52px;
}
.vakance_single li {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    margin-bottom: 2px;
}
.vakance_single ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 15px;
}
.vakance_single li:before {
    content: ' ';
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #13223a;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 0px;
    margin-right: 4px;
}
.vakance_inside {
    padding: 0 52px;
}

.vakance_s_btn {
    background: var(--orange);
    border-radius: 50px;
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    padding: 13px 53px;
    margin-top: 60px;
    display: inline-flex;
    transition: ease-in-out 0.25s;
    cursor: pointer;
}
.vakance_s_btn:hover {
    background: var(--orangeHover);
}

.vakance_other_title {
    font-size: 48px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 60px;
}

.vakance_other {
    background: #eef1f9;
    padding-top: 110px;
}

.vakance_back {
    position: absolute;
    top: -70px;
    right: 0;
    font-size: 16px;
    color: #f58f1f;
    font-weight: 700;
    font-family: "Montserrat";
    display: flex;
    align-items: center;
}
.vakance_back:hover {
    text-decoration: underline;
}

.vakance_back::before {
    content: url(../images/template/arrow.svg);
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: 12px;
    transform: rotate(180deg);
}


.blog {
    background: #eef1f9;
    padding-bottom: 135px;
    position: relative;
    z-index: 0;
}
.blog_inner {
    padding: 107px 93px;
    background: white;
}
.blog p {
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    margin-bottom: 30px;
}
.blog h4 {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 25px;
}
.jaunumi_read_more {
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    background: var(--orange);
    border-radius: 50px;
    transition: ease-in-out 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 142px;
    height: 45px;
}
.jaunumi_read_more:hover {
    background: var(--orangeHover);
}
.blog article {
    display: flex;
    gap: 87px;
    margin-bottom: 100px;
}
.blog article:last-child {
    margin-bottom: 80px;
}
.blog .jaunumi_left img {
    height: 310px;
    width: 390px;
    object-fit: cover;
}


.single_blog_left {
    padding-bottom: 140px;
}
.single_blog_left > img {
    height: 380px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 45px;
}
.single_blog_right h4 {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
}
.single_blog_right ul {
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
}
.single_blog_right ul li {
    font-size: 16px;
    color: #111d37;
    font-weight: 500;
    font-family: "Montserrat";
    margin-bottom: 18px;
}
.single_blog_right ul li:last-child {
    margin-bottom: 0;
}
.single_blog_right ul li::before {
    content: url(../images/template/arrow.svg);
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 6px;
}
.single_blog_right a:hover {
    text-decoration: underline;
}

.kapec_left ul {
    margin: 0 0 45px 0;
    padding: 0;
    list-style: none;
}

.kapec_left ul li {
    font-size: 16px;
    color: #13223a;
    font-weight: 600;
    font-family: "Montserrat";
}

.kapec_left ul li::before {
    content: "\2022";
    color: #13223a;
    font-weight: bold;
    display: inline-block; 
    width: 11px;
}
.kapec_left h4 {
    margin-bottom: 24px;
    margin-top: 60px;
}
.kapec_left {
    padding-top: 15px;
}


.kontakti_block {
    display: flex;
    gap: 30px;
    margin-bottom: 65px;
}
.kontakti_block > div {
    width: 50%
}

.kontakti_left h6 {
    margin-bottom: 25px;
}
.k_right h2 {
    font-size: 30px;
    color: #111d37;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 28px;
    padding-top: 14px;
}
.kontakti_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.kontakti_form input[type=text], .kontakti_form textarea {
    border: none;
    outline: none;
    background: #eef1f9;
    height: 64px;
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
}
.kontakti_form textarea {
    padding: 28px;
    height: 100px;
}
.kontakti_form input[type=submit] {
    border: none;
    outline: none;
    background: var(--orange);
    border-radius: 50px;
    min-width: 195px;
    width: fit-content;
    height: 46px;
    margin: 0 auto;
    cursor: pointer;
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    padding: 0 9px;
}
.kontakti_page_inner {
    padding-bottom: 100px;
}
.kontakti_block_left a:hover {
    text-decoration: underline;
}

.l11 {
    position: absolute;
    top: -320px;
    left: -200px;
    width: 380px;
    height: 380px;
}
.l12 {
    position: absolute;
    bottom: -290px;
    right: 0;
    transform: translateX(50%);
    width: 380px;
    height: 380px;
    z-index: 1;
}
.oh {
    overflow: hidden;
}
.h25 {
    background: #0F1A2D;
}
.v30, .v29 {
    display: flex;
    gap: 14px;
}

.left_navigate, .right_navigate {
    position: absolute;
    top: -130px;
    right: 20px;
}
.left_navigate {
    right: 85px;
}

.vakances_pagination .left_navigate, .vakances_pagination .right_navigate {
    position: initial;
}

.v2222, .v2223 {
    display: flex;
    gap: 15px;
}
.v2222 {
    flex-wrap: wrap;
}
.partneri_wrap .left_navigate, .partneri_wrap .right_navigate {
    top: -56px;
}
.p_item_wr {
    display: flex;
    align-items: center;
    justify-content: center;
}
.about_video_wrapper > a > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.about_right {
    display: flex;
}

.slide-in-right {
	-webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-in-right {
    0% {
        right: -1500px;
        opacity: 0;
    }
    100% {
        right: 0px;
        opacity: 1;
    }
  }
  @keyframes slide-in-right {
    0% {
      right: -1500px;
      opacity: 0;
    }
    100% {
      right: 0;
      opacity: 1;
    }
}


.slide-out-right {
	-webkit-animation: slide-out-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-out-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes slide-out-right {
    0% {
        right: 0px;
        opacity: 1;
    }
    100% {
        right: -1500px;
        opacity: 0;
    }
  }
  @keyframes slide-out-right {
    0% {
        right: 0;
        opacity: 1;
      }
    100% {
      right: -1500px;
      opacity: 0;
    }
}

.slider_right_side {
    margin-left: auto;
    position: relative;
    width: 700px;
    height: 580px;
}
.slider_bg_element {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 0;
}

.slider_img {
    position: absolute;
    width: 1268px;
    bottom: -57px;
    left: 0;
    z-index: 10;
}
.home_slider_inner {
    display: grid;
    grid-template-columns: repeat(2, 50%);
}

.slider_img_bg {
    position: absolute;
    top: -130px;
    left: -350px;
    z-index: 0;
}
@media (min-width: 1800px) {
    .slider_img_bg {
        left: -170px;
    }
}
@media (min-width: 2200px) {
    .slider_img_bg {
        left: 0px;
    }
}

.sp1 {
    z-index: 20;
    position: relative;
    padding-top: 50px;
    padding-left: 50px;
}
.spbg {
    position: absolute;
    top: 0;
    left: 0;
}

/* Vakances modal */
.modal_overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000000c9;
    z-index: 100000;
    top: 0;
    left: 0;
}
.piesakies_modal {
    position: fixed;
    left: 50%;
    top: 50vh;
    transform: translateX(-50%) translateY(-50%);
    background: white;
    max-width: 680px;
    width: 100%;
    height: 620px;
    z-index: 10000;
}
.modal_btn img {
    width: 20px;
    height: 20px;
}
.piesakies_modal_inside {
    padding: 45px 77px 0 77px;
}
.piesakies_modal form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 325px;
    margin: 0 auto;
}
.piesakies_modal form input {
    border: none;
    background: #eef1f9;
    height: 64px;
    outline: none;
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
}
.piesakies_modal form textarea {
    border: none;
    background: #eef1f9;
    /* height: 74px; */
    outline: none;
    font-size: 16px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
    padding: 28px;
    resize: vertical;
    min-height: 20px;
    max-height: 120px;
}
.piesakies_modal form button.btn_send_application {
    border: none;
    outline: none;
    background: var(--orange);
    width: fit-content;
    margin: 14px auto 0 auto;
    font-size: 16px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    padding: 13px 50px;
    border-radius: 50px;
    cursor: pointer;
    transition: ease-in-out 0.1s;
}
.piesakies_modal form button.btn_send_application:hover {
    background: var(--orangeHover);
}

.modal_file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    flex-wrap: wrap;
}
.modal_file_name {
    font-size: 12px;
    color: #13223a;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: right;
}
.modal_btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;

    font-size: 16px;
    color: var(--orange);
    font-weight: 700;
    font-family: "Montserrat";
}
.modal_btn:hover {
    text-decoration: underline;
}

.modal_file input {
    background: none !important;
}

input.input_error {
    border: 1px solid #ff0000 !important;
}

.btn_modal_close {
    position: absolute;
    right: 20px;
    top: 10px;
    border: none;
    outline: none;
    background: var(--orange);
    font-size: 10px;
    color: #fffefe;
    font-weight: 700;
    font-family: "Montserrat";
    text-align: center;
    padding: 5px 8px;
    border-radius: 50px;
    cursor: pointer;
    transition: ease-in-out 0.1s;
}
/* Vakances modal end */

/* Produktu kartes un galvenā bilde */
.product-list-cards .product-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-list-cards .product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: var(--orange, #f58f1f);
}
.product-list-cards .product-card-link {
    display: block;
    color: inherit;
}
.product-list-cards .product-card .thumb {
    overflow: hidden;
    line-height: 0;
}
.product-list-cards .product-card .thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-list-cards .product-card:hover .thumb img {
    transform: scale(1.03);
}
.product-list-cards .product-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 4px;
}
/* Produkta lapas konteiners – bez apgriešanas */
.product-main-image {
    overflow: visible;
}
.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Produktu kartes un galvenā bilde – pilna bilde, saprātīgs izmērs */
.product-main-image img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-list-cards .product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.product-list-cards .product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-list-cards .product-card-link {
    display: block;
    color: inherit;
}

.product-list-cards .product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-list-cards .product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-list-cards .product-card:hover .thumb img {
    transform: scale(1.03);
}

.product-list-cards .product-placeholder {
    width: 100%;
    min-height: 160px;
}

/* Produktu kartes un galvenā bilde – pilna bilde, max 480px */
.product-main-image img {
    max-width: 480px;
    height: auto;
    display: block;
}
.product-list-cards .product-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-list-cards .product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: var(--orange, #f58f1f);
}
.product-list-cards .product-card-link {
    display: block;
    color: inherit;
}
.product-list-cards .product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}
.product-list-cards .product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.product-list-cards .product-card:hover .thumb img {
    transform: scale(1.05);
}
.product-list-cards .product-placeholder {
    width: 100%;
    height: 100%;
}

/* Produktu kartītes un galvenā bilde */
.product-main-image img {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.product-list-cards .product-card {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-list-cards .product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.product-card-link {
    display: block;
}
.product-card .thumb {
    overflow: hidden;
    line-height: 0;
}
.product-card .thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.product-card:hover .thumb img {
    transform: scale(1.05);
}
.product-placeholder {
    min-height: 160px;
}
.product-card .service-item-wrap {
    background: #fff;
}

/* Produktu kartes un lapas */
.product-card.service-item {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card.service-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: var(--orange, #f58f1f);
}
.product-card-link {
    display: block;
}
.product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
}
.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .thumb img {
    transform: scale(1.03);
}
.product-placeholder {
    width: 100%;
    min-height: 160px;
}
.product-main-image img {
    display: block;
}
.product-list-cards .service-item-wrap .wprt-button {
    margin-top: 8px;
}

/* Produktu saraksts un kartiņas */
.product-list-cards .product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.product-list-cards .product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.product-list-cards .product-card-link {
    display: block;
    color: inherit;
}
.product-list-cards .product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}
.product-list-cards .product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-list-cards .product-card:hover .thumb img {
    transform: scale(1.03);
}
.product-list-cards .product-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.product-list-cards .product-placeholder i {
    font-size: 2.5em !important;
    color: #ccc !important;
}
.product-list-cards .product-card .service-item-wrap .wprt-button {
    display: inline-block;
    margin-top: 8px;
}
/* Produkta lapas galvenā bilde augšā */
.product-main-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Produkta lapas bilde – pilna bilde, bez apgriešanas */
.product-main-image {
    overflow: visible;
}
/* Produktu kartes un galvenā bilde */
.product-main-image img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-list-cards .product-card {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.product-list-cards .product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: var(--orange);
}

.product-list-cards .product-card-link {
    display: block;
    color: inherit;
}

.product-list-cards .product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.product-list-cards .product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-list-cards .product-card:hover .thumb img {
    transform: scale(1.03);
}

.product-list-cards .product-placeholder {
    width: 100%;
    height: 100%;
}

.product-list-cards .product-card .title {
    transition: color 0.2s;
}

.product-list-cards .product-card:hover .title {
    color: var(--orange);
}

/* Produktu kartes un lapas */
.product-main-image img {
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-list-cards .product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-list-cards .product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-color: var(--orange, #f58f1f);
}

.product-card-link {
    display: block;
    color: inherit;
}

.product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8f8f8;
}

.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .thumb img {
    transform: scale(1.03);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
}

.product-card .service-item-wrap .title {
    margin: 0;
}

.product-card .service-item-wrap .wprt-button {
    display: inline-block;
    margin-top: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

/* Produkta lapas bilde – pilna bilde, bez apgriešanas */
.product-main-image {
    overflow: visible;
}
/* Produktu kartes un galvenā bilde */
.product-main-image img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-list-cards .product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-list-cards .product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-list-cards .product-card-link {
    display: block;
    color: inherit;
}

.product-list-cards .product-card .thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.product-list-cards .product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-list-cards .product-card:hover .thumb img {
    transform: scale(1.05);
}

.product-list-cards .product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
}

.product-list-cards .product-card .title a {
    color: inherit;
}

.product-list-cards .product-card .title a:hover {
    color: var(--orange);
}

/* Produkta lapa: pilna bilde, nedaudz lielāks izmērs */
.product-main-image img.product-main-img,
.product-main-image img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Kompakts produktu saraksts */
.product-list-compact {
    margin: 0;
    padding: 0;
}
.product-list-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.product-list-item:last-child {
    border-bottom: none;
}
.product-list-item a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    gap: 14px;
    color: inherit;
}
.product-list-item a:hover {
    color: var(--orange, #f58f1f);
}
.product-list-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 52px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 4px;
}
.product-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-list-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}
.product-list-placeholder i {
    font-size: 1.4em;
}
.product-list-title {
    flex: 1;
    font-size: 15px;
}

/* Produkta lapa – pilna bilde */
.product-main-image img,
.product-main-img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Produktu saraksts – kompakts izkārtojums */
.product-list-compact {
    margin: 0;
    padding: 0;
}
.product-list-item {
    margin-bottom: 12px;
    list-style: none;
}
.product-list-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.product-list-item a:hover {
    color: var(--orange);
}
.product-list-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 4px;
}
.product-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-list-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.2em;
}
.product-list-title {
    font-size: 15px;
    flex: 1;
}

/* Produkta lapa – pilna bilde */
.product-main-image img.product-main-img,
.product-main-image img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Produktu saraksts – kompakts izkārtojums */
.product-list-compact {
    margin: 0;
    padding: 0;
}
.product-list-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}
.product-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.product-list-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
    padding: 4px 0;
    transition: color 0.2s;
}
.product-list-item a:hover {
    color: var(--orange);
}
.product-list-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-list-placeholder {
    color: #ccc;
    font-size: 1.5em;
}
 .product-list-title {
    flex: 1;
    font-size: 0.95em;
    font-weight: 500;
}

/* Produkta lapas bilde – pilna bilde, nedaudz lielāka */
.product-main-image {
    overflow: visible;
}
.product-main-image img.product-main-img,
.product-main-image img {
    max-width: 480px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Kompakts produkta saraksts */
.product-list-compact {
    margin: 0;
    padding: 0;
}
.product-list-compact .product-list-item {
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}
.product-list-compact .product-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.product-list-compact .product-list-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: inherit;
}
.product-list-compact .product-list-item a:hover {
    color: var(--orange, #f58f1f);
}
.product-list-compact .product-list-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 52px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-list-compact .product-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-list-compact .product-list-placeholder {
    font-size: 1.5em;
    color: #ccc;
}
.product-list-compact .product-list-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Jaunumi / Blogs: H1–H4 tumši zili (tikai bloga/jaunumu lapās) */
.termolat-blog h1,
.termolat-blog h2,
.termolat-blog h3,
.termolat-blog h4,
.termolat-blog .post-title,
.termolat-blog .widget-title {
    color: #13223a !important;
}

/* Jaunumi saraksts: vienmērīgs izkārtojums bez lieliem tukšumiem */
.termolat-blog .blog-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.termolat-blog .blog-col {
    display: flex;
    float: none;
    margin-bottom: 30px;
}
.termolat-blog .blog-col .service-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.termolat-blog .blog-col .service-item .thumb {
    height: 200px;
    overflow: hidden;
}
.termolat-blog .blog-col .service-item .thumb .img-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.termolat-blog .blog-col .service-item-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.termolat-blog .blog-col .service-item-wrap .title {
    min-height: 52px;
}
.termolat-blog .blog-col .service-item-wrap p {
    min-height: 120px;
    margin-bottom: 16px;
    overflow: hidden;
}
.termolat-blog .blog-col .service-item-wrap .wprt-button {
    display: inline-block;
    margin-top: auto;
}