/*
Theme Name: Aeroplane
Description: Самостоятельная блочная тема сайта Aeroplane Media.
Author: Waydev
Version: 0.7.23
Text Domain: aeroplane
*/

:root {
    --aeroplane-blue: #075f9d;
    --aeroplane-blue-light: #0e69a8;
    --aeroplane-red: #df2b26;
    --aeroplane-header-width: 1200px;
}

body {
    margin: 0;
}

.aeroplane-header {
    min-height: 189px;
    position: relative;
    z-index: 20;
}

.aeroplane-header a {
    text-decoration: none;
}

.aeroplane-header__topbar {
    background: var(--aeroplane-blue);
    min-height: 41px;
}

.aeroplane-header__topbar-inner {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--aeroplane-header-width);
    min-height: 41px;
}

.aeroplane-header__main-nav {
    flex: 1 1 auto;
}

.aeroplane-header__main-nav .wp-block-navigation__container {
    gap: 40px;
}

.aeroplane-header__main-nav .wp-block-navigation-item__content,
.aeroplane-header__promo-nav .wp-block-navigation-item__content {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.aeroplane-header__main-nav .wp-block-navigation-item__content {
    color: #fff !important;
}

.aeroplane-header__search {
    flex: 0 0 180px;
}

.aeroplane-header__search .wp-block-search__inside-wrapper {
    background: var(--aeroplane-blue-light);
    border: 0;
    border-radius: 5px;
    height: 31px;
    padding: 0;
}

.aeroplane-header__search .wp-block-search__input {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 12px;
    min-width: 0;
    padding: 7px 8px;
}

.aeroplane-header__search .wp-block-search__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.aeroplane-header__search .wp-block-search__button {
    background: transparent;
    color: #fff;
    margin: 0;
    padding: 5px;
}

.aeroplane-header__contacts {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.aeroplane-header__socials {
    gap: 5px;
}

.aeroplane-header__socials .wp-social-link {
    background: #fff;
    color: var(--aeroplane-blue);
}

.aeroplane-header__phone {
    margin: 0;
    white-space: nowrap;
}

.aeroplane-header__phone a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.aeroplane-header__brandbar {
    align-items: center;
    background: linear-gradient(90deg, #f7faff 0%, #edf4fa 48%, #f7faff 100%);
    box-shadow: 0 4px 25px #d6e3f0;
    display: flex;
    gap: 30px;
    left: 50%;
    margin: 14px auto 0;
    max-width: var(--aeroplane-header-width);
    min-height: 80px;
    position: absolute;
    transform: translateX(-50%);
    width: calc(100% - 40px);
}

.aeroplane-header__identity {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 30px;
    padding-left: 15px;
}

.aeroplane-header__logo {
    flex: 0 0 130px;
    margin: 0;
}

.aeroplane-header__logo img {
    height: 50px;
    object-fit: contain;
    width: 130px;
}

.aeroplane-header__tagline {
    color: var(--aeroplane-blue);
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 16px;
    margin: 0;
    white-space: nowrap;
}

.aeroplane-header__promo {
    align-items: center;
    align-self: stretch;
    background: #fff;
    border-radius: 15px;
    display: flex;
    flex: 0 0 658px;
    justify-content: center;
    padding: 0 25px;
}

.aeroplane-header__promo-nav .wp-block-navigation__container {
    gap: 40px;
}

.aeroplane-header__promo-nav .wp-block-navigation-item__content {
    color: var(--aeroplane-blue) !important;
    white-space: normal;
}

.aeroplane-header__promo-nav .wp-block-navigation-item:nth-child(1),
.aeroplane-header__promo-nav .wp-block-navigation-item:nth-child(3) {
    width: 61px;
}

.aeroplane-header__promo-nav .wp-block-navigation-item:nth-child(2) {
    width: 69px;
}

.aeroplane-header__promo-nav .wp-block-navigation-item:nth-child(4) {
    width: 84px;
}

.aeroplane-header__promo-nav .wp-block-navigation-item:nth-child(5) {
    width: 42px;
}

.aeroplane-header__promo-nav .wp-block-navigation-item:nth-child(6) {
    width: 82px;
}

.aeroplane-header__promo-nav .is-style-aeroplane-accent .wp-block-navigation-item__content {
    color: var(--aeroplane-red) !important;
}

.wp-block-template-part > .wp-block-breadcrumbs {
    box-sizing: border-box;
    color: var(--aeroplane-blue);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin: 20px auto 0;
    max-width: var(--aeroplane-header-width);
    width: calc(100% - 40px);
}

.wp-block-template-part > .wp-block-breadcrumbs ol {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    row-gap: 6px;
}

.wp-block-template-part > .wp-block-breadcrumbs li {
    align-items: center;
    display: flex;
}

.aeroplane-header ~ .wp-block-breadcrumbs a,
.wp-block-template-part > .wp-block-breadcrumbs a {
    color: var(--aeroplane-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.wp-block-template-part > .wp-block-breadcrumbs li:not(:last-child)::after {
    color: var(--aeroplane-blue);
    content: "›";
    font-size: 22px;
    font-weight: 400;
    line-height: 20px;
    margin: 0 20px;
}

.aeroplane-main {
    margin-block-start: 0;
    padding-inline: 20px;
}

.aeroplane-main + footer a {
    color: #fff;
}

.aeroplane-footer {
    background: var(--aeroplane-blue);
    color: #fff;
    min-height: 782px;
}

.aeroplane-footer a {
    color: #fff;
}

.aeroplane-footer__inner {
    margin: 0 auto;
    max-width: var(--aeroplane-header-width);
    padding: 60px 0 30px;
}

.aeroplane-footer__top {
    display: grid;
    grid-template-columns: 90px 102px 500px 146px 362px;
    height: 254px;
}

.aeroplane-footer__menu {
    grid-column: 1;
}

.aeroplane-footer__services {
    grid-column: 3;
}

.aeroplane-footer__calculator {
    align-items: center;
    align-self: start;
    background: #106bac;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    grid-column: 5;
    height: 141px;
    padding: 20px;
}

.aeroplane-footer__calculator-image {
    background: url("assets/images/footer/calculator.png") center / cover no-repeat;
    flex: 0 0 128px;
    height: 101px;
}

.aeroplane-footer__calculator p {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 24px;
    margin: 0;
    text-transform: uppercase;
}

.aeroplane-footer__calculator a {
    text-decoration: none;
}

.aeroplane-footer__title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 24px;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.aeroplane-footer__navigation .wp-block-navigation__container {
    align-items: flex-start;
    gap: 15px;
}

.aeroplane-footer__navigation .wp-block-navigation-item {
    width: 100%;
}

.aeroplane-footer__navigation .wp-block-navigation-item__content {
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.aeroplane-footer__menu .wp-block-navigation-item__content {
    white-space: nowrap;
}

.aeroplane-footer__service-columns {
    align-items: flex-start;
    display: flex;
    gap: 60px;
    padding-left: 18px;
}

.aeroplane-footer__service-navigation {
    flex: 0 0 220px;
}

.aeroplane-footer__service-navigation .wp-block-navigation-item__content {
    padding-right: 20px;
    position: relative;
    width: 100%;
}

.aeroplane-footer__service-navigation .wp-block-navigation-item__content::after {
    background: url("assets/images/footer/arrow.svg") center / contain no-repeat;
    content: "";
    height: 10px;
    position: absolute;
    right: 0;
    top: 5px;
    width: 10px;
}

.aeroplane-footer__map {
    background: linear-gradient(90deg, rgba(16, 107, 172, 0.98) 0%, rgba(16, 107, 172, 0.65) 38%, rgba(16, 107, 172, 0.18) 68%), url("assets/images/footer/map.png") 64% 20% / 395% auto no-repeat;
    border-radius: 20px;
    height: 300px;
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.aeroplane-footer__contact-card {
    left: 30px;
    position: absolute;
    top: 30px;
    width: 330px;
    z-index: 2;
}

.aeroplane-footer__address {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 24px;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.aeroplane-footer__phone-link,
.aeroplane-footer__email-link {
    align-items: center;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 8px;
}

.aeroplane-footer__phone-link::before,
.aeroplane-footer__email-link::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    flex: 0 0 30px;
    height: 30px;
    margin-right: 10px;
}

.aeroplane-footer__phone-link::before {
    background-image: url("assets/images/footer/phone.svg");
}

.aeroplane-footer__email-link::before {
    background-image: url("assets/images/footer/email-glyph.svg"), url("assets/images/footer/email.svg");
    background-size: 14px 15px, contain;
}

.aeroplane-footer__email-link a,
.aeroplane-footer__phone-link a {
    color: #fff;
}

.aeroplane-footer__social-groups {
    align-items: flex-start;
    display: flex;
    gap: 28px;
    margin-top: 18px;
}

.aeroplane-footer__social-group > p {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin: 0 0 5px;
    white-space: nowrap;
}

.aeroplane-footer__social-links {
    display: flex;
    gap: 15px;
}

.aeroplane-footer__social-link {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 30px;
    width: 30px;
}

.aeroplane-footer__social-link--telegram {
    background-image: url("assets/images/footer/telegram.svg");
}

.aeroplane-footer__social-link--vk {
    background-image: url("assets/images/footer/vk.svg");
}

.aeroplane-footer__social-link--max {
    background-image: url("assets/images/footer/max.svg");
}

.aeroplane-footer__street {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    position: absolute;
}

.aeroplane-footer__street--sverdlova {
    left: 47.5%;
    top: 8.9%;
    transform: rotate(2deg);
}

.aeroplane-footer__street--gogolya {
    left: 54.6%;
    top: 69%;
    transform: rotate(-90deg);
}

.aeroplane-footer__street--baumana {
    right: 5.3%;
    top: 51%;
    transform: rotate(79deg);
}

.aeroplane-footer__street--kalinina {
    left: 34%;
    top: 70%;
    transform: rotate(-87deg);
}

.aeroplane-footer__map-marker,
.aeroplane-footer__map-sign,
.aeroplane-footer__yandex {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}

.aeroplane-footer__map-marker {
    background-image: url("assets/images/footer/map-marker.svg");
    height: 133px;
    left: 56.8%;
    top: 41.3%;
    width: 49px;
}

.aeroplane-footer__map-sign {
    background-image: url("assets/images/footer/map-sign.svg");
    height: 42px;
    left: 57.1%;
    top: 58%;
    width: 37px;
}

.aeroplane-footer__yandex {
    background-image: url("assets/images/footer/yandex-maps.svg");
    bottom: 19px;
    height: 30px;
    right: 18px;
    width: 133px;
}

.aeroplane-footer__bottom {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 48px;
    gap: 24px;
    margin-top: 30px;
    min-height: 48px;
}

.aeroplane-footer__bottom p {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
}

.aeroplane-footer__bottom a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.aeroplane-footer__back-to-top {
    background: url("assets/images/footer/back-to-top.svg") center / contain no-repeat;
    display: block;
    height: 48px;
    width: 48px;
}

.aeroplane-portfolio {
    margin-block-start: 0;
    padding: 50px 20px 80px;
}

.aeroplane-portfolio__title {
    color: #1a4c70;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 50px;
    margin: 0;
    text-transform: uppercase;
}

.aeroplane-portfolio__categories {
    margin-top: 20px;
}

.aeroplane-portfolio__categories-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    max-width: 937px;
}

.aeroplane-portfolio__category-link {
    border-bottom: 1px solid var(--aeroplane-blue);
    color: var(--aeroplane-blue);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 24px;
    padding: 10px 0;
    text-decoration: none;
}

.aeroplane-archive-links {
    margin-top: 20px;
    width: 100%;
}

.aeroplane-archive-links .aeroplane-archive-links__list {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    list-style: none;
    margin: 0;
    max-width: 1028px;
    padding: 0;
}

.aeroplane-archive-links .aeroplane-archive-links__item {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin: 0;
    white-space: nowrap;
}

.aeroplane-archive-links .aeroplane-archive-links__item a {
    border-bottom: 1px solid currentColor;
    color: var(--aeroplane-blue);
    text-decoration: none;
}

.aeroplane-portfolio__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.aeroplane-portfolio__item {
    height: 318px;
    min-width: 0;
}

.aeroplane-portfolio__card {
    background: #fff;
    border: 1px solid var(--aeroplane-blue);
    border-radius: 20px;
    box-sizing: border-box;
    color: var(--aeroplane-blue);
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.aeroplane-portfolio__media {
    background: linear-gradient(135deg, #edf4fa, #d6e3f0);
    display: block;
    height: 230px;
    margin-left: -1px;
    margin-top: -1px;
    overflow: hidden;
    width: calc(100% + 2px);
}

.aeroplane-portfolio__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.aeroplane-portfolio__count {
    backdrop-filter: blur(25px);
    background: rgb(0 0 0 / 20%);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    left: 18px;
    line-height: 18px;
    padding: 10px;
    position: absolute;
    top: 18px;
}

.aeroplane-portfolio__item-title {
    bottom: 18px;
    display: -webkit-box;
    font-size: 20px;
    font-weight: 800;
    height: 48px;
    left: 18px;
    letter-spacing: -0.01em;
    line-height: 24px;
    overflow: hidden;
    position: absolute;
    right: 89px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.aeroplane-portfolio__arrow {
    background: url("assets/images/portfolio/arrow.svg") center / 48px 48px no-repeat;
    bottom: 18px;
    height: 48px;
    position: absolute;
    right: 18px;
    width: 48px;
}

.aeroplane-portfolio__card:hover,
.aeroplane-portfolio__card:focus-visible {
    background: var(--aeroplane-blue);
    border-color: rgb(7 95 157 / 30%);
}

.aeroplane-portfolio__card:hover .aeroplane-portfolio__item-title,
.aeroplane-portfolio__card:focus-visible .aeroplane-portfolio__item-title {
    color: #fff;
}

.aeroplane-portfolio__card:hover .aeroplane-portfolio__arrow,
.aeroplane-portfolio__card:focus-visible .aeroplane-portfolio__arrow {
    background-image: url("assets/images/portfolio/arrow-hover.svg");
}

.aeroplane-niches {
    color: #1a4c70;
    padding: 42px 20px 96px;
}

.aeroplane-niches__heading,
.aeroplane-niches__query {
    margin-inline: auto;
    max-width: 1200px;
}

.aeroplane-niches .aeroplane-niches__title {
    color: #1a4c70;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 52px;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.aeroplane-niches__description {
    color: #46535c;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    max-width: 1180px;
}

.aeroplane-niches__description:empty {
    display: none;
}

.aeroplane-niches__query {
    margin-top: 30px;
}

.aeroplane-tile-grid .aeroplane-tile-grid__items {
    gap: 24px 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aeroplane-service-subsection__grid {
    box-sizing: border-box;
    margin: 0 auto 60px;
    max-width: 1240px;
    padding-inline: 20px;
}

.aeroplane-service-subsection__grid .aeroplane-tile-grid__items {
    gap: 30px;
}

.aeroplane-service-subsection__grid .wp-block-post {
    display: flex;
    margin: 0;
    min-width: 0;
}

.aeroplane-service-subsection__grid .aeroplane-tile--service {
    display: flex;
    flex-direction: column;
    min-height: 358px;
    width: 100%;
}

.aeroplane-service-subsection__grid .aeroplane-tile__media {
    flex-basis: 230px;
    height: 230px;
}

.aeroplane-tile {
    background: #fff;
    border: 1px solid rgba(7, 95, 157, 0.65);
    border-radius: 15px;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aeroplane-tile > * {
    margin-block-start: 0;
}

.aeroplane-tile__media {
    border-radius: inherit;
    height: 220px;
    margin: 0;
    overflow: hidden;
}

.aeroplane-tile__media a,
.aeroplane-tile__media img {
    display: block;
    height: 100%;
    width: 100%;
}

.aeroplane-tile__media img {
    object-fit: cover;
    transition: transform 0.25s ease;
}

.aeroplane-tile__overlays {
    margin: 0;
}

.aeroplane-niches__icon {
    align-items: center;
    background: #12aee2;
    border: 3px solid #fff;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    height: 42px;
    justify-content: center;
    left: 10px;
    margin: 0;
    overflow: hidden;
    padding: 5px;
    position: absolute;
    top: 10px;
    width: 42px;
    z-index: 2;
}

.aeroplane-niches__icon img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.aeroplane-niches__icon:has(img[src=""]) {
    display: none;
}

.aeroplane-niches__service-count {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: transparent;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    margin: 0;
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
}

.aeroplane-tile__footer {
    align-items: center;
    box-sizing: border-box;
    gap: 18px;
    min-height: 72px;
    padding: 13px 14px 14px;
}

.aeroplane-tile-grid .aeroplane-tile__title {
    flex: 1 1 auto;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 19px;
    margin: 0;
    text-transform: uppercase;
}

.aeroplane-tile__title a {
    color: #075f9d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.aeroplane-tile__arrow {
    align-items: center;
    background: #f5f9fc;
    border-radius: 5px;
    color: #075f9d;
    display: flex;
    flex: 0 0 36px;
    font-size: 0;
    height: 36px;
    margin-left: auto;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.aeroplane-tile__arrow::before {
    content: "↗";
    font-size: 23px;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.aeroplane-tile:hover,
.aeroplane-tile:focus-within {
    background: #075f9d;
    border-color: #075f9d;
}

.aeroplane-tile:hover .aeroplane-tile__title a,
.aeroplane-tile:focus-within .aeroplane-tile__title a {
    color: #fff;
}

.aeroplane-tile:hover .aeroplane-tile__arrow,
.aeroplane-tile:focus-within .aeroplane-tile__arrow {
    background: #df2b26;
    color: #fff;
}

.aeroplane-tile:hover .aeroplane-tile__arrow::before,
.aeroplane-tile:focus-within .aeroplane-tile__arrow::before {
    transform: rotate(45deg);
}

.aeroplane-tile-grid__empty {
    color: #46535c;
    margin: 32px 0 0;
}

.aeroplane-niche-detail {
    color: #1a4c70;
    margin-block-start: 0;
    padding: 42px 20px 96px;
}

.aeroplane-niche-detail__content,
.aeroplane-niche-detail__services {
    margin-inline: auto;
    max-width: 1200px;
}

.aeroplane-niche-detail .aeroplane-niche-detail__title,
.aeroplane-niche-detail .aeroplane-niche-detail__section-title {
    color: #1a4c70;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 52px;
    margin: 0;
    text-transform: uppercase;
}

.aeroplane-niche-detail__body {
    color: #46535c;
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
}

.aeroplane-niche-detail__body > :first-child {
    margin-top: 0;
}

.aeroplane-niche-detail__services {
    margin-top: 54px;
}

.aeroplane-niche-detail .aeroplane-related-services {
    margin-top: 28px;
}

.aeroplane-niche-detail .aeroplane-related-services .aeroplane-tile-grid__items {
    display: grid;
    gap: 30px;
}

.aeroplane-related-services {
    display: block;
}

.aeroplane-niche-detail .aeroplane-tile--service {
    display: flex;
    flex-direction: column;
    min-height: 305px;
}

.aeroplane-tile--service .aeroplane-tile__media {
    flex: 0 0 180px;
    height: 180px;
}

.aeroplane-tile--service .aeroplane-tile__body {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0;
    padding: 13px 14px 14px;
}

.aeroplane-tile--service .aeroplane-tile__title {
    margin: 0;
}

.aeroplane-tile--service .aeroplane-tile__description {
    color: #fff;
    display: none;
    font-size: 13px;
    line-height: 17px;
    margin: 12px 0 0;
}

.aeroplane-tile--service .aeroplane-tile__footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: auto 0 0;
    min-height: 36px;
    padding: 10px 0 0;
}

.aeroplane-tile--service .aeroplane-tile__price {
    color: #075f9d;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    margin: 0;
}

.aeroplane-tile--service:hover .aeroplane-tile__media,
.aeroplane-tile--service:focus-within .aeroplane-tile__media {
    display: none;
}

.aeroplane-tile--service:hover .aeroplane-tile__description,
.aeroplane-tile--service:focus-within .aeroplane-tile__description {
    display: block;
}

.aeroplane-tile--service:hover .aeroplane-tile__price,
.aeroplane-tile--service:focus-within .aeroplane-tile__price {
    color: #fff;
}

.aeroplane-slider {
    --aeroplane-slider-content-width: 1200px;
    --aeroplane-slider-gap: 20px;
    --aeroplane-slider-slide-width: 285px;
    display: block;
    margin-top: 28px;
    width: 100%;
}

.aeroplane-slider__viewport {
    box-sizing: border-box;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline mandatory;
}

.aeroplane-slider__viewport::-webkit-scrollbar {
    display: none;
}

.aeroplane-slider.is-layout-constrained .aeroplane-slider__viewport {
    margin-inline: auto;
    max-width: var(--wp--style--global--content-size, var(--aeroplane-slider-content-width));
    padding-inline: 0;
    width: calc(100% - 40px);
}

.aeroplane-slider.is-layout-flow .aeroplane-slider__viewport {
    max-width: none;
    padding-inline: 20px;
    width: 100%;
}

.aeroplane-slider__track {
    display: flex;
    gap: var(--aeroplane-slider-gap);
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    margin-inline: auto;
}

.aeroplane-slider__track > .wp-block-post {
    display: flex;
    flex: 0 0 var(--aeroplane-slider-slide-width);
    width: var(--aeroplane-slider-slide-width);
    margin: 0;
    scroll-snap-align: start;
}

.aeroplane-slider__track > .wp-block-post > .aeroplane-slider__slide {
    flex: 1;
    min-width: 0;
}

.aeroplane-slider__slide {
    display: flex;
    flex: 0 0 var(--aeroplane-slider-slide-width);
    scroll-snap-align: start;
}

.aeroplane-slider__slide > .aeroplane-tile--service {
    display: flex;
    flex-direction: column;
    min-height: 305px;
    width: 100%;
}

.aeroplane-slider__controls {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px auto 0;
    max-width: var(--aeroplane-slider-content-width);
    padding-inline: 20px;
}

.aeroplane-slider__button {
    background: transparent;
    border: 1px solid #8aaeca;
    border-radius: 999px;
    color: var(--aeroplane-blue);
    cursor: pointer;
    height: 30px;
    padding: 0;
    position: relative;
}

.aeroplane-slider__button::before {
    content: "→";
    font-size: 18px;
    left: 50%;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.aeroplane-slider__button--previous::before {
    content: "←";
}

.aeroplane-slider__button:disabled {
    cursor: default;
    opacity: 0.45;
}

.aeroplane-slider:not(.aeroplane-slider--overflowing) .aeroplane-slider__controls {
    display: none;
}

.aeroplane-slider__empty {
    box-sizing: border-box;
    color: #46535c;
    margin: 24px auto 0;
    max-width: var(--aeroplane-slider-content-width);
    padding-inline: 20px;
}

.aeroplane-service-section {
    color: #1a4c70;
    margin-block-start: 0;
}

.aeroplane-service-section__intro {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: 1240px;
    padding: 72px 20px 54px;
}

.aeroplane-service-section__intro > *,
.aeroplane-service-section__subsection-heading > * {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.aeroplane-service-section .aeroplane-service-section__title {
    color: #1a4c70;
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.05;
    margin: 0;
    max-width: 940px;
    text-transform: uppercase;
}

.aeroplane-service-section__description {
    color: #46535c;
    font-size: 16px;
    line-height: 24px;
    margin: 24px 0 0;
    max-width: 1089px;
}

.aeroplane-service-section__query,
.aeroplane-service-section__sections {
    margin: 0;
}

.aeroplane-service-section__sections {
    list-style: none;
    padding: 0;
}

.aeroplane-service-section__sections > .wp-block-post {
    margin: 0;
}

.aeroplane-service-section__subsection {
    background: #f3f7fb;
    margin: 0;
    overflow: hidden;
    padding: 60px 0;
}

.aeroplane-service-section__sections > .wp-block-post:nth-child(even) .aeroplane-service-section__subsection {
    background: #fff;
}

.aeroplane-service-section__subsection-heading {
    display: grid;
    column-gap: 30px;
    grid-template-columns: minmax(0, 1fr) auto;
    box-sizing: border-box;
    margin-inline: auto;
    max-width: 1240px;
    padding-inline: 20px;
}

.aeroplane-service-section__subsection-heading > .aeroplane-service-section__subsection-title,
.aeroplane-service-section__subsection-heading > .aeroplane-service-section__subsection-description {
    grid-column: 1;
}

.aeroplane-service-section__subsection-heading > .aeroplane-service-section__subsection-link {
    align-self: center;
    background: var(--aeroplane-red);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0 !important;
    padding: 14px 24px;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 560px) {
    .aeroplane-service-section__subsection-heading {
        grid-template-columns: minmax(0, 1fr);
    }

    .aeroplane-service-section__subsection-heading > .aeroplane-service-section__subsection-link {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin-top: 16px !important;
    }
}

.aeroplane-service-section .aeroplane-service-section__subsection-title {
    color: #1a4c70;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 42px;
    margin: 0;
    max-width: 760px;
    text-transform: uppercase;
}

.aeroplane-service-section__subsection-title a {
    color: inherit;
    text-decoration: none;
}

.aeroplane-service-section__subsection-description {
    color: #46535c;
    font-size: 16px;
    line-height: 24px;
    margin: 10px 0 0;
    max-width: 780px;
}

.aeroplane-service-section .aeroplane-slider {
    --aeroplane-slider-gap: 30px;
    --aeroplane-slider-slide-width: 380px;
    margin-top: 30px;
}

.aeroplane-service-section .aeroplane-slider__viewport {
    box-sizing: border-box;
    margin-inline: auto;
}

.aeroplane-service-section .aeroplane-slider__track {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.aeroplane-service-section .aeroplane-slider__track > .wp-block-post {
    display: flex;
    flex: 0 0 var(--aeroplane-slider-slide-width);
    margin: 0;
    scroll-snap-align: start;
}

.aeroplane-service-section .aeroplane-slider__slide {
    display: flex;
    width: 100%;
}

.aeroplane-service-section .aeroplane-slider__slide > .aeroplane-tile--service {
    min-height: 358px;
}

.aeroplane-service-section .aeroplane-tile--service .aeroplane-tile__media {
    flex-basis: 230px;
    height: 230px;
}

.aeroplane-portfolio-child {
    margin-block-start: 0;
    padding: 50px 20px 80px;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__heading {
    margin: 0;
    min-height: 100px;
    position: relative;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__section-label {
    color: #e1ebf3;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 50px;
    margin: 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__title-prefix,
.aeroplane-portfolio-child .aeroplane-portfolio-child__title {
    color: #1a4c70;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 50px;
    margin: 0;
    text-transform: uppercase;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__title-prefix {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 700px;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__title {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 900px;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__query {
    margin-top: 15px;
}

.aeroplane-portfolio-filter {
    color: var(--aeroplane-blue);
    margin: 18px auto 0;
    max-width: 1200px;
    width: 100%;
}

.aeroplane-portfolio-filter__toolbar {
    align-items: center;
    display: flex;
    gap: 20px;
}

.aeroplane-portfolio-filter__label {
    color: #46535c;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
}

.aeroplane-portfolio-filter__modes {
    display: inline-flex;
    height: 59px;
    width: 296px;
}

.aeroplane-portfolio-filter__mode {
    align-items: center;
    border: 1px solid var(--aeroplane-blue);
    color: var(--aeroplane-blue);
    display: inline-flex;
    flex: 1 1 50%;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    line-height: 24px;
    padding: 0 12px;
    text-decoration: none;
    text-transform: uppercase;
}

.aeroplane-portfolio-filter__mode:first-child {
    border-radius: 10px 0 0 10px;
}

.aeroplane-portfolio-filter__mode:last-child {
    border-left: 0;
    border-radius: 0 10px 10px 0;
}

.aeroplane-portfolio-filter__mode.is-active {
    background: var(--aeroplane-blue);
    color: #fff;
}

.aeroplane-portfolio-filter__options {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    margin-top: 10px;
}

.aeroplane-portfolio-filter__option {
    color: var(--aeroplane-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.aeroplane-portfolio-filter__option.is-active {
    background: var(--aeroplane-blue);
    border-radius: 16px;
    color: #fff;
    padding: 5px 14px;
    text-decoration: none;
}

.aeroplane-portfolio-dialog {
    background: transparent;
    border: 0;
    border-radius: 20px;
    max-height: calc(100vh - 40px);
    max-width: calc(100vw - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    width: 960px;
}

.aeroplane-portfolio-dialog::backdrop {
    background: rgb(0 31 55 / 72%);
}

.aeroplane-portfolio-dialog__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 40px;
    padding: 0;
    position: absolute;
    right: 30px;
    top: 30px;
    width: 40px;
    z-index: 5;
}

.aeroplane-portfolio-dialog__close::before,
.aeroplane-portfolio-dialog__close::after {
    background: var(--aeroplane-blue);
    content: "";
    height: 3px;
    left: 2px;
    position: absolute;
    top: 18px;
    width: 36px;
}

.aeroplane-portfolio-dialog__close::before {
    transform: rotate(45deg);
}

.aeroplane-portfolio-dialog__close::after {
    transform: rotate(-45deg);
}

.aeroplane-portfolio-dialog__content {
    min-height: 300px;
}

.aeroplane-portfolio-dialog__content.is-loading::after {
    animation: aeroplane-portfolio-loading 0.8s linear infinite;
    border: 4px solid rgb(7 95 157 / 20%);
    border-radius: 50%;
    border-top-color: var(--aeroplane-blue);
    content: "";
    height: 44px;
    left: calc(50% - 22px);
    position: absolute;
    top: calc(50% - 22px);
    width: 44px;
}

@keyframes aeroplane-portfolio-loading {
    to {
        transform: rotate(360deg);
    }
}

.aeroplane-portfolio-detail {
    background: #f3f7fb;
    border: 0;
    border-radius: 20px;
    box-sizing: border-box;
    color: #1a4c70;
    margin: 0 auto;
    max-width: 960px;
    min-height: 982px;
    padding: 40px;
    width: 100%;
}

.aeroplane-portfolio-detail--page {
    margin-block: 50px 80px;
}

.aeroplane-portfolio-detail__header {
    padding-right: 52px;
}

.aeroplane-portfolio-detail__title {
    color: #1a4c70;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 42px;
    margin: 0;
    max-width: 570px;
    text-transform: uppercase;
}

.aeroplane-portfolio-detail__summary {
    align-items: start;
    display: grid;
    gap: 20px 26px;
    grid-template-columns: minmax(0, 1fr) 257px;
    margin-top: 20px;
}

.aeroplane-portfolio-detail__summary > * {
    margin-block-start: 0;
}

.aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 {
    align-content: flex-start;
    column-gap: 30px;
    display: flex !important;
    flex-flow: column wrap;
    height: 114px;
    row-gap: 5px;
}

.aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 > [class^="avf-layout__ref-"] {
    display: grid;
    flex: 0 0 auto;
    font-size: 16px;
    gap: 20px;
    grid-template-columns: 70px minmax(0, 1fr);
    line-height: 26px;
    width: calc(100% - 130px);
}

.aeroplane-portfolio-detail__summary .avf-layout__ref-client {
    order: 2;
}

.aeroplane-portfolio-detail__summary .avf-layout__ref-niches {
    order: 3;
}

.aeroplane-portfolio-detail__summary .avf-layout__ref-service {
    order: 4;
}

.aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 [class$="-label"] {
    color: #46535c;
    font-weight: 600;
    margin: 0;
}

.aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 [class$="-field"] {
    display: flex;
    flex-direction: column;
}

.aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 a {
    color: var(--aeroplane-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aeroplane-portfolio-detail__summary .avf-layout__client-logo {
    align-items: center;
    background: #fff;
    border-radius: 20px;
    display: flex;
    flex: 0 0 100px;
    height: 100px;
    justify-content: center;
    order: 1;
    overflow: hidden;
    width: 100px;
}

.aeroplane-portfolio-detail__summary .avf-layout__client-logo:empty::after {
    color: var(--aeroplane-blue);
    content: "—";
    font-size: 24px;
}

.aeroplane-portfolio-detail__summary .avf-layout__client-logo img {
    height: 83px;
    object-fit: contain;
    width: 79px;
}

.aeroplane-portfolio-detail__relations {
    display: grid;
    gap: 9px;
    margin: 2px 0 0;
}

.aeroplane-portfolio-detail__relation {
    display: grid;
    font-size: 16px;
    gap: 12px;
    grid-template-columns: 68px minmax(0, 1fr);
    line-height: 25px;
}

.aeroplane-portfolio-detail__relation dt {
    color: #46535c;
    font-weight: 600;
}

.aeroplane-portfolio-detail__relation dd {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.aeroplane-portfolio-detail__relation a {
    color: var(--aeroplane-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aeroplane-portfolio-detail__project-button .wp-block-button__link {
    align-items: center;
    background: transparent;
    border: 1px solid var(--aeroplane-blue);
    border-radius: 10px;
    color: var(--aeroplane-blue);
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 800;
    height: 57px;
    justify-content: center;
    margin-top: 0;
    text-transform: uppercase;
    width: 257px;
    box-sizing: border-box;
}

.aeroplane-portfolio-detail__gallery {
    border-radius: 20px;
    height: 560px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.aeroplane-portfolio-detail__gallery.wp-block-gallery {
    display: block;
}

.aeroplane-portfolio-detail__gallery > .wp-block-gallery {
    display: block;
    height: 100%;
    margin: 0;
}

.aeroplane-portfolio-detail__slides,
.aeroplane-portfolio-detail__slide,
.aeroplane-portfolio-detail__image,
.aeroplane-portfolio-detail__image-placeholder {
    height: 100%;
    width: 100%;
}

.aeroplane-portfolio-detail__slide {
    display: none;
    margin: 0;
}

.aeroplane-portfolio-detail__slide.is-active {
    display: block;
}

.aeroplane-portfolio-detail__image {
    display: block;
    object-fit: cover;
}

.aeroplane-portfolio-detail__image-placeholder {
    background: #e5edf4;
}

.aeroplane-portfolio-detail__gallery-arrow {
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 60px;
    position: absolute;
    top: calc(50% - 30px);
    width: 60px;
    z-index: 2;
}

.aeroplane-portfolio-detail__gallery-arrow::before {
    background: center / contain no-repeat;
    border: 0;
    content: "";
    height: 16px;
    left: 21px;
    position: absolute;
    top: 22px;
    transform: none;
    width: 19px;
}

.aeroplane-portfolio-detail__gallery-arrow::after {
    content: none;
}

.aeroplane-portfolio-detail__gallery-arrow.is-previous {
    color: var(--aeroplane-blue);
    left: 20px;
}

.aeroplane-portfolio-detail__gallery-arrow.is-previous::before {
    background-image: url("assets/images/portfolio-popup/arrow-blue.svg");
    transform: rotate(180deg);
}

.aeroplane-portfolio-detail__gallery-arrow.is-next {
    background: var(--aeroplane-blue);
    color: #fff;
    right: 20px;
}

.aeroplane-portfolio-detail__gallery-arrow.is-next::before {
    background-image: url("assets/images/portfolio-popup/arrow-white.svg");
}

.aeroplane-portfolio-detail__dots {
    align-items: center;
    bottom: 20px;
    display: flex;
    gap: 15px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 2;
}

.aeroplane-portfolio-detail__dot {
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 10px;
    padding: 0;
    width: 10px;
}

.aeroplane-portfolio-detail__dot.is-active {
    background: var(--aeroplane-blue);
    height: 18px;
    margin-top: 0;
    width: 18px;
}

.aeroplane-portfolio-detail__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.aeroplane-portfolio-detail__action .wp-block-button__link {
    align-items: center;
    background: #df2b25;
    border: 0;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    height: 57px;
    justify-content: center;
    padding: 0 32px;
    text-transform: uppercase;
    white-space: nowrap;
}

.aeroplane-portfolio-detail__action.is-dark .wp-block-button__link {
    background: #b11f1a;
}

.aeroplane-portfolio-detail__action .wp-block-button__link::before {
    background: center / contain no-repeat;
    content: "";
    flex: 0 0 24px;
    height: 24px;
    width: 24px;
}

.aeroplane-portfolio-detail__action:nth-child(1) .wp-block-button__link::before {
    background-image: url("assets/images/portfolio-popup/like.svg");
}

.aeroplane-portfolio-detail__action:nth-child(1) .wp-block-button__link {
    width: 205px;
}

.aeroplane-portfolio-detail__action:nth-child(2) .wp-block-button__link::before {
    background-image: url("assets/images/portfolio-popup/crown.svg");
}

.aeroplane-portfolio-detail__action:nth-child(2) .wp-block-button__link {
    width: 209px;
}

.aeroplane-portfolio-detail__action:nth-child(3) .wp-block-button__link::before {
    background-image: url("assets/images/portfolio-popup/discount.svg");
}

.aeroplane-portfolio-detail__action:nth-child(3) .wp-block-button__link {
    width: 230px;
}

.aeroplane-project {
    color: #1a4c70;
    overflow: hidden;
    padding: 50px 0 80px;
}

.aeroplane-project__heading,
.aeroplane-project__relations,
.aeroplane-project__fields {
    margin-inline: auto;
    max-width: 1200px;
    padding-inline: 20px;
}

.aeroplane-project .aeroplane-project__title {
    color: #1a4c70;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 50px;
    margin: 0 auto 30px 0 !important;
    max-width: 780px;
    text-transform: uppercase;
}

.aeroplane-project .aeroplane-project__gallery {
    display: grid !important;
    gap: 15px;
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr) minmax(0, 0.58fr);
    margin: 0;
    width: 100%;
}

.aeroplane-project__gallery > figure.wp-block-image {
    border-radius: 18px;
    height: 560px;
    margin: 0;
    overflow: hidden;
    width: 100% !important;
}

.aeroplane-project__gallery > figure.wp-block-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.aeroplane-project .aeroplane-project__actions {
    gap: 20px;
    margin: 20px auto 0;
    padding-inline: 20px;
}

.aeroplane-project__action .wp-block-button__link {
    background: #df2b25;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    min-width: 178px;
    padding: 16px 32px;
    text-transform: uppercase;
}

.aeroplane-project__action.is-dark .wp-block-button__link {
    background: #b11f1a;
}

.aeroplane-project__relations {
    margin-top: 58px;
}

.aeroplane-project__relations avf-layout-6ae4af928d514 {
    align-content: flex-start;
    column-gap: 80px;
    display: flex;
    flex-flow: column wrap;
    height: 206px;
    max-width: 920px;
    margin-left: 0 !important;
    row-gap: 20px;
}

.aeroplane-project__relations avf-layout-6ae4af928d514 > [class^="avf-layout__ref-"] {
    align-items: center;
    display: grid;
    flex: 0 0 42px;
    gap: 28px;
    grid-template-columns: 200px minmax(0, 1fr);
    width: 620px;
}

.aeroplane-project__relations .avf-layout__ref-client {
    order: 1;
}

.aeroplane-project__relations .avf-layout__ref-niches {
    order: 2;
}

.aeroplane-project__relations .avf-layout__ref-service {
    order: 3;
}

.aeroplane-project__relations [class$="-label"] {
    color: #1a4c70;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 42px;
    margin: 0;
    text-transform: uppercase;
}

.aeroplane-project__relations [class$="-field"] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aeroplane-project__relations [class$="-link"] {
    border: 1px solid rgba(7, 95, 157, 0.3);
    border-radius: 777px;
    color: #075f9d;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 8px 20px;
    text-decoration: none;
}

.aeroplane-project__relations .avf-layout__client-logo {
    align-items: center;
    align-self: center;
    display: flex;
    flex: 0 0 150px;
    justify-content: center;
    order: 4;
    width: 150px;
}

.aeroplane-project__relations .avf-layout__client-logo .avf-layout__post-featured-image {
    background: #fff;
    border: 1px solid rgba(7, 95, 157, 0.3);
    border-radius: 20px;
    box-sizing: border-box;
    height: 150px;
    object-fit: contain;
    padding: 16px;
    width: 150px;
}

.aeroplane-project__relations .acf-views__quick-link {
    display: none !important;
}

.aeroplane-project__fields {
    margin-top: 64px;
}

.aeroplane-project__fields avf-layout-6ae4b52def5b0 {
    display: grid;
    gap: 48px;
}

.aeroplane-project__fields avf-layout-6ae4b52def5b0 [class$="-label"] {
    color: #1a4c70;
    font-size: 24px;
    font-weight: 800;
    line-height: 30px;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.aeroplane-project__fields avf-layout-6ae4b52def5b0 [class$="-field"] {
    color: #46535c;
    font-size: 16px;
    line-height: 24px;
}

.aeroplane-project__fields avf-layout-6ae4b52def5b0 [class$="-field"] > :first-child {
    margin-top: 0;
}

.aeroplane-project__fields avf-layout-6ae4b52def5b0 [class$="-field"] > :last-child {
    margin-bottom: 0;
}

.aeroplane-not-found {
    color: #1a4c70;
    min-height: 420px;
    padding: 80px 20px;
}

.aeroplane-not-found h1 {
    font-size: 48px;
    line-height: 1.05;
    text-transform: uppercase;
}

.aeroplane-not-found .wp-block-button__link {
    background: #df2b25;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__grid {
    gap: 30px;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__grid > li {
    margin: 0;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__item {
    background: #fff;
    border: 1px solid var(--aeroplane-blue);
    border-radius: 20px;
    box-sizing: border-box;
    height: 342px;
    overflow: hidden;
    position: relative;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__item::before {
    background: #f3f7fb;
    content: "";
    height: 230px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__image {
    height: 230px;
    left: 0;
    margin: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__image a,
.aeroplane-portfolio-child .aeroplane-portfolio-child__image img {
    display: block;
    height: 100%;
    width: 100%;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__image img {
    object-fit: cover;
    transition: transform 0.25s ease;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__item-title {
    bottom: 18px;
    left: 18px;
    margin: 0;
    position: absolute;
    right: 84px;
    z-index: 2;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__item-title a {
    color: var(--aeroplane-blue);
    display: -webkit-box;
    font-size: 16px;
    font-weight: 800;
    height: 60px;
    line-height: 20px;
    overflow: hidden;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__arrow {
    background: url("assets/images/portfolio/arrow.svg") center / 48px 48px no-repeat;
    bottom: 18px;
    height: 48px;
    position: absolute;
    right: 18px;
    width: 48px;
    z-index: 2;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__popup-trigger {
    inset: 0;
    position: absolute;
    z-index: 3;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__item:hover .aeroplane-portfolio-child__image img,
.aeroplane-portfolio-child .aeroplane-portfolio-child__item:focus-within .aeroplane-portfolio-child__image img {
    transform: scale(1.03);
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__pagination {
    color: var(--aeroplane-blue);
    margin-top: 40px;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__pagination a {
    color: inherit;
}

.aeroplane-portfolio-child .aeroplane-portfolio-child__empty {
    color: #1a4c70;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 1240px) {
    .aeroplane-header__topbar-inner {
        padding-inline: 20px;
    }

    .aeroplane-header__main-nav .wp-block-navigation__container,
    .aeroplane-header__promo-nav .wp-block-navigation__container {
        gap: 20px;
    }

    .aeroplane-header__tagline {
        display: none;
    }

    .aeroplane-footer__inner {
        padding-inline: 20px;
    }

    .aeroplane-footer__top {
        grid-template-columns: 90px minmax(420px, 500px) minmax(280px, 362px);
        height: auto;
        min-height: 254px;
        justify-content: space-between;
    }

    .aeroplane-footer__menu,
    .aeroplane-footer__services,
    .aeroplane-footer__calculator {
        grid-column: auto;
    }

    .aeroplane-footer__service-columns {
        gap: 20px;
        padding-left: 0;
    }

    .aeroplane-footer__service-navigation {
        flex-basis: 200px;
    }

    .aeroplane-portfolio__grid {
        gap: 24px;
    }

    .aeroplane-portfolio-child__grid {
        gap: 24px;
    }

}

@media (max-width: 960px) {
    .aeroplane-tile-grid .aeroplane-tile-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aeroplane-project .aeroplane-project__title {
        font-size: 40px;
        line-height: 44px;
    }

    .aeroplane-project .aeroplane-project__gallery {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .aeroplane-project__gallery::-webkit-scrollbar {
        display: none;
    }

    .aeroplane-project__gallery > figure.wp-block-image {
        flex: 0 0 min(82vw, 720px) !important;
        height: min(62vw, 520px);
        scroll-snap-align: center;
        width: auto !important;
    }

    .aeroplane-portfolio-dialog {
        max-height: calc(100vh - 20px);
        max-width: calc(100vw - 20px);
    }

    .aeroplane-portfolio-detail {
        min-height: 0;
        padding: 32px 24px;
    }

    .aeroplane-portfolio-detail__summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .aeroplane-portfolio-detail__project-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .aeroplane-portfolio-detail__gallery {
        height: auto;
        min-height: 360px;
    }

    .aeroplane-portfolio-detail__slides {
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .aeroplane-header {
        min-height: 128px;
    }

    .aeroplane-header__topbar-inner {
        min-height: 56px;
    }

    .aeroplane-header__main-nav {
        flex: 0 0 auto;
        order: 3;
    }

    .aeroplane-header__main-nav .wp-block-navigation__responsive-container-open {
        color: #fff;
    }

    .aeroplane-header__search {
        display: none;
    }

    .aeroplane-header__brandbar {
        border-radius: 0;
        margin-top: 0;
        min-height: 72px;
        position: static;
        transform: none;
        width: 100%;
    }

    .aeroplane-header__identity {
        padding-inline: 20px;
    }

    .aeroplane-header__logo {
        flex-basis: 104px;
    }

    .aeroplane-header__logo img {
        height: 40px;
        width: 104px;
    }

    .aeroplane-header__promo {
        display: none !important;
    }

    .aeroplane-footer__top {
        grid-template-columns: 1fr 2fr;
        row-gap: 40px;
    }

    .aeroplane-footer__calculator {
        grid-column: 1 / -1;
        max-width: 362px;
    }

    .aeroplane-footer__map {
        margin-top: 50px;
    }

    .aeroplane-portfolio__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aeroplane-portfolio-child .aeroplane-portfolio-child__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aeroplane-portfolio-child .aeroplane-portfolio-child__section-label {
        display: none;
    }

}

@media (max-width: 560px) {
    .aeroplane-niches {
        padding: 28px 15px 56px;
    }

    .aeroplane-niches .aeroplane-niches__title {
        font-size: 30px;
        line-height: 34px;
        margin-bottom: 12px;
    }

    .aeroplane-niches__description {
        font-size: 13px;
        line-height: 19px;
    }

    .aeroplane-niches__query {
        margin-top: 22px;
    }

    .aeroplane-tile-grid .aeroplane-tile-grid__items {
        gap: 12px 10px;
    }

    .aeroplane-tile {
        border-radius: 10px;
    }

    .aeroplane-tile__media {
        height: 116px;
    }

    .aeroplane-niches__icon {
        border-width: 2px;
        border-radius: 6px;
        height: 30px;
        left: 7px;
        padding: 3px;
        top: 7px;
        width: 30px;
    }

    .aeroplane-niches__service-count {
        font-size: 10px;
        line-height: 14px;
        padding: 2px 7px;
        right: 7px;
        top: 7px;
    }

    .aeroplane-tile__footer {
        gap: 8px;
        min-height: 58px;
        padding: 9px 8px 10px;
    }

    .aeroplane-tile-grid .aeroplane-tile__title {
        font-size: 11px;
        line-height: 13px;
    }

    .aeroplane-tile-grid .aeroplane-tile__arrow {
        flex-basis: 27px;
        height: 27px;
    }

    .aeroplane-tile-grid .aeroplane-tile__arrow::before {
        font-size: 17px;
    }

    .aeroplane-niche-detail {
        padding: 28px 15px 56px;
    }

    .aeroplane-niche-detail .aeroplane-niche-detail__title,
    .aeroplane-niche-detail .aeroplane-niche-detail__section-title {
        font-size: 30px;
        line-height: 34px;
    }

    .aeroplane-niche-detail__body {
        font-size: 13px;
        line-height: 19px;
        margin-top: 18px;
    }

    .aeroplane-niche-detail__services {
        margin-top: 38px;
    }

    .aeroplane-niche-detail .aeroplane-related-services {
        margin-top: 20px;
    }

    .aeroplane-niche-detail .aeroplane-related-services .aeroplane-tile-grid__items {
        gap: 12px 10px;
    }

    .aeroplane-tile--service {
        min-height: 230px;
    }

    .aeroplane-tile--service .aeroplane-tile__media {
        flex-basis: 116px;
        height: 116px;
    }

    .aeroplane-tile--service .aeroplane-tile__body {
        padding: 9px 8px 10px;
    }

    .aeroplane-tile--service .aeroplane-tile__description {
        font-size: 10px;
        line-height: 13px;
        margin-top: 8px;
    }

    .aeroplane-tile--service .aeroplane-tile__price {
        font-size: 11px;
        line-height: 14px;
    }

    .aeroplane-service-section__intro {
        padding: 38px 15px 34px;
    }

    .aeroplane-service-section .aeroplane-service-section__title {
        font-size: 34px;
        line-height: 38px;
    }

    .aeroplane-service-section__description {
        font-size: 13px;
        line-height: 19px;
        margin-top: 18px;
    }

    .aeroplane-service-section__subsection {
        padding: 34px 0 38px;
    }

    .aeroplane-service-section__subsection-heading {
        padding-inline: 15px;
    }

    .aeroplane-service-section .aeroplane-service-section__subsection-title {
        font-size: 24px;
        line-height: 28px;
    }

    .aeroplane-service-section__subsection-description {
        font-size: 13px;
        line-height: 19px;
    }

    .aeroplane-service-section .aeroplane-slider {
        --aeroplane-slider-gap: 10px;
        --aeroplane-slider-slide-width: min(82vw, 300px);
    }

    .aeroplane-service-section .aeroplane-slider__slide > .aeroplane-tile--service {
        min-height: 300px;
    }

    .aeroplane-service-section .aeroplane-tile--service .aeroplane-tile__media {
        flex-basis: 180px;
        height: 180px;
    }

    .aeroplane-slider {
        --aeroplane-slider-gap: 10px;
        --aeroplane-slider-slide-width: min(76vw, 280px);
        margin-top: 20px;
    }

    .aeroplane-slider.is-layout-flow .aeroplane-slider__viewport {
        padding-inline: 15px;
        width: 100%;
    }

    .aeroplane-slider__controls {
        gap: 10px;
        margin-top: 14px;
        padding-inline: 15px;
    }

    .aeroplane-slider__button {
        height: 28px;
    }

    .aeroplane-slider.is-layout-constrained .aeroplane-slider__viewport {
        padding-inline: 0;
        width: calc(100% - 30px);
    }

    .aeroplane-service-section .aeroplane-slider__track > .wp-block-post {
        flex-basis: var(--aeroplane-slider-slide-width);
    }

    .wp-block-template-part > .wp-block-breadcrumbs {
        font-size: 14px;
        line-height: 18px;
        margin-top: 16px;
        width: calc(100% - 30px);
    }

    .wp-block-template-part > .wp-block-breadcrumbs li:not(:last-child)::after {
        font-size: 18px;
        line-height: 18px;
        margin-inline: 8px;
    }

    .aeroplane-project {
        padding: 30px 0 50px;
    }

    .aeroplane-project .aeroplane-project__title {
        font-size: 30px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .aeroplane-project__gallery > figure.wp-block-image {
        flex: 0 0 88vw !important;
        height: 260px;
        border-radius: 12px;
    }

    .aeroplane-project .aeroplane-project__actions {
        gap: 6px;
        margin-top: 10px;
        padding-inline: 12px;
    }

    .aeroplane-project__action {
        flex: 1 1 0;
    }

    .aeroplane-project__action .wp-block-button__link {
        font-size: 9px;
        min-width: 0;
        padding: 9px 4px;
        width: 100%;
    }

    .aeroplane-project__relations {
        margin-top: 32px;
    }

    .aeroplane-project__relations avf-layout-6ae4af928d514 {
        column-gap: 12px;
        height: 120px;
        row-gap: 18px;
    }

    .aeroplane-project__relations avf-layout-6ae4af928d514 > [class^="avf-layout__ref-"] {
        flex: 0 0 auto;
        gap: 12px;
        grid-template-columns: 82px minmax(0, 1fr);
        width: calc(100% - 84px);
    }

    .aeroplane-project__relations [class$="-label"] {
        font-size: 16px;
        line-height: 22px;
    }

    .aeroplane-project__relations [class$="-link"] {
        font-size: 12px;
        line-height: 18px;
        padding: 5px 10px;
    }

    .aeroplane-project__relations .avf-layout__client-logo {
        flex-basis: 72px;
        width: 72px;
    }

    .aeroplane-project__relations .avf-layout__client-logo .avf-layout__post-featured-image {
        border-radius: 14px;
        height: 72px;
        padding: 8px;
        width: 72px;
    }

    .aeroplane-project__fields {
        margin-top: 42px;
    }

    .aeroplane-project__fields avf-layout-6ae4b52def5b0 {
        gap: 32px;
    }

    .aeroplane-project__fields avf-layout-6ae4b52def5b0 [class$="-label"] {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 9px;
    }

    .aeroplane-project__fields avf-layout-6ae4b52def5b0 [class$="-field"] {
        font-size: 14px;
        line-height: 21px;
    }

    .aeroplane-portfolio-dialog {
        max-height: calc(100vh - 10px);
        max-width: calc(100vw - 10px);
    }

    .aeroplane-portfolio-dialog__close {
        right: 14px;
        top: 14px;
    }

    .aeroplane-portfolio-detail {
        border-radius: 14px;
        padding: 24px 15px 20px;
    }

    .aeroplane-portfolio-detail__header {
        padding-right: 42px;
    }

    .aeroplane-portfolio-detail__title {
        font-size: 26px;
        line-height: 30px;
    }

    .aeroplane-portfolio-detail__summary {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
    }

    .aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 {
        column-gap: 12px;
        height: 92px;
        row-gap: 6px;
    }

    .aeroplane-portfolio-detail__summary avf-layout-6ae4af928d514 > [class^="avf-layout__ref-"] {
        font-size: 14px;
        gap: 8px;
        grid-template-columns: 56px minmax(0, 1fr);
        line-height: 20px;
        width: calc(100% - 84px);
    }

    .aeroplane-portfolio-detail__summary .avf-layout__client-logo {
        border-radius: 14px;
        flex-basis: 72px;
        height: 72px;
        width: 72px;
    }

    .aeroplane-portfolio-detail__summary .avf-layout__client-logo img {
        height: auto;
        max-height: 56px;
        max-width: 56px;
        width: auto;
    }

    .aeroplane-portfolio-detail__relation {
        font-size: 14px;
        gap: 8px;
        grid-template-columns: 56px minmax(0, 1fr);
        line-height: 20px;
    }

    .aeroplane-portfolio-detail__gallery {
        border-radius: 14px;
        min-height: 220px;
    }

    .aeroplane-portfolio-detail__gallery-arrow {
        height: 44px;
        top: calc(50% - 22px);
        width: 44px;
    }

    .aeroplane-portfolio-detail__gallery-arrow::before {
        left: 14px;
        top: 15px;
    }

    .aeroplane-portfolio-detail__gallery-arrow::after {
        left: 12px;
        top: 21px;
    }

    .aeroplane-portfolio-detail__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .aeroplane-portfolio-detail__action {
        width: 100%;
    }

    .aeroplane-portfolio-detail__action:nth-child(1) .wp-block-button__link,
    .aeroplane-portfolio-detail__action:nth-child(2) .wp-block-button__link,
    .aeroplane-portfolio-detail__action:nth-child(3) .wp-block-button__link {
        width: 100%;
    }

    .aeroplane-portfolio-filter__toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .aeroplane-portfolio-filter__modes {
        max-width: 100%;
    }

    .aeroplane-header__topbar-inner {
        gap: 12px;
        padding-inline: 15px;
    }

    .aeroplane-header__socials {
        display: none !important;
    }

    .aeroplane-header__phone a {
        font-size: 12px;
    }

    .aeroplane-footer {
        min-height: 0;
    }

    .aeroplane-footer__inner {
        padding: 40px 15px 24px;
    }

    .aeroplane-footer__top {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .aeroplane-footer__service-columns {
        align-items: flex-start;
        flex-direction: column;
    }

    .aeroplane-footer__service-navigation {
        flex-basis: auto;
        width: 100%;
    }

    .aeroplane-footer__calculator {
        max-width: none;
        width: 100%;
    }

    .aeroplane-footer__map {
        background-position: 65% center;
        background-size: auto 100%;
        height: 360px;
        margin-top: 40px;
    }

    .aeroplane-footer__contact-card {
        left: 20px;
        top: 24px;
        width: calc(100% - 40px);
    }

    .aeroplane-footer__map-marker,
    .aeroplane-footer__map-sign,
    .aeroplane-footer__yandex,
    .aeroplane-footer__street {
        display: none;
    }

    .aeroplane-footer__bottom {
        grid-template-columns: 1fr 48px;
    }

    .aeroplane-footer__bottom p:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .aeroplane-footer__back-to-top {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .aeroplane-portfolio {
        padding: 35px 15px 60px;
    }

    .aeroplane-portfolio__title {
        font-size: 34px;
        line-height: 40px;
    }

    .aeroplane-portfolio__grid {
        grid-template-columns: 1fr;
    }

    .aeroplane-portfolio-child {
        padding: 35px 15px 60px;
    }

    .aeroplane-portfolio-child .aeroplane-portfolio-child__title-prefix,
    .aeroplane-portfolio-child .aeroplane-portfolio-child__title {
        font-size: 34px;
        line-height: 40px;
    }

    .aeroplane-portfolio-child .aeroplane-portfolio-child__query {
        margin-top: 30px;
    }

    .aeroplane-portfolio-child .aeroplane-portfolio-child__grid {
        grid-template-columns: 1fr;
    }

}
