.cta.contactus {
    position: fixed;
    right: var(--space-3);
    bottom: var(--space-3);
    z-index: 5;
    transition: opacity 0.4s ease;
}

.contact .cta.contactus {
    display: none !important;
}

.cta .triangle {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 12px 18px;
    color: var(--color-white);
    background: var(--color-darkblue);
    border-radius: var(--radius-control);
    box-shadow: 0 6px 18px rgb(0 0 0 / 22%);
    transition: background-color 0.25s ease;
}

.cta .triangle:hover {
    color: var(--color-white);
    background: var(--color-black);
}

.cta.contactus .text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-white);
}

.cta .triangle img {
    width: 12px;
    height: auto;
}

.single-matkad .cta .triangle {
    background: var(--color-green-strong);
}

.single-rent .cta .triangle {
    background: var(--color-orange-strong);
}

.single-matkad .cta .triangle:hover,
.single-rent .cta .triangle:hover {
    background: var(--color-black);
}

.page-home section {
    margin: var(--space-6) 0;
}

.page-home section h2 {
    margin-bottom: var(--space-4);
    font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem);
    text-align: center;
    text-transform: uppercase;
    color: var(--color-blue-heading);
}

.page-home :is(section, .row) > h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--color-blue);
}

.page-home .entry-title {
    display: none;
}

.page-home .banner-image {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    height: clamp(520px, 84vh, 780px);
    margin-top: var(--header-height);
    overflow: hidden;
    background: #0b1d27;
    border-radius: 0;
}

.page-home .banner-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgb(6 22 32 / 85%) 0%, rgb(6 22 32 / 62%) 42%, rgb(6 22 32 / 10%) 78%),
        linear-gradient(0deg, rgb(6 22 32 / 60%) 0%, rgb(6 22 32 / 0%) 50%);
}

.banner-image__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.banner-text {
    position: relative;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 var(--space-4) clamp(48px, 9vh, 96px);
    text-align: left;
    background: none;
    border-radius: 0;
}

.page-home .banner-text h1 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(2rem, 1.1rem + 2.5vw, 3.4rem);
    line-height: 1.04;
    text-align: left;
    color: var(--color-white);
    text-wrap: balance;
    hyphens: manual;
    overflow-wrap: normal;
}

.page-home .banner-text h1 p {
    margin: 0;
}

.banner-text a {
    color: var(--color-white);
}

.banner-text > p {
    max-width: 46ch;
    margin: var(--space-2) 0 0;
    font-size: 1.15rem;
    line-height: 1.45;
    text-align: left;
    color: rgb(255 255 255 / 88%);
}

.banner-text > p:empty {
    display: none;
}

.banner-text > p span[style] {
    font-size: inherit !important;
}

.banner-text .banner_slogan_small {
    font-size: var(--text-lg);
}

.page-home .banner-text .banner-cta {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: var(--space-4);
    padding: 14px 26px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-darkblue);
}

.page-home .banner-text .banner-cta::after {
    content: "→";
    transition: transform 0.25s ease;
}

.page-home .banner-text .banner-cta:hover {
    background: var(--color-white);
    color: var(--color-black);
    box-shadow: none;
}

.page-home .banner-text .banner-cta:hover::after {
    transform: translateX(4px);
}

.page-home .service-item-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}

.service-item-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.page-home .service-item-wrap:hover .service-item-bg {
    transform: scale(1.04);
}

.bg-layer-d {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgb(6 22 32 / 55%) 0%, rgb(6 22 32 / 70%) 55%, rgb(6 22 32 / 88%) 100%);
}

.service-item-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--space-3) 20px;
    color: var(--color-white);
}

.service-item-text a {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.service-item-text a:hover {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-home .service-name {
    margin: var(--space-4) 0 var(--space-2);
    padding: 0;
    font-size: clamp(1.7rem, 1rem + 0.4vw, 1.7rem);
    overflow-wrap: normal;
    hyphens: manual;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.page-home .service_descr {
    font-size: 1.1rem;
    line-height: 1.45;
    color: rgb(255 255 255 / 85%);
}

.page-home .service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: rgb(255 255 255 / 12%);
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 50%;
}

.page-home .service-image a {
    display: flex;
}

.page-home .service-image img {
    width: auto;
    height: 60px;
}

.page-home .service-items-title {
    margin: auto 0 var(--space-1);
    padding-top: var(--space-3);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(255 255 255 / 70%);
}

.service-item-name {
    padding: 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    border-top: 1px solid rgb(255 255 255 / 0%);
}

.page-home .services-cta {
    padding-top: 12px !important;
}

.page-home .services-cta .btn-grey {
    padding: 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-darkblue);
    background: none;
    box-shadow: none;
}

.page-home .services-cta .btn-grey::after {
    content: " →";
}

.page-home .services-cta .btn-grey:hover {
    color: var(--color-black);
    background: none;
    box-shadow: none;
}

.service-col-item {
    margin: 0 auto var(--space-3);
}

.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    background: var(--color-surface-alt);
    border-color: var(--color-line-strong);
    box-shadow: var(--shadow-dropdown);
}

.newsitem-content:hover {
    background: var(--color-surface-alt);
    border-color: var(--color-line-strong);
    box-shadow: var(--shadow-dropdown);
}

.service-item .item-image {
    position: relative;
    z-index: 0;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.service-item .item-image__img,
.news-item-img img {
    transition: transform 0.6s ease;
}

.service-item:hover .item-image__img,
.newsitem-content:hover .news-item-img img {
    transform: scale(1.04);
}

.service-item .item-image__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item .bg-layer,
body.archive .service-item .bg-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgb(0 30 45 / 35%) 62%, rgb(0 30 45 / 85%) 100%);
}

.service-item a.item-link {
    display: block;
    text-align: left;
}

:is(#main, .page-home, body) .service-item .item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: var(--space-3) 16px 14px;
    font-size: 1.2rem;
    line-height: 1.15;
    text-align: left;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--color-white);
    text-shadow: 0 1px 12px rgb(0 0 0 / 35%);
    background: none;
}

.service-item .no-thumbnail .item-title {
    color: var(--color-black);
    text-shadow: none;
}

.service-item .page-icons.top {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-evenly;
    margin: 0 16px;
    padding: 12px 0 10px;
    border-bottom: 1px solid var(--color-line);
}

.service-item .page-icons.top .col-3 {
    width: auto;
    padding: 0 10px;
    line-height: 1.2;
}

.service-item .page-icons.top .col-3 + .col-3 {
    border-left: 1px solid var(--color-line);
}

.service-item .page-icons.top .img-wrap {
    height: 22px;
    margin-bottom: 6px;
}

.service-item .page-icons.top .icon-descr {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: none;
    overflow-wrap: normal;
    hyphens: manual;
    color: var(--color-grey-800);
}

.service-item .excerpt {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 16px 12px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-grey-800);
}

.service-item .excerpt p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.service-item .excerpt .readmore {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--color-line);
}

.service-item .readmore-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.service-item:hover .readmore-arrow {
    color: var(--color-black);
}

.service-item:hover .readmore-arrow .icon {
    transform: translateX(6px);
}

img.circle {
    z-index: -1;
    border-radius: 50%;
    filter: grayscale(0%);
}

img.circle.color {
    filter: grayscale(100%);
}

img.round,
.round {
    border-radius: 50%;
}

.circle_image_wrap a {
    color: var(--color-white);
}

.circle_image_area {
    position: relative;
}

body.single .circle_image_area {
    width: 150px;
}

.page-uudised .circle_image_area {
    margin: auto;
}

.circle_text {
    position: absolute;
    top: 42%;
    width: 100%;
    padding: 0 10px;
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
}

body.lang-en .circle_text,
body.lang-ru .circle_text {
    font-size: 20px;
}

.circle_border_inside {
    position: absolute;
    width: 88%;
    height: 88%;
    margin: 6%;
    background: transparent;
    border: 6px solid transparent;
    border-radius: 50%;
}

.circle_border_outside {
    position: absolute;
    z-index: -1;
    width: 115%;
    height: 120%;
    margin: -10% 0 0 -7%;
    background: transparent;
    border: 8px solid transparent;
    border-radius: 50%;
}

body.single .circle_border_outside {
    border-width: 6px;
}

.newsitem {
    margin-bottom: var(--space-3);
}

.newsitem-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsitem-content > :not(.news-item-img) {
    padding-inline: 16px;
}

.newsitem-content .content-excerpt {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-grey-800);
}

.newsitem-content .content-excerpt p {
    display: -webkit-box;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.newsitem-content .content-excerpt .readmore {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--color-line);
}

.newsitem-content .readmore-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.newsitem-content:hover .readmore-arrow .icon {
    transform: translateX(6px);
}

.news-item-img {
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(#main, .page-home, body) .newsitem .news-title {
    margin: 14px 0 0;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.newsitems a {
    color: var(--color-blue-heading);
    text-decoration: none;
}

.newsitems .news-date {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 6px 0 8px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-grey-text);
}

.newslist-item {
    margin-bottom: var(--space-3);
}

.newslist-item .news-date {
    margin: 10px 0 0;
    font-weight: 700;
}

#main .newslist h2 {
    margin: 0 0 20px;
    font-size: 2rem;
    text-transform: none;
    color: var(--color-darkblue);
}

#main .newslist-item h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
}

.testimonials {
    padding: 0 0 var(--space-4);
}

.testimonials .row {
    row-gap: var(--space-3);
}

.testimonial-item-wrap {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    padding: var(--space-3) calc(var(--bs-gutter-x) * 0.5 + 20px);
    text-align: left !important;
}

.testimonial-item-wrap::before {
    content: "";
    position: absolute;
    inset: 0 calc(var(--bs-gutter-x) * 0.5);
    z-index: -1;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
}

.testimonial-item-wrap .quote {
    order: 0;
    width: auto;
    height: auto;
    margin: 0 0 10px;
    color: var(--color-blue);
}

.testimonial-item-wrap .quote .icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: none;
}

.testimonial.text {
    order: 1;
    flex: 1;
    margin-bottom: var(--space-2);
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-grey-800);
}

.testimonial.name {
    order: 2;
    padding-top: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    border-top: 1px solid var(--color-line);
}

.testimonial.who {
    order: 3;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-darkblue);
}

.testimonial.when {
    order: 4;
    margin: 0;
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--color-grey-text);
}

.ft-cta-area {
    width: 100%;
    margin-top: var(--space-5);
    text-align: center;
}

.fp-games .container + .container {
    margin-top: var(--space-6);
}

.page-home a.viewall,
a.viewall {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    width: auto;
    margin: auto;
    padding: 11px 24px;
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--color-darkblue);
    background: var(--color-white);
    border: 1px solid var(--color-darkblue);
    border-radius: var(--radius-control);
    box-shadow: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

a.viewall::after {
    content: "→";
    transition: transform 0.25s ease;
}

.page-home a.viewall:hover,
a.viewall:hover {
    color: var(--color-white);
    background: var(--color-darkblue);
    box-shadow: none;
}

a.viewall:hover::after {
    transform: translateX(4px);
}

.page-content {
    position: relative;
    padding: var(--space-5);
    background: var(--color-white);
    border: 2px solid var(--color-grey-300);
    border-radius: var(--radius-lg);
}

.listitem {
    height: 100%;
    margin-bottom: var(--space-3);
    overflow: hidden;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-listitem);
}

.listitem > a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: var(--space-2);
    color: var(--color-black);
    border-radius: var(--radius-lg);
    transition: background-color 0.3s ease-in-out;
}

.listitem > a:hover {
    text-decoration: none;
    background: var(--color-grey-200);
}

.listitem img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.listitem a:hover img {
    filter: grayscale(50%);
}

:is(#main, body) .listitem-title {
    margin: 1rem 0;
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 700;
    text-align: center;
    text-transform: none;
    color: inherit;
}

.person-image {
    width: 300px;
    height: 300px;
    margin-bottom: var(--space-3);
    object-fit: cover;
}

.page-template-page-team .maincontent img {
    width: 160px;
    height: 160px;
}

.team-member-name {
    margin: 20px 0 30px;
    text-align: center;
}

section.team-tax {
    margin-top: 30px;
}

#main section.team-tax h3 {
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .page-home .banner-image {
        height: clamp(460px, 78vh, 620px);
    }

    .page-home .banner-image::after {
        background: linear-gradient(0deg, rgb(6 22 32 / 88%) 0%, rgb(6 22 32 / 55%) 45%, rgb(6 22 32 / 15%) 100%);
    }

    .banner-text {
        padding: 0 var(--space-2) var(--space-5);
    }

    .page-home .banner-text h1 {
        font-size: clamp(1.75rem, 8.5vw, 2.4rem);
    }

    .banner-text > p {
        font-size: 1rem;
    }

    .page-home .banner-text .banner-cta {
        margin-top: var(--space-3);
    }

    .page-home section h2,
    .home h2,
    #main h2 {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    }

    a.viewall {
        padding: 10px 20px;
    }

    .page-home .service-item-wrap {
        min-height: 0;
    }
}

@media (max-width: 991px) {
    .page-home section {
        margin: var(--space-5) 0;
    }

    .page-home section h2 {
        margin-bottom: 20px;
    }

    .services-cta {
        margin-bottom: var(--space-4);
    }

    body.page-template-page-team .maincontent {
        text-align: center;
    }
}

@media (min-width: 991px) and (max-width: 1199px) {
    .cta.contactus {
        display: none;
    }
}

@media (min-width: 991px) and (max-width: 1599px) {
    .circle_text {
        font-size: 19px;
    }

    body.lang-ru .circle_text {
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    body.single .circle_image_area {
        margin-left: 55px;
    }
}

@media (max-width: 1199px) {
    .page-content {
        padding: var(--space-4);
    }
}

@media (min-width: 1200px) {
    .banner-text {
        padding-inline: var(--space-5);
    }
}

