/* Keep empty slots measurable by the ad loader, outside the document flow. */
.site-ad-top {
    text-align: center;
}

.site-ad-top:not(.has-visible-ad) {
    height: 0;
    overflow: hidden;
}

.site-ad-top img,
.site-ad-rail img {
    max-width: 100%;
    height: auto;
}

.site-ad-top iframe,
.site-ad-rail iframe {
    max-width: 100%;
}

.row:has(> .site-ad-rail) {
    position: relative;
}

.site-ad-rail:not(.has-visible-ad) {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.row:has(> .site-ad-rail:not(.has-visible-ad)) > .col-12 {
    margin-inline: auto;
}

.site-footer {
    width: 100%;
    max-width: 1140px;
    margin: 24px auto 0;
    padding: 0 15px 24px;
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.site-footer__note {
    margin: 16px 0 0;
    font-size: 12px;
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-bottom: 72px;
    }
}

/* Each benefit occupies its own row in both package cards. */
.service-packages-bomb > .d-flex,
.service-packages-rocket > .d-flex {
    width: 100%;
    align-items: center;
    padding: 2px 15px 2px 21px;
}

.service-packages-bomb > .d-flex img,
.service-packages-rocket > .d-flex img {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    object-fit: contain;
}

.service-packages-bomb > .d-flex p,
.service-packages-rocket > .d-flex p {
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.check-ads .check-ads-info {
    overflow-wrap: anywhere;
}

.login-window-modal {
    inset: 0;
    transform: none;
    width: auto;
    height: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(0, 0, 0, 0.5);
}

.login-window-modal .login-window-modal1,
html body .login-window-modal .login-window-modal3 {
    position: static;
    transform: none;
    width: 100%;
    max-width: 380px;
    margin: auto;
    flex: none;
}

.login-window-modal .login-window {
    position: relative;
    inset: auto !important;
    transform: none;
    width: 100%;
    padding: 32px clamp(14px, 5vw, 40px) 24px;
    background: #fff;
    visibility: hidden;
}

.login-window-modal .login-window[style*="opacity: 1"] {
    visibility: visible;
}

.login-window-modal .login-window > img {
    top: 9px;
    right: 9px;
}

.login-window-modal h1 {
    margin: 8px 20px 10px;
}

.login-window-modal #login-window-errmess,
.login-window-modal #reg-window-errmess {
    width: auto;
    margin: 0;
    overflow-wrap: anywhere;
}

.login-window-modal .login-window input,
.login-window-modal .login-window select {
    display: block;
    width: 100%;
    margin: 0;
    min-height: 46px;
}

.login-window-modal .login-window > input {
    padding-inline: 14px;
}

.login-window-modal .phone-confirm input {
    padding: 12px 132px 12px 14px;
}

.login-window-modal #phoneconfirminput input {
    padding-right: 144px;
}

.login-window-modal .phone-confirm p {
    top: 50% !important;
    right: 10px;
    transform: translateY(-50%);
    margin: 0;
    max-width: 96px;
    line-height: 1.15;
    text-align: right;
}

.login-window-modal .phone-confirm p[data-eye] {
    right: 111px;
    width: 22px;
}

.login-window-modal .login-window > .d-flex {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.login-window-modal .login-window > .d-flex a {
    width: auto;
    margin: 0;
    padding: 10px 16px !important;
    text-align: center;
    cursor: pointer;
}

.login-window-modal .login-window > .d-flex a:first-of-type {
    min-width: 112px;
    border: 1px solid transparent;
    color: #fff;
}


.help-page {
    overflow-wrap: anywhere;
}

.help-page img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .index1 .last-update-wrapper {
        flex-wrap: wrap;
    }

    .index1 .last-update-wrapper .last-update {
        flex-basis: 100%;
    }

    .index1 .last-update-wrapper .ads-start__sort {
        max-width: 100%;
        margin-bottom: 8px;
    }

    .type-of-place .ads-element-tile .row {
        width: auto;
        margin-inline: 0;
    }

    .type-of-place .ads-element-tile .row > .bg-white {
        margin-inline: 15px;
        width: calc(100% - 30px);
    }
}

/* Board-2022 desktop grid: 620px content, 240px rail and 50px between them. */
.board-page {
    --board-shell: 970px;
    --board-content: 650px;
    --board-rail: 270px;
    --board-rail-gap: 20px;
}

.board-search-settings,
.board-page .board-mobile-nav {
    display: none;
}

.board-page .adss-header > .container {
    max-width: var(--board-shell);
}

.board-desktop-menu {
    position: absolute;
    left: 0;
    border: 0;
}

.board-category-menu {
    width: 280px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.board-category-menu .important-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.board-category-menu a {
    color: #373a3c;
}

.board-category-menu .important-menu-header__exit {
    position: static;
    border: 0;
    background: transparent;
    padding: 6px;
}

.board-category-links a {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 8px 16px;
}

.board-category-links p {
    margin: 0;
}

.board-category-links img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .board-page .adss-header {
        min-height: 50px;
        position: relative;
    }

    .board-page .adss-header > .container > .d-flex:first-child a {
        padding-block: 10px;
    }

    .board-page .adss-header .board-desktop-menu {
        width: 50px;
        height: 50px;
    }

    .board-home .adss-header > .container > .d-flex:first-child {
        margin-left: 28px;
    }

    .board-page :is(.container, .container-md):has(> .row > .site-ad-rail) {
        max-width: var(--board-shell);
        margin-inline: auto;
    }

    .row:has(> .site-ad-rail) > .col-12 {
        flex: 0 1 var(--board-content);
        min-width: 0;
        max-width: min(100%, var(--board-content));
    }

    .check-ads .container-md > .type-of-place-header.row > .col-xl-8 {
        flex: 0 1 calc(var(--board-content) - 30px);
        max-width: calc(100% - 30px);
    }

    .board-page .login-window-modal {
        padding-top: 70px;
    }

    .board-page .login-window-modal :is(.login-window-modal1, .login-window-modal3) {
        margin-block: 0 auto;
    }
}

@media (min-width: 992px) {
    .row:has(> .site-ad-rail) {
        column-gap: var(--board-rail-gap);
    }

    .board-page .site-ad-rail {
        display: block !important;
        flex: 0 0 var(--board-rail);
        width: var(--board-rail);
        max-width: var(--board-rail);
    }

    .board-page .site-ad-rail .promotion {
        margin-left: 0;
        margin-top: 0;
    }

    .board-page .site-ad-rail .promotion + .promotion {
        margin-top: 20px;
    }

    .add-adssss > .breadcrumbs {
        width: min(100% - 30px, var(--board-content) - 30px);
        margin-left: 0;
    }

    .add-adssss:has(> .row > .site-ad-rail:not(.has-visible-ad)) > .breadcrumbs {
        width: min(100%, var(--board-content) - 30px);
        margin-inline: auto;
    }

    .check-ads .container-md:has(> .row > .site-ad-rail:not(.has-visible-ad))
        > .type-of-place-header.row > .col-xl-8 {
        margin-inline: auto;
    }
}

@media (max-width: 991.98px) {
    .row:has(> .site-ad-rail) > .col-12 {
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .board-page .adss-header {
        min-height: 70px;
    }

    .board-page .board-mobile-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        min-height: 60px;
        padding-bottom: env(safe-area-inset-bottom);
        background: #fff;
        border-radius: 6px 6px 0 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.10);
        z-index: 450;
    }

    .board-page .board-mobile-nav .board-nav-item {
        display: grid;
        place-items: center;
        flex: 1 1 20%;
        width: auto;
        height: 54px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .board-page .adsss-start-page .form__desktop-start > .background {
        padding: 4px;
        margin-top: 10px;
        border-radius: 6px;
    }

    .board-page .form__desktop-start .background > .d-flex:first-child {
        gap: 0;
    }

    .board-search-settings {
        display: grid;
        place-items: center;
        width: 35px;
        height: 32px;
        flex: 0 0 35px;
        border: 0;
        border-right: 1px solid #dee1e7;
        background: #fff;
    }

    .board-page .board-search-settings img {
        position: static;
        transform: none;
    }

    .board-page .form__desktop-start .background:has(.board-search-settings) .form__search {
        order: 1;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: 32px;
        padding: 5px 6px 5px 27px;
        border: 0;
        background: #fff url("../img/board-search.svg") no-repeat 7px center;
    }

    .board-page .form__desktop-start .background:has(.board-search-settings) .form__btn-search {
        order: 2;
        width: auto;
        padding: 4px 9px;
        border-radius: 4px;
    }

    .board-page .form__desktop-start .background:has(.board-search-settings) :is(.form__choose-1, .form__choose-2) {
        display: none !important;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        margin-top: 4px;
        border-radius: 4px;
        border: 1px solid #dee1e7;
    }

    .board-page .form__desktop-start .board-search-expanded:has(.board-search-settings) :is(.form__choose-1, .form__choose-2) {
        display: flex !important;
    }

    .board-page .ads-category .board-categories-button {
        flex: 0 0 36px;
        height: 36px;
        margin-right: 8px;
        border: 1px solid #dee1e7;
        border-radius: 6px;
        background: #fff;
    }

    .board-page .adsss-start-page .ads-element-tile > .row > div {
        padding-inline: 5px;
    }

    .board-page .adsss-start-page .ads-element-tile > .row {
        margin-inline: -5px;
    }

    .board-page #addpost .new__section {
        padding-bottom: 16px;
    }

    .board-page #addpost .new__section h1 {
        font-size: 16px;
    }

    .board-page #addpost .photo-file {
        display: block !important;
    }

    .board-page #addpost .new__section-cost input[type="submit"] {
        width: 100%;
    }

    .board-page #addpost .new__section-cost:last-child .col-3:has(input[type="submit"]) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.board-profile-cards {
    display: grid;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.board-profile .board-profile-cards .ads-profiles {
    width: 100%;
    max-width: none;
    margin: 0;
}

.board-org-card {
    align-self: start;
    background: #fff;
    border: 1px solid #dee1e7;
    border-radius: 12px;
}

.board-org-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}

.board-org-card__header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.board-org-card__header button {
    background: transparent;
    border: 0;
    padding: 4px;
}

.board-org-card dl {
    margin: 0;
}

.board-org-card dl > div {
    border-top: 1px solid #eceef2;
    padding: 6px 14px;
    overflow-wrap: anywhere;
}

.board-org-card dt {
    color: #777;
    font-size: 11px;
    font-weight: 400;
}

.board-org-card dd {
    margin: 0;
    font-size: 14px;
}

.board-balance {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    background: #00b153;
    color: #fff;
    padding: 14px;
    font-size: 13px;
    line-height: 1.25;
}

.board-balance strong {
    font-size: 24px;
}

.board-balance:hover {
    color: #fff;
}

.board-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    clear: both;
    gap: 10px;
    margin: 0 0 10px;
}

.board-profile-tabs a {
    padding: 7px 10px;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 14px;
}

.board-profile-tabs a:first-child {
    background: #003eb1;
    color: #fff;
}

.board-profile-archive h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 18px 0 12px;
}

.board-profile-archive .board-archived-post .position-relative {
    border-radius: 6px;
}

.board-archived-post .ads-element__img,
.board-archived-post .ads-element-product {
    opacity: 0.6;
}

@media (min-width: 768px) {
    .board-profile-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .board-profile-cards .board-balance {
        grid-column: 1;
    }
}

@media (max-width: 767.98px) {
    .board-page #cookie_note {
        bottom: 72px;
    }
}

.login-window-modal .login-window > .d-flex a:not(:first-child) {
    border: 1px solid #c7c7c7;
    border-radius: 6px;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
}

.login-window-modal .login-window-modal1 .login-window > .d-flex a {
    flex: 1 1 0;
}

.login-window-modal .login-window-modal1 .login-window > .d-flex a:only-child,
.login-window-modal .login-window-modal1 .login-window > .d-flex:has(.wind-reg[style*="display: none"]) a {
    flex: 0 1 auto;
}

@media (min-width: 768px) {
    .login-window-modal .login-window {
        padding-bottom: 40px;
    }

    .login-window-modal .login-window input,
    .login-window-modal .login-window select {
        min-height: 50px;
    }

    .login-window-modal .login-window h1 {
        margin-bottom: 16px;
    }

    .login-window-modal1:has(.wind-reg:not([style*="display: none"])) .login-window {
        padding-bottom: 70px;
    }

    .login-window-modal1:has(.wind-reg:not([style*="display: none"])) .phone-confirm .sendsmstext {
        top: calc(100% + 72px) !important;
        left: 0;
        right: auto;
        max-width: none;
        text-align: left;
    }

    .login-window-modal1:has(.wind-reg:not([style*="display: none"])) #phoneconfirminput input {
        padding-right: 54px;
    }

    .login-window-modal1:has(.wind-reg:not([style*="display: none"])) .phone-confirm p[data-eye] {
        right: 14px;
    }
}

@media (min-width: 992px) {
    .board-page:has(.site-ad-rail.has-visible-ad) .login-window-modal :is(.login-window-modal1, .login-window-modal3) {
        margin-left: calc((100% - var(--board-shell)) / 2 + 255px);
    }
}

@media (min-width: 768px) {
    .board-page .help-page {
        max-width: var(--board-content);
        padding-top: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .board-home .adss-header > .container > .d-flex:first-child {
        margin-left: 48px;
    }
}

@media (max-width: 767.98px) {
    .board-profile .profile-active-action .profile-mid-width {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 0 6px;
    }

    .board-profile .profile-active-action .profile-mid-width:first-child p {
        white-space: normal;
    }
}

.board-photo-label {
    margin: 0;
    color: #003eb1;
    cursor: pointer;
}

.board-services-title {
    margin: 20px 0 12px;
    font-size: 16px;
    font-weight: 700;
}

.board-publish-preview .board-preview-top-actions {
    display: none !important;
}

.board-publish-preview .check-ads-gallery .bg-white {
    border-radius: 12px 12px 0 0;
}

@media (max-width: 991.98px) {
    .board-page .ads .owl-next {
        margin-right: 0 !important;
    }

    .board-page .ads .owl-prev {
        margin-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .board-publish-preview .check-ads__btn > .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .board-publish-preview .check-ads-second__btn {
        width: 100%;
    }
}

.board-profile-sort {
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 14px;
}

.board-profile-sort[aria-pressed="true"] {
    background: #003eb1;
    color: #fff;
}

.board-page .adss-header .adss-header__btn-item3 {
    align-items: center;
    width: auto;
    min-width: 0;
    max-width: 172px;
    white-space: nowrap;
    background: #fff;
}

.board-page .adss-header .adss-header__btn-item3 span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-desktop-menu {
    left: max(0px, calc((100% - 1024px) / 2));
}

.board-category-menu {
    opacity: 0;
    visibility: hidden;
}

.board-category-menu.is-open {
    visibility: visible;
}

.board-category-menu .important-menu-header {
    background: #fff;
    border-bottom: 1px solid #dee1e7;
}

@media (min-width: 768px) {
    .board-profile .ads-profile-active {
        margin-inline: 0;
    }
}

@media (max-width: 767.98px) {
    .board-page .adsss-start-page .row:has(> .site-ad-rail) > .col-12 {
        padding-inline: 10px;
    }
}

.board-publish-preview .type-of-place-header img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    cursor: pointer;
}

.board-page .call .call-body {
    width: min(300px, calc(100% - 24px));
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-wrap: anywhere;
}

/* Use the same frame for the home footer and the visible columns above it. */
.board-home {
    --board-home-empty: var(--board-content);
    --board-home-frame: var(--board-home-empty);
}

@media (min-width: 992px) {
    .board-home:has(.board-home-main + .site-ad-rail.has-visible-ad) {
        --board-home-frame: calc(var(--board-content) + var(--board-rail) + var(--board-rail-gap));
    }

    .board-page.board-home:has(.board-home-main + .site-ad-rail.has-visible-ad) .site-footer {
        margin-left: calc((100% - var(--board-shell)) / 2 + 15px);
    }
}

@media (min-width: 1200px) {
    .board-home {
        --board-shell: clamp(1040px, 86vw, 1160px);
        --board-content: calc(var(--board-shell) - var(--board-rail) - var(--board-rail-gap));
        --board-home-empty: clamp(820px, 68vw, 960px);
    }

    .board-home .row:has(> .site-ad-rail:not(.has-visible-ad)) > .board-home-main {
        flex-basis: var(--board-home-empty);
        max-width: 100%;
    }

    .board-home .board-desktop-menu {
        left: max(0px, calc((100% - var(--board-shell)) / 2 - 27px));
    }
}

.board-phone-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    width: calc(100% - 30px);
    max-width: calc(var(--board-shell) - 30px);
    margin: 12px auto 16px;
    padding: 8px 14px;
    background: #e3eaf5;
    border-radius: 8px;
    color: #3b4d65;
    font-size: 14px;
}

.board-phone-notice a {
    color: #003eb1;
    font-weight: 700;
    white-space: nowrap;
}

.board-home .board-home-main {
    display: flex;
    flex-direction: column;
}

.board-home .board-home-main > .ads .owl-carousel,
.board-home-vacancies #vac {
    max-width: none;
}

.board-home-main > .pagination {
    margin-bottom: 14px;
}

.board-home .form__desktop-start > .background {
    margin-top: 0;
}

.board-home .buttons-ads .ads-start__sort-item2 {
    border: 1px solid #dee1e7;
    border-radius: 6px;
    gap: 8px;
    align-items: center;
    padding: 0 12px;
    color: #263548;
}

.board-home .ads-start__sort-item2 img {
    padding: 0;
}

.board-sort-chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin: -3px 2px 0 3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.board-home .form__sort .board-sort-chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.board-home-vacancies {
    min-width: 0;
    margin: 0 0 16px;
}

.board-home-vacancies .header__h1 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.board-home-vacancies #vac {
    width: 100%;
    margin: 8px 0 0;
}

.board-home-vacancies .owl-stage {
    display: flex;
}

.board-home-vacancies .owl-item {
    display: flex;
    flex: 0 0 auto;
    padding-bottom: 0;
}

.board-home-vacancies .vac-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #dee1e7;
    color: #263548;
}

.board-home-vacancies .vac-text h2,
.board-home-vacancies .vac-text h3,
.board-home-vacancies .vac-text p {
    margin: 0;
    padding: 0 !important;
    overflow-wrap: anywhere;
}

.board-home-vacancies .vac-text h2,
.board-home-vacancies .vac-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.35;
}

.board-home-vacancies .vac-text h2 {
    min-height: 2.7em;
}

.board-home-vacancies .vac-text p {
    color: #526172;
}

.board-page .site-footer {
    max-width: min(1320px, calc(100% - 30px));
    margin: 32px auto 20px;
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid #dbe2ec;
    border-radius: 14px;
    background: #fff;
    color: #526172;
}

@media (min-width: 768px) {
    .board-page.board-home .site-footer {
        max-width: min(calc(100% - 30px), calc(var(--board-home-frame) - 30px));
    }
}

@media (max-width: 767.98px) {
    .board-page.board-home .site-footer {
        max-width: min(520px, calc(100% - 20px));
    }
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 24px;
}

.site-footer__home {
    color: #103a70;
    font-size: 22px;
    font-weight: 700;
}

.site-footer__grid h2 {
    margin: 0 0 8px;
    color: #263548;
    font-size: 15px;
    font-weight: 700;
}

.site-footer__grid p {
    margin: 0 0 8px;
}

.site-footer__grid a:not(.site-footer__home) {
    color: #174b8f;
}

.site-footer__grid .site-footer__links {
    display: grid;
    align-content: start;
    gap: 5px;
}

.site-footer__legal {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #dbe2ec;
}

.site-footer__legal summary {
    width: fit-content;
    color: #263548;
    font-weight: 600;
    cursor: pointer;
}

.site-footer__legal details p {
    margin: 8px 0 0;
}

.site-footer__legal .site-footer__note {
    margin-top: 9px;
}

@media (min-width: 768px) {
    .board-home .last-update-wrapper {
        order: 1;
        margin: 12px 0 8px;
    }

    .board-home-vacancies {
        order: 2;
    }

    .board-home-feed-item {
        order: 3;
    }

    .board-home-main > .pagination {
        order: 4;
    }

    .board-home .board-home-feed-item.ads-element-tile > .row > div {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 767.98px) {
    .board-phone-notice,
    .board-home .last-update-wrapper,
    .board-home .ads-elements.board-home-feed-item {
        display: none !important;
    }

    .board-home .ads-element-tile.board-home-feed-item {
        display: block !important;
    }

    .board-home .board-home-main {
        padding-inline: 0 !important;
    }

    .board-home .board-home-main > :is(.form__desktop-start, .ads-category, .board-home-feed-item, .board-home-vacancies) {
        width: min(520px, calc(100% - 20px));
        margin-inline: auto;
    }

    .board-home .ads-category {
        gap: 8px;
        padding-bottom: 2px;
    }

    .board-home .ads-category > :is(.d-flex, .board-categories-button) {
        margin-inline: 0;
    }

    .board-home .board-home-main > .ads {
        min-width: 0;
        margin-bottom: 4px;
    }

    .board-home .ads .owl-carousel .owl-item > a > img {
        height: clamp(185px, 61vw, 235px) !important;
    }

    .board-home .ads .price-text {
        display: flex;
        flex-direction: column;
        height: 98px;
    }

    .board-home .ads .sell-item {
        order: -1;
        margin-top: 12px;
    }

    .board-home .ads .price {
        padding-top: 4px !important;
    }

    .board-home .ads .sell-info {
        position: static;
    }

    .board-home .board-home-feed-item.ads-element-tile {
        margin-block: 0 10px;
        padding: 0 !important;
    }

    .board-home-vacancies .vac-text {
        padding: 11px 14px;
    }

    .board-home-vacancies .vac-text p {
        -webkit-line-clamp: 1;
    }

    .board-home .board-home-feed-item .tile-up-active img {
        top: 30px;
        right: 9px;
    }

    .board-home .board-home-feed-item .bg-white > img {
        height: clamp(102px, 33vw, 165px) !important;
    }

    .board-home .board-home-feed-item .tile-text {
        display: flex;
        flex-direction: column;
        height: 87px;
        padding: 7px 9px;
    }

    .board-home .board-home-feed-item .tile-text h5 {
        line-height: 1.25;
        order: 2;
        margin: 3px 0;
        padding: 0;
        font-size: 14px;
    }

    .board-home .board-home-feed-item .tile-text > p {
        display: block;
        flex: 0 0 17px;
        height: 17px;
        line-height: 17px;
        white-space: nowrap;
        order: 1;
        margin: 0;
        padding: 0;
        font-size: 13px;
    }

    .board-home .board-home-feed-item .map-tile {
        order: 3;
    }

    .board-home .board-home-feed-item .mileage {
        position: static;
        gap: 4px;
        font-size: 10px;
    }

    .board-home .board-home-feed-item .mileage p {
        margin: 0;
        padding: 0;
    }

    .board-page .site-footer {
        margin-bottom: 78px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
