﻿.container, .container-fluid, .container-xl, .container-lg, .container-md, .container-sm {
    padding-left: 15px;
    padding-right: 15px;
}
b, strong{
    font-weight: 600;
}
a{
    transition: all 0.2s linear, font-weight 0.09s linear; /* vendorless fallback */
    -o-transition: all 0.2s linear, font-weight 0.09s linear; /* opera */
    -ms-transition: all 0.2s linear, font-weight 0.09s linear; /* IE 10 */
    -moz-transition: all 0.2s linear, font-weight 0.09s linear; /* Firefox */
    -webkit-transition: all 0.2s linear, font-weight 0.09s linear; /*safari and chrome */
    outline: none !important;
    color:  #05002A;
}
a:hover{
    text-decoration: none !important;
    outline: none !important;
}
button,svg path, svg{
    transition: all 0.2s linear, font-weight 0.09s linear; /* vendorless fallback */
    -o-transition: all 0.2s linear, font-weight 0.09s linear; /* opera */
    -ms-transition: all 0.2s linear, font-weight 0.09s linear; /* IE 10 */
    -moz-transition: all 0.2s linear, font-weight 0.09s linear; /* Firefox */
    -webkit-transition: all 0.2s linear, font-weight 0.09s linear; /*safari and chrome */
}
.rh{
    font-family: "Red Hat Display", sans-serif;
}
.header_top_box.dirbame div {
    display: inline;
    color: var(--Text-Primary, #2C353D);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px /* 150% */;
}
.header_top_box.dirbame svg{
    margin-right: 8px;
}
.header_top_box.header_ctas .header_cta {
    padding: 8px 24px;
    background: #FF642C;
    color: #FFF;
    font-family: "Red Hat Display";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    display: inline-block;
    text-transform: uppercase;
    margin-right: 8px;
}
.header_top_box.header_ctas .header_cta:hover{
    text-decoration: none;
}
.header_top_box.header_ctas .header_cta:nth-child(1){
    border: 1px solid #FF642C;
}
.header_top_box.header_ctas .header_cta:nth-child(2){
    color: #2C353D;
    background: #fff;
    border: 1px solid #FF642C;
}
.header_top_box.header_ctas .header_cta:nth-child(1):hover{
    background: #E5531F;
}
.header_top_box.header_ctas .header_cta:nth-child(2):hover{
    color: #fff;
    background:  #FF642C;
}
.header_top .container .header_top_inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #D0D0D0;
}

.header_top .mob_menu{
    display: none;
}
.header_top_box a:hover svg path{
    stroke:  #FF642C;
}
.header_ctas a:last-child:hover svg path{
    stroke: #4A6D7C;
}
header{
    border-bottom: 1px solid #D0D0D0;
}
header .navbar{
    padding: 24px 0;
}
header .navbar-nav .nav-link{
    padding: 0 16px;
    color: #2C353D;
    font-family: "Red Hat Display";
    font-size: 16px;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    text-transform: uppercase;
}
header .navbar-nav .nav-link:hover{
    color: #E5531F;
}
.current-menu-item a{
    position: relative;
}
#main-menu .current-menu-item a::after{
    content: "";
    height: 2px;
    width: 80%;
    background: #ff642c;
    display: inline-block;
    position: absolute;
    left: 10%;
    bottom: -6px;
}
header #navbarNavDropdown{
    justify-content: center;
}
.w_header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 111;
    left: 0;
}
.site#page{
    padding-top: 164px;
}

/* Mobile Menu Styles */
.mobile_menu_overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #FFFFFF;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile_menu_overlay.active {
    right: 0;
}

.mobile_menu_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
}

.mobile_menu_header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #E0E0E0;
}

.mobile_logo img {
    height: 40px;
}

.mobile_menu_close {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    position: absolute;
    right: 15px;
    align-items: center;
    justify-content: center;
}

.mobile_menu_close:hover svg path {
    stroke: #FF642C;
}

.mobile_nav {
    padding: 24px 0 32px 0px;
}

.mobile_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile_menu_list li {
    margin-bottom: 24px;
}

.mobile_menu_list li:last-child {
    margin-bottom: 0;
}

.mobile_menu_list li a {
    color: #2C353D;
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.mobile_menu_list li a:hover {
    color: #FF642C;
}

.mobile_menu_cta {
    text-align: center;
    padding: 0;
    margin-bottom: 32px;
}

.mobile_cta_button {
    display: inline-block;
    padding: 10px 24px;
    background: #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: 1px solid #FF642C;
    text-decoration: none;
}

.mobile_cta_button:hover {
    background: #E5531F;
    color: #FFFFFF;
}

.mobile_menu_contact {
    text-align: center;
    padding: 0;
    border-top: none;
}

.mobile_phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FF642C;
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    text-decoration: none;
}

.mobile_phone:hover {
    color: #E5531F;
}

.mobile_menu_footer {
    padding-top: 24px;
}

.mobile_work_area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2C353D;
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 20px;
}

.mobile_social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.mobile_social_link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2C353D;
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    text-decoration: none;
}

.mobile_social_link:hover {
    color: #FF642C;
}

.mobile_social_link:hover svg path {
    stroke: #FF642C;
}
.mobile_hr_line {
    max-width: 480px;
    width: 100%;
    border-top: 1px solid #D0D0D0;
    margin: 0 auto;
}
.mobile_hr{
    text-align: center;
    margin-top: 22px;
}
/* ================================================
   FOOTER NEWSLETTER BLOCK
   ================================================ */

.footer_newsletter {
    background: #002636;
    margin-bottom: 40px;
    border-bottom: 1px solid #4A6D7C;
    padding-bottom: 40px;
}

.footer_newsletter_inner {
    display: grid;
    align-items: center;
    gap: 64px;
    grid-template-columns: 1fr 1fr;
}

.footer_newsletter_left {
    flex: 1;
    min-width: 0;
}

.footer_newsletter_title {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 8px;
}

.footer_newsletter_sub {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}

.footer_newsletter_right {
    flex: 0 0 480px;
}

.footer_newsletter_form {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.footer_newsletter_input {
    flex: 1;
    padding: 7px 12px;
    background: #FFFFFF;
    border: none;
    outline: none;
    line-height: 26px;
    font-size: 16px;
    color: #6B737A;
    font-family: inherit;
    border: 2px solid transparent;
}

.footer_newsletter_input::placeholder {
    color: #6B737A;
}

.footer_newsletter_input.input_error {
    border: 2px solid #FF642C;
    box-sizing: border-box;
}

.footer_newsletter_btn {
    padding: 8px 24px;
    background: #4A6D7C;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.32px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: "Red Hat Display", sans-serif;
}

.footer_newsletter_btn:hover {
    background: #3A5A69;
}

.footer_newsletter_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.footer_newsletter_privacy {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}

.footer_newsletter_privacy a {
    color: #fff;
    text-decoration: underline;
}

.footer_newsletter_privacy a:hover {
    color: #FFFFFF;
}

@media (max-width: 900px) {
    .footer_newsletter_inner {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer_newsletter_right {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer_newsletter_form {
        flex-direction: column;
        gap: 8px;
    }

    .footer_newsletter_btn {
        width: 100%;
    }
}

.footeris {
    padding: 80px 0 16px 0;
    background: var(--Accent-Main, #002636);
    color: #fff;
}
.footeris a{
    color: #fff;
}
.footer_box_h {
    margin-bottom: 16px;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
    text-transform: uppercase;
}
.footer-area{
    font-size: 16px;
    line-height: 26px /* 162.5% */;
}
.footer_apacia_inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #4A6D7C;
    padding-top: 16px;
    margin-top: 64px;
}
.copyrights {
    display: inline-block;
    margin-right: 20px;
}
.footeris_apacia_left a{
    margin-right: 24px;
}
.footeris_apacia_right a{
    margin-right: 16px;
}
.footeris_apacia_right a:last-child{
    margin-right: 0;
}
.footeris_apacia_left a:hover,
.footer_contacts a:hover{
    color: #FF642C;
}
.footeris_apacia_right a:hover svg path,
.footer_contacts a:hover svg path{
    stroke: #FF642C;
}
.footer_logo{
    margin-bottom: 32px;
}
.footer_contacts a {
    display: block;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 16px;
}
.footer_contacts a svg{
    margin-right: 20px;
}
.footer_contacts a:last-child {
    margin-bottom: 0;
}
.footer-nav ul{
    padding-left: 0;
    list-style: none;
    margin-bottom: 24px;
}
.footer-nav ul a{
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.footer-nav ul li:last-child a{
    margin-bottom: 0;
}
.footer_cta a {
    padding: 8px 18px;
    background: #FF642C;
    color: #FFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    display: inline-block;
}
.footer_cta a:hover{
    background: #E5531F;
}
.header_cta_mob{
    display: none;
}
.dirbame_visoje{
    color: #fff;
    background-image: url("/wp-content/themes/termotec/images/dirbame-visoje-lietuvoje.jpg");
    background-size: cover;
    background-position: top;
    padding: 96px 0;
}
.dirbame_logo.rh {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px /* 128.571% */;
    margin-bottom: 40px;
}
.dirbame_logo svg{
    margin-right: 18px;
}
.dirbame_h.rh {
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    margin-bottom: 48px;
}
.dirbame_h span{
    color: #FF642C;
}
.dirbame_form_t.rh {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 16px;
}
input{
    outline: none !important;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
.dirbame_form_box div input{
    width: 100%;
    font-size: 16px;
    color: #6B737A;
    padding: 8px 12px;
    line-height: 26px;
    border: 1px solid #fff;
}
.dirbame_form_box {
    display: flex;
    gap: 8px;
}
.dirbame_form_box div {
    flex: 1;
}
.dirbame_form_box div:last-child {
    flex: 0 0 230px;
}
a.dirbame_form_cta.rh {
    display: inline-block;
    padding: 10px 18px;
    background: var(--Brand-Primary, #FF642C);
    color: var(--Text-Inverse, #FFF);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    width: 100%;
    text-transform: uppercase;
}
a.dirbame_form_cta:hover{
    background: #E5531F;
}
.dirbame_form_privacy {
    font-size: 14px;
    line-height: 20px;
    margin-top: 12px;
}
.dirbame_form_privacy a{
    color: #fff;
    text-decoration: underline;
}
.dirbame_form_privacy a:hover{
    color: #FF642C;
}

/* Dirbame Form Validation and States */
.dirbame_form_vardas.error,
.dirbame_form_tel.error,
.dirbame_form_el.error {
    border-color: #FF0000 !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

/* Dirbame Message Overlay Styles */
.dirbame_visoje {
    position: relative;
}

.dirbame_message_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 38, 54, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

/* Loader Styles */
.dirbame_loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dirbame_loader .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FFFFFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dirbame_loader .loader_text {
    margin-top: 20px;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

/* Success Message Styles */
.dirbame_success_message {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dirbame_success_message svg {
    margin-bottom: 24px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dirbame_success_message h3 {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 12px;
}

.dirbame_success_message p {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
}

/* Error Message Styles */
.dirbame_error_message {
    background: #FFE5E5;
    color: #D32F2F;
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Siltinimo Kaina Calculator */
.siltinimo_kaina {
    padding: 96px 0;
    background: #EDF5F6;
}

.sk_heading_wrap {
    text-align: center;
    margin-bottom: 64px;
}

.sk_h.rh {
    margin-bottom: 8px;
    color: #002636;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px /* 122.222% */;
}

.sk_subheading {
    color: var(--Brand-Primary, #FF642C);
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.sk_calculator {
    display: flex;
    gap: 32px;
}

.sk_left {
    flex: 1;
    border-right: 1px solid #4A6D7C;
    padding-right: 64px;
    margin-right: 32px;
}

.sk_right {
    flex: 0 0 440px;
}

.sk_step {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    position: relative;
}
.sk_step:last-child{
    margin-bottom: 0;
}

.sk_step_number {
    flex: 0 0 48px;
    height: 36px;
    background: #edf5f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A6D7C;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    z-index: 1;
}

.sk_step_content {
    flex: 1;
}
.sk_step::before{
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    left: 23px;
    background: #4a6d7c;
}
.sk_step_label {
    color: #2C353D;
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 16px;
}

.sk_step_sublabel {
    margin-bottom: 4px;
    color: var(--Text-Secondary, #6B737A);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px /* 142.857% */;
}

.sk_mt {
    margin-top: 16px;
}

.sk_buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.sk_btn {
    flex: 1;
    padding: 6px 12px;
    background: #A0BABB;
    border: 2px solid #A0BABB;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--Text-Inverse, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
}

.sk_btn:hover {
    border-color: #4A6D7C;
}

.sk_btn.active {
    background: #4A6D7C;
    border-color: #4A6D7C;
    color: #FFFFFF;
}

.sk_step_sub {
    margin-top: 16px;
}

.sk_select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #fff;
    background: #FFFFFF;
    color: #2C353D;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.sk_select:focus {
    outline: none;
    border-color: #FF642C;
}

.sk_input_group {
    position: relative;
    margin-bottom: 12px;
}

.sk_input_row {
    display: flex;
    gap: 16px;
}

.sk_input_col {
    flex: 1;
}

.sk_input_col .sk_step_label {
    margin-bottom: 8px;
}

.sk_input {
    width: 100%;
    padding: 8px 48px 8px 12px;
    border: 1px solid #fff;
    background: #FFFFFF;
    color: #2C353D;
    font-size: 16px;
    line-height: 24px;
}

.sk_input:focus {
    outline: none;
    border-color: #FF642C;
}

.sk_input_label {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #4A6D7C;
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;
}

.sk_energy_buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.sk_energy_btn {
    flex: 1;
    padding: 8px 16px;
    background: #A0BABB;
    border: 2px solid #A0BABB;
    color: #fff;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

.sk_energy_btn:hover {
    background: #FF642C;
    border-color: #FF642C;
}

.sk_energy_btn.active {
    background: #FF642C;
    border-color: #FF642C;
}

.sk_price_card {

}
.sk_contact_row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.sk_contact_col {
    flex: 100%;
}

.sk_price_label {
    margin-bottom: 4px;
    color: var(--Text-Secondary, #6B737A);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px /* 142.857% */;
}

.sk_price_display {
    margin: 59px 0;
    padding: 24px;
    background: transparent;
    text-align: center;
    display: block;
}

.sk_price_amount {
    color: #4A6D7C;
    font-size: 56px;
    font-style: normal;
    font-weight: 600;
    line-height: 64px /* 114.286% */;
}

.sk_price_display.calculated .sk_price_amount {
    color: #4A6D7C;
}

.sk_submit_btn {
    width: 100%;
    padding: 7px 16px;
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.sk_submit_btn:hover {
    background: #E5531F;
    border-color: #E5531F;
}

.sk_privacy {
    margin-top: 8px;
    text-align: center;
    color: var(--Text-Secondary, #6B737A);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.sk_privacy a {
    color: #4A6D7C;
    text-decoration: underline;
}

.sk_privacy a:hover {
    color: #FF642C;
}

/* Preliminary price text */
.sk_preliminary_text {
    color: #2C353D;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px /* 142.857% */;
    margin-top: 16px;
}

/* Exact price text */
.sk_exact_price_text {
    color: #2C353D;
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    margin-bottom: 16px;
}

/* Expert button */
.sk_expert_btn {
    width: 100%;
    padding: 7px 16px;
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.sk_expert_btn:hover {
    background: #E5531F;
    border-color: #E5531F;
}

/* Success state */
.sk_success_heading {
    margin: 48px 0 8px 0;
    color: var(--State-Success, #5F8F3E);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}
.sk_success_text {
    color: #2C353D;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.sk_success_text p:first-child{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}
.sk_success_text p {
    margin-bottom: 16px;
}

.sk_success_text p:last-child {
    margin-bottom: 0;
}

/* Error states for calculator */
.sk_input.error,
.sk_select.error {
    border-color: #FF0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

/* Pazangiausia Section */
.pazangiausia {
    padding: 80px 0;
    background: #F8F8F8;
    overflow: hidden;
}

.paz_heading {
    color: #002636;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 64px;
}

.paz_highlight {
    color: #FF642C;
}

.paz_top_section {
    display: flex;
    gap: 64px;
    margin-bottom: 80px;
}

.paz_left {
    flex: 1;
}
.paz_right {
    flex: 0 0 610px;
}

.paz_badges {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    background: #EDF5F6;
    padding: 16px;
}

.paz_badge {
    width: auto;
}

.paz_termlock {
    width: auto;
}

.paz_termlock_title {
    color: #002636;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 30px /* 136.364% */;
}

.paz_subheading {
    color: #002636;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 24px;
}

.paz_description {
    color: #2C353D;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 40px;
}

.paz_description p {
    margin: 0;
}

.paz_buttons {
    display: flex;
    gap: 12px;
    gap: 12px;
}

.paz_btn {
    padding: 7px 6px;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.paz_btn_outline {
    background: #fff;
    border: 1px solid #FF642C;
    color: #2C353D;
}

.paz_btn_outline:hover {
    background: #002636;
    border-color: #002636;
    color: #FFFFFF;
}

.paz_btn_primary {
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
}

.paz_btn_primary:hover {
    background: #E5531F;
    border-color: #E5531F;
    color: #fff;
}

.paz_image_wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.paz_image_wrapper::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 65px solid transparent;
    border-right: 84px solid transparent;
    border-top: 50px solid #f8f8f8;
    display: block;
    position: absolute;
    top: -17px;
    right: -50px;
    transform: rotate(-128deg);
}
.paz_image_wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.paz_badge_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: right;
    background: #002636;
}

.paz_badge_text {
    display: inline-block;
    padding: 16px 24px;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.paz_badge_text span {
    color: #FF642C;
}

.paz_stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 96px;
}

.paz_stat_card {
    background: var(--Gradients-Gradient, linear-gradient(180deg, #EDF5F6 0%, #778D96 64.9%, #002636 100%));
    padding: 16px;
    text-align: left;
    position: relative;
    padding-top: 0;
}

.paz_stat_dark {
    background: #002636;
}

.paz_stat_icon {
    margin-bottom: 28px;
    margin-top: -16px;
}

.paz_stat_number {
    color: #fff;
    font-family: "Red Hat Display", sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 80px;
}

.paz_stat_dark .paz_stat_number {
    color: #FFFFFF;
}

.paz_stat_text {
    font-size: 48px !important;
    line-height: 80px;
}

.paz_stat_percent, .paz_stat_plus {
    font-size: 34px;
    position: relative;
    line-height: 32px;
    top: -27px;
    left: 5px;
}

.paz_stat_label {
    color: #fff;
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 40px;
}

.paz_stat_dark .paz_stat_label {
    color: #FFFFFF;
}

.paz_stat_description {
    color: #fff;
    font-size: 16px;
    line-height: 26px;
}

.paz_stat_dark .paz_stat_description {
    color: #C9DBDD;
}

.paz_video_section {
    text-align: center;
}
.paz_stat_card::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #f8f8f8;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
}
.paz_video_wrapper {
    position: relative;
    width: 100%;
    padding-top: 45%;
    background: #6B8A8C;
    cursor: pointer;
    overflow: hidden;
}

.paz_video_placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('/wp-content/themes/termotec/images/video-bg.jpg');
    background-size: cover;
    background-position: center;
}

.paz_video_play_btn {
    transition: transform 0.2s;
}

.paz_video_wrapper:hover .paz_video_play_btn {
    transform: scale(1.1);
}

.paz_video_text {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
}

.paz_video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.paz_video_caption {
    color: #FFFFFF;
    padding: 16px 32px;
    font-family: "Red Hat Display", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    margin: 0 auto;
    background: rgba(0, 38, 54, 0.80);
}
.homepage_slider {
    background-image: url(/wp-content/themes/termotec/images/termotec-slider.jpg);
    padding: 140px 0 260px 0;
    background-size: cover;
    background-position: bottom;
    border-bottom: 80px solid #074550;
}
.homepage_slider h1{
 margin-bottom: 64px;
    color: #fff;
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
}
.homepage_slider h1 span{
    color: #FF642C;
}
.slider_form_t.rh {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    color: #fff;
    margin-bottom: 16px;
}
.slider_form_box_inner {
    display: flex;
    gap: 8px;
    background: rgba(74, 109, 124, 0.50);
    padding: 16px;
    margin-bottom: 12px;
}
.slider_form_box_inner div {
    flex: 1;
}
.slider_form_box_inner div input,
.slider_form_box_inner div select,
.slider_form_box_inner .chosen-container{
    width: 100%;
}
.slider_form_box_inner div:last-child {
    flex: 0 0 310px;
}
.slider_form_check {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}
.slider_form_check a{
    text-decoration: underline;
    color: #fff;
}
.slider_form_cta a {
    padding: 8px 8px;
    background: var(--Brand-Primary, #FF642C);
    color: var(--Text-Inverse, #FFF);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
}
body .chosen-container-single .chosen-single {
    color: #2C353D;
    font-size: 16px;
    line-height: 26px /* 162.5% */;
    padding: 6px 12px;
    height: inherit;
}
body .chosen-container-single .chosen-single{
    border: 1px solid #D0D0D0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}
.homepage_slider input{
    border: 1px solid #D0D0D0;
    color: #2C353D;
    font-size: 16px;
    line-height: 26px /* 162.5% */;
    padding: 6px 12px;
    height: inherit;
}
.homepage_slider input::placeholder {
    color: #2C353D;
}

.homepage_slider input::-ms-input-placeholder { /* Edge 12 -18 */
    color: #2C353D;
}
.kontaktai_form_grid input::placeholder {
    color: #6B737A;
}
.kontaktai_form_grid input::-ms-input-placeholder {
    color: #6B737A;
}
.slider_form_cta a:hover {
    background: #E5531F;
}
body .chosen-container-single .chosen-single div b {
    display: block;
    width: 100%;
    height: 100%;
    background: url(/wp-content/themes/termotec/images/select-arrow.svg) no-repeat 0;
}
body .chosen-container .chosen-results li.highlighted {
    background-color: #ff642c;
    background-image: none;
    color: #fff;
}
body .chosen-container-active.chosen-with-drop .chosen-single div b{
    background-position: 8px;
    transform: rotate(180deg);
}
body .chosen-container .chosen-results li{
    color: #2C353D;
    font-size: 16px;
    line-height: 26px /* 162.5% */;
}
.slider_mob_cta_inner.rh {
    padding: 12px 24px;
    background: var(--Brand-Primary, #FF642C);
    color: var(--Text-Inverse, #FFF);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px /* 146.667% */;
    letter-spacing: 0.3px;
    display: inline-block;
}
.slider_mob_cta{
    display: none;
    text-align: center;
    margin-bottom: 64px;
}
.chosen-container {
    width: 100% !important;
}
.h_blokeliai_inner{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}
.h_blokelis {
    padding: 24px;
    transition: all 0.2s linear, font-weight 0.09s linear; /* vendorless fallback */
    -o-transition: all 0.2s linear, font-weight 0.09s linear; /* opera */
    -ms-transition: all 0.2s linear, font-weight 0.09s linear; /* IE 10 */
    -moz-transition: all 0.2s linear, font-weight 0.09s linear; /* Firefox */
    -webkit-transition: all 0.2s linear, font-weight 0.09s linear; /*safari and chrome */
    padding-bottom: 62px;
    position: relative;
}
.h_blokelis_img {
    margin-top: -56px;
}
.home_blokeliai {
    margin-top: -120px;
    padding-bottom: 48px;
}
.h_blokelis_h.rh {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 24px;
    min-height: 90px;
}
.inverted .h_blokelis_h.rh{
    color: var(--Accent-Main, #002636);
}
.h_blokelis_top{
    margin-bottom: 20px;
}
.inverted .h_blokelis_t{
    color: var(--Text-Primary, #2C353D);
}
.h_blokelis_t {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px /* 162.5% */;
    margin-bottom: 16px;
    position: relative;
}
.inverted .h_blokelis_img_inner{
    background: #A0BABB;
}
.h_blokelis_top.rh span {
    color: var(--Accent-Light, #A0BABB);
    font-family: "Red Hat Display";
    font-size: 16px;
    font-weight: 600;
    line-height: 21px;
    display: inline-block;
    width: 100%;
}
.h_blokelis_img_inner{
    background: #002636;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear, font-weight 0.09s linear; /* vendorless fallback */
    -o-transition: all 0.2s linear, font-weight 0.09s linear; /* opera */
    -ms-transition: all 0.2s linear, font-weight 0.09s linear; /* IE 10 */
    -moz-transition: all 0.2s linear, font-weight 0.09s linear; /* Firefox */
    -webkit-transition: all 0.2s linear, font-weight 0.09s linear; /*safari and chrome */
}
.h_blokelis_img_inner {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
}

.h_blokelis.inverted{
    background: #EDF5F6;
}
.inverted .h_blokelis_cta.rh a{
    color: var(--Text-Primary, #2C353D);
}
.h_blokelis_cta.rh a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
    padding: 8px 0;
    padding-right: 40px;
    position: relative;
}
.h_blokelis_cta.rh a svg {
    position: absolute;
    right: 0;
    top: 3px;
}
.h_blokelis_cta.rh a:hover{
    color: #FF642C;
}
.h_blokelis_cta.rh a:hover svg{
    right: -5px;
}
.h_blokelis_cta.rh a:hover svg path{
    stroke: #FF642C;
}
.h_blokelis.inverted:hover .h_blokelis_img_inner{
    background: #FF642C;
}
.h_blokelis:hover .h_blokelis_img_inner{
    background: #EDF5F6;
}
.h_blokelis{
    background: #315565;
}
.h_blokelis:hover{
    background: #4D6B77;
}
.inverted.h_blokelis:hover .h_blokelis_img_inner path{
    stroke: #fff;
}
.h_blokelis:hover .h_blokelis_img_inner path{
    stroke: #002636;
}
.h_blokelis.inverted:hover{
    background: #DDE8EA;
}
.h_blokelis_cta.rh {
    position: absolute;
    bottom: 16px;
    width: 100%;
    left: 0;
    padding-left: 24px;
    padding-right: 24px;
}
.h_blokeliai_owl{
    display: none;
}
.h_blokeliai_owl .item{
    padding-top: 32px;
}
/*button.owl-dot {*/
/*    width: 12px;*/
/*    height: 12px;*/
/*    margin: 0 3px;*/
/*    display: inline-block;*/
/*    background: #315565 !important;*/
/*    border-radius: 50%;*/
/*}*/
/*button.owl-dot.active{*/
/*    background: #002636 !important;*/

/*}*/
/*button.owl-dot:hover{*/
/*    background: #002636 !important;*/
/*}*/
/*.owl-dots {*/
/*    margin-top: 20px;*/
/*    text-align: center;*/
/*}*/
.sprendimai .sh_span{
    color: var(--Brand-Primary, #FF642C);
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 16px;
}
.sprendimai .sh_h{
    color: var(--Accent-Main, #002636);
    font-size: 36px;
    font-weight: 700;
    line-height: 44px /* 122.222% */;
}
.sprendimai_headings{
    margin-bottom: 64px;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
}
.sprendimai{
    padding: 96px 0;
}
.sprendimai_headings .sh_left{
    width: 60%;
}
.sprendimai_headings .sh_right{
    width: 40%;
    color: var(--Text-Primary, #2C353D);
    font-size: 16px;
    line-height: 26px /* 162.5% */;
}
.sprendimai_items{
    display: flex;
    gap: 32px;
}
.sprendimai_ikons.rh {
    width: 240px;
}
.sprendimai_ikons_h{
    color: var(--Text-Primary, #2C353D);
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 32px;
}
.sprendimai_ikon{
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
    margin-bottom: 24px;
}
.sprendimai_ikon svg{
    margin-bottom: 16px;
}
.sprendimai_ikon:last-child{
    margin-bottom: 0;
}
.sprendimai_cards {
    width: calc(100% - 272px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.sprendimai_card{
    display: flex;
    align-items: end;
    background-size: cover;
    color: #fff;
}
.sc_content{
    padding: 16px;
    transition: all 0.2s linear, font-weight 0.09s linear; /* vendorless fallback */
    -o-transition: all 0.2s linear, font-weight 0.09s linear; /* opera */
    -ms-transition: all 0.2s linear, font-weight 0.09s linear; /* IE 10 */
    -moz-transition: all 0.2s linear, font-weight 0.09s linear; /* Firefox */
    -webkit-transition: all 0.2s linear, font-weight 0.09s linear; /*safari and chrome */
}
.sc_cta a {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px /* 150% */;
    letter-spacing: 0.32px;
    color: #fff;
    display: inline-block;
    text-align: right;
    width: 100%;
}
.sc_cta a svg{
    margin-left: 10px;
    position: relative;
    right: 0;
}
.sc_t {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px /* 150% */;
    margin-bottom: 16px;
}
.sc_h {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px /* 128.571% */;
    margin-bottom: 12px;
    position: relative;
}
.sc_h::after{
    content: "";
    display: inline-block;
    background: #D0D0D0;
    height: 2px;
    width: 38%;
    position: absolute;
    left: 0;
    bottom: -2px;
}
.sprendimai_card:hover .sc_content{
background: #315565;
}
.sc_cta a:hover{
    color: #FF642C;
}
.sc_cta a:hover svg{
    right: -5px;
}
.sc_cta a:hover svg path{
    stroke: #FF642C;
}
.sprendimai_ikonos_owl{
    display: none !important;
}
.sk_price_display.calculated {
    margin: 15px 0;
}
.calc_state_marks {
    text-align: center;
}
.calc_state_mark{
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    background: var(--Accent-Main, #002636);
    color: var(--Text-Inverse, #FFF);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px /* 150% */;
    display: inline-block;
    margin: 0 2px;
}

/* Siltiname Section */
.siltiname {
    padding: 96px 0;
    background: #EFEFEF;
}

.silt_heading {
    color: #002636;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 16px;
}

.silt_features {
    text-align: center;
    margin-bottom: 64px;
}

.silt_feature {
    color: #FF642C;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    font-family: "Red Hat Display";
}

.silt_separator {
    margin: 0 16px;
    width: 32px;
    height: 1px;
    background: #FF642C;
    display: inline-block;
    position: relative;
    top: -6px;
}

.silt_tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.silt_tab {
    padding: 7px 24px;
    background: #FFFFFF;
    border: 1px solid #FF642C;
    color: #2C353D;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.silt_tab:hover {
    border-color: #FF642C;
    background: #FFF5F2;
}

.silt_tab.active {
    background: #FF642C;
    border-color: #FF642C;
    color: #FFFFFF;
}

.silt_tab_content {
    display: none;
}

.silt_tab_content.active {
    display: block;
}

.silt_card {
    background: #FFFFFF;
    padding: 24px;
    border-top: 8px solid #002636;
    text-align: center;
}

.silt_card_top {
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 30px;
}

.silt_card_subtitle {
    margin-bottom: 16px;
    align-self: stretch;
    color: var(--Text-Primary, #2C353D);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}

.silt_card_image {
    width: 100%;
    overflow: hidden;
}

.silt_card_image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Owl Carousel Custom Styles */
.silt_carousel .owl-nav {
    display: none;
}

.silt_carousel .owl-dots {
    text-align: center;
    margin-top: 12px;
}

.silt_carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #D0D0D0;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.silt_carousel .owl-dot.active,
.silt_carousel .owl-dot:hover {
    background: #FF642C;
}

/* Nemokamas Vertinimas Section */
.nemokamas_vertinimas {
    padding: 96px 0;
    background: #F8F8F8;
    overflow: hidden;
}

.nv_wrapper {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.nv_left {
    flex: 1;
}

.nv_right {
    flex: 0 0 480px;
    position: relative;
}

.nv_heading {
    color: #002636;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 48px;
}

.nv_highlight {
    color: #FF642C;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px /* 116.667% */;
}


.nv_description {
    color: #2C353D;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 32px;
}

.nv_description p {
    margin-bottom: 16px;
}

.nv_description p:last-child {
    margin-bottom: 0;
}

.nv_expert_heading {
    color: #002636;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 32px;
    font-family: "Red Hat Display";
}

.nv_features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nv_feature_row {
    display: flex;
    gap: 32px;
}

.nv_feature {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: center;
}

.nv_feature_icon {
    flex: 0 0 48px;
}

.nv_feature_text {
    color: #2C353D;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    font-family: "Red Hat Display";
}

.nv_form_card {
    background: var(--gradients-gradient-2, linear-gradient(180deg, #4A6D7C 0%, #002636 100%));    padding: 0;
    position: relative;
    overflow: hidden;
}

.nv_expert_image {
    border-bottom: 2px solid #002636;
    flex: 0 0 240px;
}

.nv_expert_image img {
    padding-left: 16px;
    padding-right: 24px;
}
.nv_form_card_txt {
    display: flex;
    align-items: center;
    margin-top: 24px;
}
.nv_stat {
}

.nv_stat_number {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 72px;
    font-weight: 600;
    line-height: 80px;
}

.nv_stat_text {
    color: #FFFFFF;
    font-size: 18px;
    font-family: "Red Hat Display";
    font-weight: 600;
    line-height: 26px;
}

.nv_form_wrapper {
    padding: 24px;
}
.nv_right::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 65px solid transparent;
    border-right: 84px solid transparent;
    border-top: 50px solid #f8f8f8;
    display: block;
    position: absolute;
    top: -17px;
    right: -50px;
    transform: rotate(-128deg);
}
.nv_input, .nv_select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF;
    color: #2C353D;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
}

.nv_input:focus,
.nv_select:focus {
    outline: none;
    border-color: #FF642C;
}

.nv_input.error,
.nv_select.error {
    border-color: #FF0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.nv_submit_btn {
    width: 100%;
    padding: 7px 12px;
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
    margin-top: 16px;
}

.nv_submit_btn:hover {
    background: #E5531F;
    border-color: #E5531F;
}

.nv_privacy {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 20px;
}

.nv_privacy a {
    color: #FFFFFF;
    text-decoration: underline;
}

.nv_privacy a:hover {
    color: #FF642C;
}

.nv_success_message {
    padding: 60px 32px;
    text-align: center;
}

.nv_success_message svg {
    margin-bottom: 14px;
    animation: scaleIn 0.5s ease-out;
}

.nv_success_message h3 {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 6px;
}

.nv_success_message p {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

/* Komerciniai Section */
.komerciniai {
    position: relative;
    padding: 96px 0;
    background-image: url(/wp-content/themes/termotec/images/komerciniai-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

.kom_content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.kom_heading {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 40px;
}

.kom_description {
    color: var(--Text-Inverse, #FFF);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 64px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.kom_form {
    display: flex;
    gap: 8px;
    max-width: 940px;
    margin: 0 auto;
    margin-bottom: 16px;
}

.kom_input, .kom_select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #FFFFFF;
    background: rgba(255, 255, 255, 0.95);
    color: #2C353D;
    font-size: 16px;
    line-height: 24px;
}

.kom_input:focus,
.kom_select:focus {
    outline: none;
    border-color: #FF642C;
    background: #FFFFFF;
}

.kom_input.error,
.kom_select.error {
    border-color: #FF0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
}

.kom_submit_btn {
    padding: 8px 24px;
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.kom_submit_btn:hover {
    background: #E5531F;
    border-color: #E5531F;
}

.kom_privacy {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 64px;
}

.kom_privacy a {
    color: #FFFFFF;
    text-decoration: underline;
}

.kom_privacy a:hover {
    color: #FF642C;
}

.kom_categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.kom_category {
    background: rgba(74, 109, 124, 0.80);
    padding: 16px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kom_category_text {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.kom_success_message {
    text-align: center;
    padding: 40px 20px;
}

.kom_success_message svg {
    margin-bottom: 24px;
    animation: scaleIn 0.5s ease-out;
}

.kom_success_message h3 {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 12px;
}

.kom_success_message p {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

/* Kaip Nesuklysti Section */
.kaip_nesuklysti {
    padding: 96px 0;
    background: #F8F8F8;
}

.kn_wrapper {
    display: flex;
    gap: 64px;
    align-items: stretch;
}

.kn_left {
    flex: 0 0 40%;
    align-self: stretch;
}

.kn_right {
    flex: 1;
}

.kn_image_wrapper {
    position: relative;
    overflow: hidden;
    background-image: url(/wp-content/themes/termotec/images/pdf-gidas.jpg);
    height: 100%;
    background-size: cover;
    background-position: center;
}
.kn_image_mobile{
    display: none;
}
.kn_image_wrapper img {
    width: 100%;
    height: auto;
    display: none;
}

.kn_image_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradients-gradient-2-inverse, linear-gradient(180deg, #002636 0%, #4A6D7C 100%));
    padding: 16px;
    text-align: center;
}

.kn_overlay_text {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.kn_label {
    color: #FF642C;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 8px;
    font-family: "Red Hat Display";
    font-size: 22px;
}

.kn_heading {
    color: #002636;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 48px;
}

.kn_description {
    margin-bottom: 24px;
    color: var(--Text-Primary, #2C353D);
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}
.kn_description p {
    margin: 0;
}

.kn_features {
    margin-bottom: 48px;
}

.kn_feature {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.kn_feature:last-child {
    margin-bottom: 0;
}

.kn_feature_icon {
    flex: 0 0 auto;
    width: 36px;
    height: 1px;
    background: #FF642C;
}

.kn_feature_text {
    color: #2C353D;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.kn_form_wrapper {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.kn_input {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid #D0D0D0;
    background: #FFFFFF;
    color: #2C353D;
    font-size: 16px;
    line-height: 24px;
}

.kn_input:focus {
    outline: none;
    border-color: #FF642C;
}

.kn_input.error {
    border-color: #FF0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.kn_submit_btn {
    padding: 7px 24px;
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.kn_submit_btn:hover {
    background: #E5531F;
    border-color: #E5531F;
}

.kn_privacy {
    color: #6B737A;
    font-size: 14px;
    line-height: 20px;
}

.kn_privacy a {
    color: #6B737A;
    text-decoration: underline;
}

.kn_privacy a:hover {
    color: #FF642C;
}

.kn_success_message {
    text-align: center;
    padding: 40px 20px;
}

.kn_success_message svg {
    margin-bottom: 24px;
    animation: scaleIn 0.5s ease-out;
}

.kn_success_message h3 {
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 12px;
}

.kn_success_message p {
    color: #4A6D7C;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

/* Projektai Section */
.projektai {
    padding: 96px 0;
    background: #EFEFEF;
}

.proj_heading {
    color: #002636;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 64px;
}

.proj_highlight {
    color: #FF642C;
}

.proj_icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.proj_icon_item {
    text-align: center;
}

.proj_icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.proj_icon_label {
    text-transform: uppercase;
    color: var(--Text-Primary, #2C353D);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}
.page-template-fullwidthpage .entry-title{
    font-family: "Red Hat Display";
    margin-bottom: 16px;
}
.page-template-fullwidthpage .entry-header{
    margin-bottom: 16px;
}
.proj_image {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.proj_image::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #efefef;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
}
.proj_image img {
    width: 100%;
    height: auto;
    display: block;
}
.proj_detail_box {
    background: #fff;
    padding: 12px 16px;
}
.proj_tag {
    background: #4A6D7C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    text-transform: uppercase;
    padding: 12px 16px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.proj_title {
    margin-bottom: 12px;
    color: var(--Text-Primary, #2C353D);
    font-family: "Red Hat Display";
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.proj_details {
    display: flex;
    justify-content: space-between;
    color: #2C353D;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}
.proj_detail {
    display: inline-block;
}

/* Owl Carousel Custom Styles for Projects */
.owl-nav{
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}

.owl-nav button{
    width: 48px;
    height: 48px;
    background: transparent !important;
    border: 2px solid #D0D0D0;
    color: #4A6D7C;
    font-size: 24px;
    transition: all 0.2s;
}

.owl-nav button:hover{
    border-color: #FF642C;
    color: #FF642C;
}

.owl-dots{
    text-align: center;
    margin-top: 13px;
}

.owl-dot{
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #D0D0D0 !important;
    margin: 0 6px;
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.2s;
}

.owl-dot.active, .owl-dot:hover{
    background: #FF642C !important;
}

/* Success Modal */
.success_modal_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.success_modal_overlay.active {
    display: flex;
}

.success_modal {
    background: #FFFFFF;
    max-width: 440px;
    width: 90%;
    padding: 24px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success_modal_content {
    text-align: center;
}

.success_modal_icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.success_modal_icon svg {
    animation: scaleIn 0.5s ease-out;
}

.success_modal_title {
    margin-bottom: 8px;
    color: var(--State-Success, #5F8F3E);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.success_modal_text {
    color: #2C353D;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
}

.success_modal_btn {
    padding: 7px 24px;
    background: #FF642C;
    border: 1px solid #FF642C;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.success_modal_btn:hover {
    background: #E5531F;
    border-color: #E5531F;
}

/* Slider Form Error States */
.sk_kasiltinti.error,
.sk_medziaga.error,
.sk_miestas.error,
.sk_tel.error {
    border-color: #FF0000 !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.sk_kasiltinti.error + .chosen-container .chosen-single,
.sk_medziaga.error + .chosen-container .chosen-single,
.sk_miestas.error + .chosen-container .chosen-single {
    border-color: #FF0000 !important;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

/* Atsiliepimai Section */
.atsiliepimai {
    padding: 96px 0;
    background: #EDF5F6;
}

.ats_heading {
    color: #002636;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 12px;
}

.ats_highlight {
    color: #FF642C;
}

.ats_subheading {
    color: #2C353D;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 64px;
}

.ats_item {
    background: #FFFFFF;
    padding: 24px;
    text-align: center;
}

.ats_stars {
    margin-bottom: 16px;
}

.ats_stars img {
    height: 24px;
    width: auto;
}

.ats_title {
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 16px;
}

.ats_text {
    color: #2C353D;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 16px;
}

.ats_author {
    margin-bottom: 16px;
}

.ats_author_dash {
    background: #FF642C;
    width: 24px;
    height: 1px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    top: -4px;
}

.ats_author_name {
    color: var(--Text-Primary, #2C353D);
    font-family: "Red Hat Display";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px /* 150% */;
}

.ats_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.ats_tags div {
    color: var(--Text-Primary, #2C353D);
    font-family: "Red Hat Display";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px /* 150% */;
    display: inline-block;
    padding: 4px 8px;
    background: var(--Background-Section, #EFEFEF);
}
.nv_form_img_mobile, .nv_form_card_mobile{
    display: none;
}
.siltinimas_mobile_sep{
    display: none;
}
.siltinimas_ilgam{
    background-image: url(/wp-content/themes/termotec/images/siltinimas-ilgam.jpg);
    padding: 40px 15px;
    color: #fff;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    background-size: cover;
}
.siltinimas_ilgam span{
    color: var(--Brand-Primary, #FF642C);
}
.dirbame_text {
    color: var(--Text-Primary, #2C353D);
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}
.dirbame_lietuvoje{
    background: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 0 15px;
    padding-bottom: 40px;

}
.owl-nav .owl-next{
    position: absolute;
    right: 0;
}
.owl-nav .owl-prev{
    position: absolute;
    left: 0;
}
.owl-nav .owl-next.disabled svg,
.owl-nav .owl-prev.disabled svg{
    opacity: 0.4;
}

/* Naudinga Section */
.naudinga {
    padding: 96px 0;
    background: #F8F8F8;
}
.naud_heading {
    margin-bottom: 8px;
    color: var(--Accent-Main, #002636);
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px /* 122.222% */;
}

.naud_subheading {
    margin-bottom: 64px;
    color: var(--Brand-Primary, #FF642C);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.naud_grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

.naud_item {
    background: #FFFFFF;
    overflow: hidden;
}

.naud_item_featured {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.naud_featured_overlay {
    background: rgba(0, 38, 54, 0.9);
    padding-top: 12px;
    width: 100%;
}

.naud_item_featured .naud_title a {
    color: #FFFFFF;
}

.naud_item_featured .naud_title a:hover {
    color: #FF642C;
}

.naud_item_featured .naud_excerpt {
    color: #FFFFFF;
}

.naud_image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 16px;
}

.naud_image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.naud_image a:hover img {
    transform: scale(1.05);
}

.naud_category {
    margin-bottom:4px;
    padding: 0 16px;
}

.naud_category a {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--Brand-Primary, #FF642C);
    font-size: 12px;
    line-height: 18px /* 150% */;
}

.naud_category a:hover {
    color: #E5531F;
}

.naud_title {
    padding: 0 16px;
    margin-bottom: 16px;
    line-height: 22px;
}

.naud_title a {
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    text-decoration: none;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
}

.naud_title a:hover {
    color: #FF642C;
}

.naud_excerpt {
    color: #2C353D;
    font-size: 12px;
    line-height: 18px;
    padding: 0 16px 16px;
}

.naud_button_wrap {
    text-align: center;
}

.naud_more_btn {
    display: inline-block;
    padding: 6px 23px;
    background: #fff;
    border: 2px solid #FF642C;
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
}

.naud_more_btn:hover {
    background: #FF642C;
    color: #FFFFFF;
}

/* Inner Page Heading */
.inner_page_heading {
    position: relative;
    padding: 136px 0;
    background-image: url('/wp-content/themes/termotec/images/apie-mus.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner_page_heading .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.iph_heading {
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 32px;
}
.iph_heading span{
    color: #FF642C;
}
.iph_subheading {
    font-family: "Red Hat Display", sans-serif;
    color: #FFFFFF;
    font-size: 28px;
    line-height: 36px;
    max-width: 880px;
    margin: 0 auto;
}

/* Ticker Animation */
.iph_ticker {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: #002636;
    padding: 32px 0;
}

.iph_ticker_track {
    display: flex;
    gap: 100px;
    animation: ticker-scroll 60s linear infinite;
    width: max-content;
    will-change: transform;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.iph_ticker_item {
    font-family: "Red Hat Display", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    text-transform: uppercase;
    white-space: nowrap;
    color:#fff;
    display: flex;
}

.iph_ticker_item:nth-child(4n+4) {
    color: #FF642C;
}

/* Igyvendinta Section */
.igyvendinta {
    padding: 96px 0;
    background: #F8F8F8;
    text-align: center;
}

.igy_label {
    color: #FF642C;
    margin-bottom: 16px;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.igy_heading {
    color: #002636;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 64px;
}

.igy_number_wrap {
    margin-bottom: 32px;
}

.igy_number {
    color: #002636;
    font-size: 200px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 64px;
    position: relative;
}
.igy_number > div{
    display: inline-block;
    position: relative;
}
.igy_number_label {
    position: absolute;
    right: -30px;
    padding: 12px 16px;
    top: calc(50% - 30px);
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    background: #f8f8f8;
}

.igy_text {
    max-width: 880px;
    margin: 0 auto;
    color: var(--Accent-Main, #002636);
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}
.igy_text p {
    margin-bottom: 0;
}
.gausite {
    background: #EFEFEF;
    padding: 96px 0;
}
.gausite_h.rh {
    color: var(--Accent-Main, #002636);
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px /* 122.222% */;
    margin-bottom: 80px;
}
.gausite_owl .owl-stage-outer,
.gausite_owl2 .owl-stage-outer{
    padding-top: 33px;
}
/* Sertifikatai Block */
.sertifikatai {
    padding: 96px 0;
    background-image: url('/wp-content/themes/termotec/images/sertifikatai.jpg');
    background-size: cover;
    background-position: center;
}


.sert_heading.rh {
    font-size: 36px;
    font-weight: 700;
    color: #FF642C;
    text-align: center;
    margin-bottom: 0;
    line-height: 44px;
}
.sert_subh.rh {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.sert_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sert_card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: white;
}

.sert_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sert_card_image {
    position: relative;
    width: 100%;
    padding-bottom: 141.4%; /* A4 ratio */
    overflow: hidden;
    background: white;
}

.sert_card_image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sert_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 53, 61, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.sert_card:hover .sert_card_overlay {
    background: rgba(44, 53, 61, 0.7);
    opacity: 1;
}

.sert_card_overlay svg {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.sert_card:hover .sert_card_overlay svg {
    transform: scale(1);
}

/* PDF Modal */
.pdf_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pdf_modal_overlay.active {
    opacity: 1;
    visibility: visible;
}

.pdf_modal {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pdf_modal_overlay.active .pdf_modal {
    transform: scale(1);
}

.pdf_modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.pdf_modal_title.rh {
    font-size: 24px;
    font-weight: 700;
    color: #2C353D;
    margin: 0;
}

.pdf_modal_close {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #fff;
    position: absolute;
    right: -10px;
    top: -40px;
}

.pdf_modal_close:hover {
    color: #FF642C;
}

.pdf_modal_content {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 600px;
}

.pdf_modal_content iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
}
.sert_t{
    color: #fff;
    text-align: center;
    margin-bottom: 64px;
    line-height: 26px;
    font-size: 16px;
}
/* Komanda Block */
.komanda {
    padding: 96px 0;
    background: #ffffff;
}
/* â”€â”€ TOP: director + content â”€â”€ */
.komanda_top {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 64px;
}

/* Director photo card */
.komanda_director {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.director_image {
    position: relative;
    width: 100%;
}

.director_image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Name / title sitting inside the photo, bottom-left */
.director_name_box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 38, 54, 0.00) 3%, #002636 100%);
}

.director_name.rh {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 26px;
}

.director_title.rh {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    line-height: 30px;
}

/* Right-hand content */
.komanda_director_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.team_member_image::after, .director_image::after{
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #fff;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
}
.komanda_heading.rh {
    font-size: 36px;
    font-weight: 700;
    color: #002636;
    line-height: 44px;
    margin-bottom: 64px;
}
.komanda_heading span{
    color: #FF642C;
}
.komanda_text {
    margin-bottom: 28px;
}

.komanda_text p {
    font-size: 16px;
    font-style: normal;
    line-height: 26px /* 162.5% */;
    margin-bottom: 14px;
}
.komanda_text p:first-child {
    color: var(--Text-Primary, #2C353D);
    font-family: "Red Hat Display";
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 24px;
}

/* Stats row â€“ horizontal dark pills */
.komanda_stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.komanda_stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #002636;
}

.komanda_stat svg path {
    stroke: #ffffff;
}

.komanda_stat span.rh {
    font-family: "Red Hat Display";
    font-size: 18px;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
    color: #ffffff;
    white-space: nowrap;
}

/* â”€â”€ TEAM CAROUSEL â”€â”€ */
.komanda_team {
    position: relative;
}

/* Hide the heading â€“ not in the design */
.komanda_team_heading.rh {
    display: none;
}

/* Team member card */
.team_member {
    background: #ffffff;
    overflow: hidden;
}

.team_member_image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #dce4ec;
}


/* Name/role overlay sits inside the image at the bottom */
.team_member_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 38, 54, 0.00) 40%, #002636 100%);
    text-align: center;
}

.team_member_name.rh {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 26px;
}

.team_member_role.rh {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #ffffff;
}

/* Badges below the card */
.team_member_badges {
    padding: 8px 8px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    font-family: 'Red Hat Display', sans-serif;
}

.team_badge {
    background: #ffffff;
    border: 1px solid #4A6D7C;
    padding: 4px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #4A6D7C;
    white-space: nowrap;
}

.team_badge_full {
    width: 100%;
    text-align: center;
}

/* Nav arrows â€“ orange, outside the carousel */
.komanda_team {
    position: relative;
}


/* -- Kontaktai Page -- */
.kontaktai_page {
    padding: 96px 0;
    background: #F8F8F8;
}

.kontaktai_inner {
    overflow: hidden;
    display: flex;
    gap: 104px;
    align-items: flex-start;
}
.kontaktai_left{
    flex: 1;
}
.kontaktai_right{
    flex: 0 0 750px;
    position: relative;
}
/* Left column */
.kontaktai_contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.kontaktai_contact_row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.kontaktai_contact_row svg {
    flex-shrink: 0;
    opacity: 0.75;
}

.kontaktai_contact_value.rh {
    font-size: 28px;
    font-weight: 600;
    color: #2C353D;
    line-height: 36px;
    text-decoration: none;
}

a.kontaktai_contact_value.rh:hover {
    color: #FF642C;
}

.kontaktai_hr {
    border: none;
    border-top: 1px solid #4A6D7C;
    margin: 0 0 16px;
}

.kontaktai_rekvizitai {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kontaktai_rek_heading.rh {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    color: #0D2137;
    margin-bottom: 8px;
}

.kontaktai_rek_text {
    font-size: 16px;
    line-height: 26px;
    color: #002636;
}
.kontaktai_form_card::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #F8F8F8;
    display: block;
    position: absolute;
    top: -6px;
    right: -25px;
    transform: rotate(-135deg);
}
/* Right column - dark card */


.kontaktai_form_card {
    background-image: url('/wp-content/themes/termotec/images/kontaktai-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 24px;
    position: relative;
}


.kontaktai_dirbame {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-bottom: 24px;
}

.kontaktai_dirbame span {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px /* 128.571% */;
    color: #fff;
}

.kontaktai_form_title.rh {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 44px;
    margin-bottom: 8px;
}

.kontaktai_form_title span {
    color: #FF642C;
}

.kontaktai_form_subtitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 26px;
    font-family: "Red Hat Display";
    font-weight: 600;
}

.kontaktai_form_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.kontaktai_input {
    width: 100%;
    background: #ffffff;
    border: 2px solid #fff;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 26px;
    color: #0D2137;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.kontaktai_input::placeholder {
    color: #aab0bb;
}

.kontaktai_input:focus {
    border-color: #FF642C;
}

.kontaktai_input.error {
    border-color: #e53935 !important;
}

select.kontaktai_input {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23aab0bb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

textarea.kontaktai_input {
    width: 100%;
    min-height: 104px;
    margin-bottom: 24px;
    display: block;
}

.kontaktai_submit_btn.rh {
    width: 100%;
    background: #FF642C;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0.32px;
    cursor: pointer;
    transition: background 0.2sease;
    margin-bottom: 12px;
}

.kontaktai_submit_btn.rh:hover {
    background: #e0521c;
}

.kontaktai_form_privacy {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
}

.kontaktai_form_privacy a {
    color: #fff;
    text-decoration: underline;
}
.page-template-kontaktai .dirbame_visoje{
    display: none;
}
select {
    background: #fff;
    border: 1px solid transparent;
    padding: 10px 12px;
    border-radius: 0 !important;
}



/* -- Poliuretanas Hero -- */
.poliuretanas_hero {
    position: relative;
    min-height: 560px;
    background: url('/wp-content/themes/termotec/images/poliuretano-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 120px 0;
}

.poliuretanas_hero .container {
    position: relative;
    z-index: 1;
}

.pol_hero_inner {
    display: grid;
    grid-template-columns: 680px 1fr;
    gap: 64px;
}

/* Left */
.pol_hero_logo {
    margin-bottom: 32px;
}


.pol_hero_logo_sub {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.3px;
}
.pol_form_card{
    background: rgba(74, 109, 124, 0.50);
    padding: 16px;
    margin-bottom: 12px;
}
.pol_hero_heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 56px;
    margin-bottom: 64px;
}

.pol_hero_heading_orange {
    color: #FF642C;
}

.pol_hero_cta {
    display: inline-block;
    background: #FF642C;
    color: #ffffff;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-decoration: none;
    transition: background 0.2sease;
}

.pol_hero_cta:hover {
    background: #e0521c;
    color: #ffffff;
    text-decoration: none;
}
.pol_hero_right {
    margin-top: 90px;
}
.pol_form_label {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 30px;
    font-weight: 600;
}

.pol_form_card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.pol_input {
    width: 100%;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 0;
    padding: 7px 12px;
    font-size: 16px;
    line-height: 20px;
    color: #0D2137;
    outline: none;
    transition: border-color 0.2sease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.pol_input::placeholder {
    color: #aab0bb;
}

.pol_input:focus {
    border-color: #FF642C;
}

.pol_input.error {
    border-color: #e53935 !important;
}

select.pol_input {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%232C353D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.pol_submit_btn.rh {
    width: 100%;
    background: #A0BABB;
    outline: none;
    box-shadow: none;
    border: none;
    color: #2C353D;
    border-radius: 0;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.32px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 12px;
}

.pol_submit_btn.rh:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.pol_form_privacy {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
}

.pol_form_privacy a {
    color: #fff;
    text-decoration: underline;
}

/* -- Poliuretanas Punktai -- */
.poliuretanas_punktai {
    padding: 96px 0;
    background: #F8F8F8;
}

.punk_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Dark cards */
.punk_card {
    overflow: hidden;
    position: relative;
}
.punk_card::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #f8f8f8;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
}
.punk_card_dark {
    background: linear-gradient(180deg, #002636 0%, #4A6D7C 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.punk_card_title.rh {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 36px;
}

.punk_card_text {
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    margin-bottom: 32px;
}

.punk_card_bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.punk_card_stat_value.rh {
    font-size: 72px;
    font-weight: 700;
    color: #EDF5F6;
    line-height: 80px;
}
.punk_card_stat_value.rh.punk_card_stat_value_small{
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px /* 166.667% */;
}
.punk_card_stat_value.rh sup {
    font-size: 34px;
    vertical-align: super;
    font-weight: 700;
    top: -4px;
    left: -6px;
}

.punk_card_stat_label {
    font-size: 22px;
    color: #EDF5F6;
    font-weight: 600;
    line-height: 30px;
    font-family: "Red Hat Display", sans-serif;
}

.punk_card_icon {
    flex-shrink: 0;
}

/* Image card */
.punk_card_image {
    position: relative;
    min-height: 280px;
}

.punk_card_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.punk_card_image_content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 1;
}


/* -- Poliuretanas Video Blocks -- */
.poliuretanas_video_blocks {
    padding: 96px 0;
    background: #EFEFEF;
}

.pvb_inner {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 64px;
}

/* Left */
.pvb_heading.rh {
    font-size: 36px;
    font-weight: 700;
    color: #2C353D;
    line-height: 44px;
    margin-bottom: 40px;
}

.pvb_heading_orange {
    color: #FF642C;
}

.pvb_atspari {
    margin-bottom: 28px;
}

.pvb_atspari_label {
    margin-bottom: 48px;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.pvb_atspari_icons {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 90px;
}

.pvb_atspari_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pvb_atspari_item span {
    color: #2C353D;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}

.pvb_text {
    margin-bottom: 90px;
    color: var(--Text-Primary, #2C353D);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}

.pvb_btn.rh {
    display: inline-block;
    text-align: center;
    width: 100%;
    background: #FF642C;
    color: #ffffff;
    padding: 8px 12px;
    line-height: 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.32px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.pvb_btn.rh:hover {
    background: #e0521c;
    color: #ffffff;
    text-decoration: none;
}

/* Right – video columns */
.pvb_videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.pvb_video_col_left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pvb_video_col_right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Labels above/below videos */
.pvb_video_title.rh {
    margin-bottom: 8px;
    color: var(--Accent-Main, #002636);
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

.pvb_video_desc {
    margin-bottom: 8px;
    color: var(--Text-Primary, #2C353D);
    font-size: 16px;
    line-height: 26px /* 162.5% */;
}

.pvb_video_tag {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #FF642C;
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: "Red Hat Display";
}
.pvb_video_tag_orange {
    color: #FF642C;
}

.pvb_video_line {
    display: inline-block;
    flex: 1;
    height: 1px;
    background: #FF642C;
    opacity: 1;
}

.pvb_video_line_orange {
    background: #FF642C;
    opacity: 1;
}

/* Video thumbnail */
.pvb_video_thumb {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.pvb_video_col_left .pvb_video_thumb {
    height: 520px;
}

.pvb_video_col_right .pvb_video_thumb {
    height: 520px;
}


.pvb_video_thumb:hover::before {
    background: rgba(10, 25, 47, 0.5);
}

.pvb_video_play {
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.pvb_video_thumb:hover .pvb_video_play {
    transform: scale(1.08);
}

/* YouTube Video Modal */
.video_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video_modal_overlay.active {
    opacity: 1;
    visibility: visible;
}

.video_modal {
    position: relative;
    width: 100%;
    max-width: 960px;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.video_modal_overlay.active .video_modal {
    transform: scale(1);
}

.video_modal_close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.video_modal_close:hover {
    opacity: 1;
}

.video_modal_content {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.video_modal_content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* -- Termlock Privalumai -- */
.termlock_privalumai {
    padding: 96px 0;

    position: relative;
    background: url('/wp-content/themes/termotec/images/termlock-privalumai.jpg') center/cover no-repeat;
}
.tpr_inner {
    position: relative;
    z-index: 1;
}

.tpr_top {
    display: grid;
    grid-template-columns: 640px 1fr;
    gap: 120px;
    align-items: end;
    margin-bottom: 64px;
}

/* Logo + heading inline */
.tpr_heading_wrap {
}

.tpr_logo {
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    display: inline;
    margin-right: 24px;
    position: relative;
    top: -5px;
}

.tpr_heading.rh {
    display: inline;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 44px;
    margin: 0;
}

.tpr_heading_orange {
    color: #FF642C;
}

/* Right description */
.tpr_desc {
    font-size: 16px;
    line-height: 26px;
    color: #fff;
}

/* Feature cards row */
.tpr_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tpr_card {
    background: rgba(74, 109, 124, 0.80);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: background 0.2s ease;
}

.tpr_card:hover {
    background: rgba(255,255,255,0.13);
}

.tpr_card_icon {
    flex-shrink: 0;
}

.tpr_card_text.rh {
    color: var(--Text-Inverse, #FFF);
    font-family: "Red Hat Display";
    font-size: 18px;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}

/* -- Sandarumas Block -- */
.sandarumas {
    padding: 96px 0;
    background: #F8F8F8;
}

.sand_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

/* Left */
.sand_logo {
    margin-bottom: 16px;
    display: block;
}

.sand_heading.rh {
    font-size: 36px;
    font-weight: 700;
    color: #002636;
    line-height: 44px;
    margin-bottom: 90px;
}

.sand_heading_orange {
    color: #FF642C;
}

.sand_items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sand_item {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sand_item_icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sand_item_text.rh {
    color: var(--Text-Primary, #2C353D);
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}

/* Right – dark form card */
.sand_form_card {
    background-image: url('/wp-content/themes/termotec/images/sandarumas-form.jpg');
    background-size: cover;
    background-position: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.sand_form_card::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #f8f8f8;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
}
.sand_stat.rh {
    display: flex;
    align-items: flex-start;
    line-height: 1;
    justify-content: center;
    margin-top: 24px;
}

.sand_stat_num {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    line-height: 80px;
}

.sand_stat_pct {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 7px;
}

.sand_stat_desc.rh {
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px /* 128.571% */;
    padding: 0 20px;
}

.sand_form_label {
    color: var(--Text-Inverse, #FFF);
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 48px;
}

.sand_form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sand_form_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sand_input {
    width: 100%;
    background: #ffffff;
    border: 2px solid transparent;
    padding: 7px 12px;
    font-size: 16px;
    line-height: 26px /* 162.5% */;
    color: #2C353D;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.sand_input::placeholder {
    color: #aab0bb;
}

.sand_input:focus {
    border-color: #FF642C;
}

.sand_input.error {
    border-color: #e53935 !important;
}

select.sand_input {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%232C353D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.sand_submit_btn.rh {
    width: 100%;
    background: #FF642C;
    color: #ffffff;
    border: none;
    padding: 8px 13px;
    font-size: 16px;
    line-height: 24px /* 150% */;
    font-weight: 700;
    letter-spacing: 0.32px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sand_submit_btn.rh:hover {
    background: #e0521c;
}

.sand_privacy {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
    margin-top: 4px;
}

.sand_privacy a {
    color: #fff;
    text-decoration: underline;
}
.gausite_putos .gausite_h.rh{
    margin-bottom: 16px;
}
.gausite_putos .gausite_h.rh span{
    color: #FF642C;
    display: inline-block;
}
.gausite_putos .gausite_subh{
    color: var(--Text-Primary, #2C353D);
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 80px;
}
.gausite_putos .h_blokelis{
    background: var(--Gradients-Gradient, linear-gradient(180deg, #EDF5F6 0%, #778D96 64.9%, #002636 100%));
}
.gausite_putos .h_blokelis_h.rh{
    font-size: 28px;
    font-weight: 600;
    line-height: 36px /* 128.571% */;
    color: var(--Accent-Main, #002636);
    min-height: inherit;
    margin-bottom: 50px;
}
.gausite_owl2 .h_blokelis::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #EFEFEF;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
}
.biri_vata .poliuretanas_hero{
    background: url(/wp-content/themes/termotec/images/biri-bg.jpg) center / cover no-repeat;
}
.biri_vata .pol_hero_sub{
    color: var(--Text-Inverse, #FFF);
    font-size: 36px;
    font-weight: 700;
    line-height: 44px /* 122.222% */;
    margin-bottom: 64px;
}
.biri_vata .pol_hero_heading{
    margin-bottom: 24px;
}
.biri_vata .pol_hero_right{
    margin-top: 30px;
}
.biri_vata .h_blokelis_h.rh{
    min-height: inherit;
}
.biri_vata .gausite_owl  .owl-stage{
    display: flex;
}
.biri_vata .gausite_owl .h_blokelis {
    height: 100%;
    padding-bottom: 24px;
}
.biri_vata .blokelis_flex{
    display: flex;
    flex-direction: column;
}
.gausite_h.rh span{
    color: #FF642C;
}
.biri_vata .gausite_h.rh{
    margin-bottom: 40px;
}
.biri_vata .gausite_subh{
    text-align: center;
    margin-bottom: 55px;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
}
.biri_vata .gausite_subh div:first-child{
    color: #FF642C;
}
.biri_vata .h_blokelis_t{
    margin-bottom: 0;
}
.biri_vata .kn_image_wrapper{
    background-image: url(/wp-content/themes/termotec/images/vata-bg.jpg);
}
.biri_vata .nemokamas_vertinimas{
    background: #EFEFEF;
}
/* -- Kuri Vata Block -- */
.kuri_vata {
    padding: 96px 0;
     background: #F8F8F8;
}

.kv_header {
    text-align: center;
    margin-bottom: 64px;
}
.kv_label.rh {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #FF642C;
    margin-bottom: 8px;
}

.kv_heading.rh {
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    color: #002636;
}

.kv_inner {
    display: grid;
    grid-template-columns: 1fr 640px;
    gap: 40px;
    align-items: start;
}

/* Accordion */
.kv_accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kv_acc_item {
    overflow: hidden;
    transition: background 0.3s ease;
    background: #fff;
    margin-bottom: 16px;
}
.kv_acc_item:last-child{
    margin-bottom: 0;
}

.kv_acc_item_active {
    background: #0D2137;
    border-color: #0D2137;
}

.kv_acc_item_active + .kv_acc_item {
    border-top: none;
}

.kv_acc_trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    user-select: none;
}

.kv_acc_title.rh {
    font-size: 22px;
    font-weight: 600;
    color: #2C353D;
    transition: color 0.2s ease;
    line-height: 30px /* 136.364% */;
    display: block;
    width: 100%;
}

.kv_acc_item_active .kv_acc_title.rh {
    color: #ffffff;
}
.kv_acc_item_active .kv_acc_title.rh::after{
    content: "";
    display: block;
    height: 1px;
    background: #FFF;
    width: 50%;
    margin-top: 16px;
}
.kv_acc_arrow {
    font-size: 20px;
    color: #0D2137;
    transition: color 0.2s ease, transform 0.3s ease;
    line-height: 1;
}

.kv_acc_item_active .kv_acc_arrow {
    display: none;
}

/* Body – hidden by default, shown when active */
.kv_acc_body {
    display: none;
    padding: 0 24px 24px;
}

.kv_acc_item_active .kv_acc_body {
    display: block;
}

.kv_acc_desc {
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    margin-bottom: 16px;
}

.kv_acc_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Red Hat Display', sans-serif;
}

.kv_acc_list li {
    color: #fff;
    padding-left: 35px;
    position: relative;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px /* 150% */;
}
.kv_right {
    height: 100%;
}
.kv_acc_list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 1px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='1' viewBox='0 0 24 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='24' y1='0.5' x2='-4.37114e-08' y2='0.499998' stroke='%23A0BABB'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Right – image + form card */
.kv_form_card {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.kv_form_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,25,47,0.1) 0%, rgba(10,25,47,0.88) 60%);
}

.kv_form_content {
    position: relative;
    z-index: 1;
    padding: 24px;
    text-align: center;
}

.kv_form_title.rh {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    line-height: 36px;
    margin-bottom: 4px;
}

.kv_form_subtitle.rh {
    font-size: 22px;
    font-weight: 600;
    color: #FF642C;
    margin-bottom: 16px;
    line-height: 30px;
}

.kv_form_row {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.kv_input {
    flex: 1;
    background: #ffffff;
    border: 2px solid transparent;
    padding: 7px 12px;
    font-size: 16px;
    color: #2C353D;
    outline: none;
    line-height: 26px /* 162.5% */;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.kv_input::placeholder {
    color: #aab0bb;
}

.kv_input:focus {
    border-color: #FF642C;
}

.kv_input.error {
    border-color: #e53935 !important;
}

.kv_submit_btn.rh {
    background: #FF642C;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0.32px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.kv_submit_btn.rh:hover {
    background: #e0521c;
}

.kv_privacy {
    font-size: 14px;
    color: #fff;
    line-height: 20px;
}

.kv_privacy a {
    color: #fff;
    text-decoration: underline;
}


/* -- Vata Konstrukcijos Carousel -- */
.vata_konstrukcijos {
    padding: 96px 0;
    background: #ffffff;
    position: relative;
}

.vk_heading.rh {
    font-size: 36px;
    font-weight: 700;
    color: #002636;
    text-align: center;
    margin-bottom: 64px;
    line-height: 44px;
}

.vk_heading_orange {
    color: #FF642C;
}

.vk_slide {
    display: block;
}
.vk_slide::after {
    content: "";
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid #fff;
}
.vk_slide_image {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.vk_slide_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,25,47,0.1) 0%, rgba(10,25,47,0.75) 70%);
}

.vk_slide_content {
    position: relative;
    z-index: 1;
    padding: 24px;
    width: 100%;
}

.vk_slide_title.rh {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 30px;
}

.vk_slide_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vk_slide_list li {
    font-size: 16px;
    color: #fff;
    padding-left: 30px;
    position: relative;
    font-weight: 600;
    line-height: 24px;
    font-family: 'Red Hat Display', sans-serif;
}

.vk_slide_list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 1px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='1' viewBox='0 0 24 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='24' y1='0.5' x2='-4.37114e-08' y2='0.499998' stroke='%23A0BABB'/%3E%3C/svg%3E") center/contain no-repeat;
}
.biri_vata .nv_right::after{
    border-top: 50px solid #efefef;
}
.kv_form_card::after {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 65px solid transparent;
    border-right: 84px solid transparent;
    border-top: 50px solid #f8f8f8;
    display: block;
    position: absolute;
    top: -17px;
    right: -50px;
    transform: rotate(-128deg);
}

/* -- Vata Video Block -- */
.vata_video {
    position: relative;
    background: url('/wp-content/themes/termotec/images/antras-bandymas.jpg') center/cover no-repeat;
    padding: 96px 0;
}


.vata_video .container {
    position: relative;
    z-index: 1;
}

.vv_top {
    text-align: center;
    margin-bottom: 80px;
}

.vv_heading.rh {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 44px;
    margin-bottom: 0;
}

.vv_heading_orange {
    color: #FF642C;
}

/* Stats row */
.vv_stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.vv_stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.vv_stat_icon {
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv_stat_value.rh {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.vv_stat_label.rh {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 26px;
}

.vv_stat_content .vv_stat_label.rh {
    margin-top: 12px;
    margin-bottom: 0;
}

/* Video section */
.vv_video_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.vv_video_container {
    position: relative;
    width: 100%;
    max-width: 800px;
    cursor: pointer;
}

.vv_video_thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.vv_video_container:hover .vv_video_thumbnail {
    transform: scale(1.02);
}

.vv_video_overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.4);
}

.vv_video_play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.vv_video_container:hover .vv_video_play {
    transform: translate(-50%, -50%) scale(1.1);
}

.vv_video_text.rh {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    z-index: 2;
}

/* Video iframe */
.vv_video_iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.vv_video_iframe iframe {
    width: 100%;
    height: 100%;
}

/* Button */
.vv_video_btn.rh {
    display: inline-block;
    background: #FF642C;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0.32px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    min-width: 385px;
}

.vv_video_btn.rh:hover {
    background: #e0521c;
    color: #ffffff;
    text-decoration: none;
}
.biri_vata .paz_video_section{
    margin-bottom: 80px;
}
.biri_cta{
    text-align: center;
}

/* ================================================
   LOCAL VERTICAL VIDEO MODAL
   ================================================ */

.local_video_modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.local_video_modal_overlay.active {
    opacity: 1;
    visibility: visible;
}

.local_video_modal {
    position: relative;
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
}

.local_video_modal video {
    display: block;
    max-height: 88vh;
    max-width: 90vw;
    width: auto;
    height: auto;
}

.local_video_modal_close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.local_video_modal_close:hover path {
    stroke: #FF642C;
}

/* ================================================
   NAUDINGA - Landing Page
   ================================================ */

.naudinga_landing {
    background: #f8f8f8;
    padding: 96px 0;
    overflow: hidden;
}

/* Hero */
.naudinga_landing_hero {
    text-align: center;
    margin-bottom: 64px;
}

.naudinga_landing_title {
    color: #002636;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 8px;
}

.naudinga_landing_title_accent {
    color: #FF642C;
}

.naudinga_landing_sub {
    color: #002636;
    font-size: 22px;
    line-height: 30px;
    margin: 0;
    font-family: "Red Hat Display";
    font-weight: 600;
}

/* Grid: 4 columns, CTA at position 4 */
.naudinga_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Post card — matches .naudinga_vidinis_rel_card styles */
.naudinga_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    height: 100%;
}

.naudinga_card:hover {
    text-decoration: none;
}

.naudinga_card_img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #EDF5F6;
    flex-shrink: 0;
}

.naudinga_card_img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.naudinga_card_img::after {
     content: "";
     width: 0px;
     height: 0px;
     display: block;
     position: absolute;
     top: -8px;
     right: -32px;
     transform: rotate(-135deg);
     border-left: 38px solid transparent;
     border-right: 38px solid transparent;
     border-top: 38px solid rgb(248, 248, 248);
 }

.naudinga_card_no_img {
    width: 100%;
    height: 100%;
    background: #EDF5F6;
}

.naudinga_card_badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: #002636;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.naudinga_card_badge.video_badge {
    background: #FF642C;
}

.naudinga_card_info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.naudinga_card_cat {
    color: #FF642C;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 18px;
}

.naudinga_card_cat a {
    color: #FF642C;
}

.naudinga_card_cat a:hover {
    color: #E5531F;
}

.naudinga_card_img_link {
    display: block;
}

.naudinga_card_title {
    display: block;
    color: #2C353D;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 16px;
}

.naudinga_card_title:hover {
    color: #FF642C;
}
.naudinga_landing_title span{
    color: #FF642C;
}
.naudinga_card_excerpt {
    color: #2C353D;
    font-size: 12px;
    line-height: 18px;
}

/* CTA block in grid (position 4) */
.naudinga_grid_cta {
    background: url(/wp-content/themes/termotec/images/biri-bg.jpg) center / cover no-repeat;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 100%;
    position: relative;
}
.naudinga_grid_cta::after {
    content: "";
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid rgb(248, 248, 248);
}
.naudinga_grid_cta .nv_cta_icon_wrap {
    margin-bottom: 16px;
}

.naudinga_grid_cta .nv_cta_heading {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
}

.naudinga_grid_cta .nv_cta_subtext {
    margin-bottom: 16px;
}

.naudinga_grid_cta .nv_cta_outline_btns {
    margin-bottom: 14px;
}

.naudinga_grid_cta .nv_cta_main_btn {
    width: 100%;
}

/* Pagination */
.naudinga_pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.naudinga_pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #002636;
    font-size: 15px;
    font-weight: 600;
    font-family: "Red Hat Display", sans-serif;
    border: 1px solid #D0D8DC;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.naudinga_pagination .page-numbers:hover,
.naudinga_pagination .page-numbers.current {
    background: #FF642C;
    color: #fff;
    border-color: #FF642C;
}

.naudinga_pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}

.naudinga_empty {
    text-align: center;
    color: #6B737A;
    font-size: 16px;
    padding: 40px 0;
}



/* ================================================
   NAUDINGA - Single Post Template
   ================================================ */

.naudinga_vidinis {
    padding: 96px 0;
    background: #F8F8F8;
}

.naudinga_vidinis_inner {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* --- Main Content Column --- */
.naudinga_vidinis_main {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 64px;
}

.naudinga_vidinis_cat {
    color: #FF642C;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
}

.naudinga_vidinis_cat a {
    color: #FF642C;
}

.naudinga_vidinis_cat a:hover {
    color: #E5531F;
}

.naudinga_vidinis_title {
    color: #002636;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 16px;
    text-align: center;
}

.naudinga_vidinis_date {
    color: #6B737A;
    margin-bottom: 40px;
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 18px;
    font-weight: 600;
    line-height: 26px /* 144.444% */;
}

.naudinga_vidinis_feat_img {
    width: 100%;
    margin-bottom: 32px;
    position: relative;
}

.naudinga_vidinis_feat_img img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 320px;
    object-fit: cover;
}

.naudinga_vidinis_content {
    color: #2C353D;
    font-size: 16px;
    line-height: 26px;
}
.naudinga_vidinis_content iframe{
    margin-top: 24px;
    margin-bottom: 24px;
}
.naudinga_vidinis_content h4 {
    font-family: "Red Hat Display";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px /* 136.364% */;
    margin-bottom: 16px;
    margin-top: 16px;
}
.naudinga_vidinis_content p {
    margin-bottom: 8px;
}

.naudinga_vidinis_content h2,
.naudinga_vidinis_content h3 {
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.naudinga_vidinis_content h2 {
    font-size: 28px;
    line-height: 36px;
}

.naudinga_vidinis_content h3 {
    font-size: 22px;
    line-height: 30px;
}

.naudinga_vidinis_content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 24px;
}

.naudinga_vidinis_content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    margin-bottom: 24px;
}

.naudinga_vidinis_content b,
.naudinga_vidinis_content strong {
    font-weight: 700;
    color: #002636;
}

/* Share */
.naudinga_vidinis_hr {
    border: none;
    border-top: 1px solid #4A6D7C;
    margin: 40px 0 12px 0;
    width: 40%;
}

.naudinga_vidinis_share_label {
    color: #2C353D;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: "Red Hat Display";
}

.naudinga_vidinis_share_icons {
    display: flex;
    gap: 12px;
}

.naudinga_vidinis_share_icon svg rect,
.naudinga_vidinis_share_icon svg path,
.naudinga_vidinis_share_icon svg circle {
    transition: stroke 0.2s;
}

.naudinga_vidinis_share_icon:hover svg rect,
.naudinga_vidinis_share_icon:hover svg path,
.naudinga_vidinis_share_icon:hover svg circle {
    stroke: #FF642C;
}

/* --- Sidebar Column --- */
.naudinga_vidinis_sidebar {
    flex: 0 0 320px;
    width: 320px;
    overflow: hidden;
}

/* CTA Box */
.naudinga_vidinis_cta_box {
    background: url(/wp-content/themes/termotec/images/biri-bg.jpg) center / cover no-repeat;
    padding: 24px;
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}
.naudinga_vidinis_cta_box::after, .naudinga_vidinis_rel_img::after,
.naudinga_vidinis_feat_img::after{
    content: "";
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    top: -8px;
    right: -32px;
    transform: rotate(-135deg);
    border-left: 38px solid transparent;
    border-right: 38px solid transparent;
    border-top: 38px solid rgb(248, 248, 248);
}
.naudinga_vidinis_feat_img::after{
    border-color: #fff !important;
}
.nv_cta_icon_wrap {
    margin-bottom: 20px;
}

.nv_cta_heading {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 8px;
}
.nv_cta_subtext {
    color: #fff;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 24px;
    font-weight: 600;
}

.nv_cta_outline_btns {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.nv_cta_outline_btn {
    background: #fff;
    padding: 4px 8px;
    color: #2C353D;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    display: inline-block;
}

.nv_cta_main_btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: #FF642C;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s;
}

.nv_cta_main_btn:hover {
    background: #E5531F;
    color: #FFFFFF;
}

/* Related posts */
.naudinga_vidinis_related_h {
    color: #002636;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 32px;
    text-align: center;
}

.naudinga_vidinis_rel_card {
    display: block;
    margin-bottom: 24px;
    text-decoration: none;
    background: #fff;
}



.naudinga_vidinis_rel_img {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #EDF5F6;
}

.naudinga_vidinis_rel_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.naudinga_vidinis_rel_no_img {
    width: 100%;
    height: 100%;
    background: #EDF5F6;
}

.naudinga_vidinis_rel_badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: #002636;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.naudinga_vidinis_rel_badge.video_badge{
    background: #FF642C;
}
.naudinga_vidinis_rel_info {
    padding: 16px;
}

.naudinga_vidinis_rel_cat {
    color: #FF642C;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 18px;
}
.naudinga_vidinis_rel_title {
    color: #2C353D;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 16px;
}

.naudinga_vidinis_rel_excerpt {
    color: #2C353D;
    font-size: 12px;
    line-height: 18px;
}

/* ================================================
   SERTIFIKATAI - Certificate blocks (3 cards with PDF preview)
   ================================================ */

.sertifikatai_blokai {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.sertifikatai_blokai .sert_card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #EDF5F6;
}

.sertifikatai_blokai .sert_card:hover {
    border-color: #4A6D7C;
    box-shadow: 0 4px 20px rgba(0, 38, 54, 0.12);
}

.sertifikatai_blokai .sert_card_img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F5F6;
}

.sertifikatai_blokai .sert_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sertifikatai_blokai .sert_card:hover .sert_card_img img {
    transform: scale(1.03);
}

.sertifikatai_blokai .sert_card_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 38, 54, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.sertifikatai_blokai .sert_card:hover .sert_card_overlay {
    background: rgba(0, 38, 54, 0.45);
}

.sert_card_overlay_icon {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.sertifikatai_blokai .sert_card:hover .sert_card_overlay_icon {
    opacity: 1;
    transform: scale(1);
}

.sertifikatai_blokai .sert_card_label {
    padding: 14px 16px;
    background: #fff;
    color: #002636;
    font-family: "Red Hat Display", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    border-top: 3px solid #4A6D7C;
    text-align: center;
}
.naudinga_vidinis_content h4, .naudinga_vidinis_content h1,
.naudinga_vidinis_content h2, .naudinga_vidinis_content h3,
.naudinga_vidinis_content h5, .naudinga_vidinis_content h6 {
    font-family: "Red Hat Display";
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 16px;
}
.naudinga_vidinis_content h1{
    font-size: 30px;
    line-height: 38px;
}
.naudinga_vidinis_content h2{
    font-size: 28px;
    line-height: 36px;
}
.naudinga_vidinis_content h3{
    font-size: 26px;
    line-height: 34px;
}
.naudinga_vidinis_content h5{
    font-size: 20px;
    line-height: 28px;
}
.naudinga_vidinis_content h6{
    font-size: 18px;
    line-height: 26px;
}
.page-template-naudinga .nemokamas_vertinimas,
.tax-naujienos-kategorija .nemokamas_vertinimas{
background: #fff;
}
.page-template-naudinga .nemokamas_vertinimas .nv_right::after,
.tax-naujienos-kategorija .nemokamas_vertinimas .nv_right::after {
    border-top: 50px solid #fff;
}

.cc-window {
    opacity: 1;
    transition: opacity 1s ease
}

.cookielist table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: -ms-autohiding-scrollbar
}

.cc-window.cc-invisible {
    opacity: 0
}

.cookielist b {
    font-weight: bold!important
}

.cc-animate.cc-revoke {
    transition: transform 1s ease
}

.cc-link:hover {
    color: #fff!important;
    text-decoration: underline
}

.cc-animate.cc-revoke.cc-top {
    transform: translateY(-2em)
}

.cc-animate.cc-revoke.cc-bottom {
    transform: translateY(2em)
}

.cookielist td,.cookielist th {
    border: 1px solid!important;
    padding-right: 5px;
    padding-left: 5px
}

.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover {
    transform: translateY(0)
}

.cc-grower {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s
}

.cc-link,.cc-revoke:hover {
    text-decoration: underline
}

.cc-revoke,.cc-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 9999
}

.cc-window.cc-static {
    position: static
}

.cc-window.cc-floating {
    padding: 2em;
    max-width: 24em;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 10px;
    max-width: none;
    text-align: center;
    font-size: 13px
}

.cc-window.cc-banner {
    padding: 1em 1.8em;
    width: 465px;
    -ms-flex-direction: row;
    flex-direction: row
}

.cc-revoke {
    padding: .5em
}

.cc-header {
    font-size: 18px;
    font-weight: 700
}

.cc-btn,.cc-close,.cc-link,.cc-revoke {
    cursor: pointer
}

.cc-btn:hover {
    background-color: #27323e!important;
    transition: background-color 0.7s
}

.cc-link {
    opacity: .8;
    display: inline-block
}

.cc-link:hover {
    opacity: 1
}

.cc-link:active,.cc-link:visited {
    color: initial
}

.cc-btn {
    display: block;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    white-space: nowrap
}

.cc-highlight .cc-btn:first-child {
    background-color: #fff0;
    border-color: #fff0
}

.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover {
    background-color: #fff0;
    text-decoration: underline
}

.cc-close {
    display: block;
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 1.6em;
    opacity: .9;
    line-height: .75
}

.cc-close:focus,.cc-close:hover {
    opacity: 1
}

.cc-revoke.cc-top {
    top: 0;
    left: 3em;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em
}

.cc-revoke.cc-bottom {
    bottom: 0;
    left: 3em;
    border-top-left-radius: .5em;
    border-top-right-radius: .5em
}

.cc-revoke.cc-left {
    left: 3em;
    right: unset
}

.cc-revoke.cc-right {
    right: 3em;
    left: unset
}

.cc-top {
    top: 1em
}

.cc-left {
    left: 1em
}

.cc-right {
    right: 1em
}

.cc-bottom {
    bottom: 1em
}

.cc-floating>.cc-link {
    margin-bottom: 1em
}

.cc-floating .cc-message {
    display: block;
    margin-bottom: 1em;
    margin-bottom: 5px
}

.cc-window.cc-floating .cc-compliance {
    -ms-flex: 1;
    flex: 1
}

.cc-window.cc-banner {
    -ms-flex-align: center;
    align-items: center
}

.cc-banner.cc-top {
    left: 0;
    right: 0;
    top: 0
}

.page-id-3 div#full-width-page-wrapper {
    padding-top: 120px
}

.cc-banner.cc-bottom {
    z-index: 123123123123;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    left: 20px;
    right: 0;
    bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center
}

.cc-banner .cc-message {
    -ms-flex: 1;
    flex: 1;
    font-size: 13px;
    display: block;
    line-height: 18px;
    margin-bottom: 10px
}

.cc-compliance {
    display: block;
    max-width: 140px;
    margin: 0 auto
}

.cc-compliance>.cc-btn {
    -ms-flex: 1;
    flex: 1
}

.cc-btn+.cc-btn {
    margin-left: .5em
}

.cc-btn:hover {
    color: #fff!important
}

@media print {
    .cc-revoke,.cc-window {
        display: none
    }
}

@media screen and (max-width: 900px) {
    .cc-btn {
        white-space:normal
    }
}

@media (max-width: 767px) {
    .cc-banner.cc-bottom {
        width:100%;
        left: 0
    }

    .cc-bottom {
        bottom: 0
    }
}

.cc-floating.cc-theme-classic {
    padding: 1.2em;
    border-radius: 5px
}

.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
    text-align: center;
    display: inline;
    -ms-flex: none;
    flex: none
}

.cc-theme-classic .cc-btn {
    border-radius: 5px
}

.cc-theme-classic .cc-btn:last-child {
    min-width: 140px
}

.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
    display: inline-block
}

.cc-theme-edgeless.cc-window {
    padding: 0
}

.cc-floating.cc-theme-edgeless .cc-message {
    margin: 2em 2em 1.5em
}

.cc-banner.cc-theme-edgeless .cc-btn {
    margin: 0;
    padding: .8em 1.8em;
    height: 100%
}

.cc-banner.cc-theme-edgeless .cc-message {
    margin-left: 1em
}

.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn {
    margin-left: 0
}

.fixed_skaiciuokle_cta{
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 1;
}
/* Sertifikatai right-click tooltip */
.sert_no_right_click_tooltip {
    position: fixed;
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    pointer-events: none;
    z-index: 99999;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.sert_no_right_click_tooltip.visible {
    opacity: 1;
}

.fixed_skaiciuokle_cta a{
    display: inline-block;
    padding: 10px 14px;
    background: #002636;
}
.fixed_skaiciuokle_cta a:hover{
    background: #A0BABB;
}
