@font-face {
    font-family: Inter;
    /* Гарнитура шрифта */
    src: url(/fonts/Inter.ttf);
    /* Путь к файлу со шрифтом */
}

@font-face {
    font-family: Manrope;
    /* Гарнитура шрифта */
    src: url(/fonts/Manrope-VariableFont_wght.ttf);
    /* Путь к файлу со шрифтом */
}

@font-face {
    font-family: Onest-bold;
    /* Гарнитура шрифта */
    src: url(/fonts/OnestBold1602-hint.ttf);
    /* Путь к файлу со шрифтом */
}

@font-face {
    font-family: Onest-regular;
    /* Гарнитура шрифта */
    src: url(/fonts/OnestRegular1602-hint.ttf);
    /* Путь к файлу со шрифтом */
}

@font-face {
    font-family: Onest;
    /* Гарнитура шрифта */
    src: url(/fonts/OnestRegular1602-hint.ttf);
    /* Путь к файлу со шрифтом */
}

body {
    /* margin-top: 90px !important; */
    line-height: 1.5 !important;
}

a:hover {
    background: none !important;
}

nav {
    background-color: #ffffff;
    margin-top: 0px;
    padding-top: 0px !important;
}

.na .nav-item img {
    display: inline !important;
}

/* .container-fluid {
  border-style: solid;
}

.row {
  border-style: solid;
}

[class|="col"] {
  border-style: solid;
} */

.block-registration img {
    /* competitions/card/cover */

    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;

    border-radius: 32px;

    /* Inside auto layout */

    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 1;
    z-index: 0;
}

.block-contests-card-image,
.block-contests-all-card-image {
    overflow: hidden;
    height: 200px;
}

.block-contests-card-image > a,
.block-contests-all-card-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

.block-contests-card-image > a img,
.block-contests-all-card-image > a img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
}

.block-contests-card,
.block-contests-all-card {
    /* competitions/card/competiition-card */


    /* Auto layout */

    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 0px 0px 0px;
    isolation: isolate;

    /* bg/default */

    background: #FFFFFF;
    /* Card shadow */

    box-shadow: 4px 4px 12px rgba(59, 67, 87, 0.07);
    border-radius: 32px;

    /* Inside auto layout */

    /* flex: none; */
    /* order: 0; */
    /* flex-grow: 0; */
    /* margin: 10px 10px 10px 10px; */

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* box-shadow:0 0 1px transparent; */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

/* .block-card:first-child {
  margin: 0px 0px 30px 0px;
} */


.block-contests-card-section {
    /* category */

    /*
  width: 269px;
  height: 16px; */

    /* tag */

    font-family: 'Onest-bold';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    /* identical to box height, or 133% */

    text-transform: uppercase;
    text-align: left;
    margin-top: 16px;
    margin-left: 16px;
    margin-right: 16px;
    /* text/secondary */

    color: #4D5157;

}

.block-contests-card-title {

    /* competition-name */


    /* body/lgBold */
    /* margin: 5px; */
    font-family: 'Onest-bold';
    font-style: normal;
    /* font-weight: 700; */
    font-size: 18px;
    line-height: 24px;
    /* or 133% */


    /* text/primary/default */
    margin-top: 8px;
    margin-left: 16px;
    margin-right: 16px;
    color: #262626;
    /* align-items: flex-start; */

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.block-contests-card-tag {

    font-family: 'Onest-regular';

    font-size: 14px;
    /* line-height: 30px; */
    /* or 143% */

    margin-top: 8px;
    margin-left: 16px;
    margin-right: 16px;
    /* text/secondary */

    color: #4D5157;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.block-contests-card-competition-join {
    position: relative;

    /* text */


    /* width: 103px; */
    /* height: 16px; */

    /* tag */

    font-family: 'Onest-bold';
    font-style: normal;
    /* font-weight: 700; */
    font-size: 12px;
    /* line-height: 16px; */
    /* identical to box height, or 133% */

    /* letter-spacing: 0.04em; */
    text-transform: uppercase;
    padding-left: 35px;
    /* text/primary/default */

    color: #262626;


    /* Inside auto layout */

    /* flex: none; */
    /* order: 1; */
    /* flex-grow: 0; */
    letter-spacing: 4%;
    width: 151px;
}

.block-contests-card-footer {
    position: absolute;
    bottom: 30px;
}

.block-contests-card-competition-deadline {
    /* width: 107px; */
    /* height: 16px; */

    /* body/smBold */

    font-family: 'Onest-bold';
    font-style: normal;
    /* font-weight: 700; */
    font-size: 14px;
    line-height: 16px;
    /* identical to box height, or 114% */

    /* padding-left: 15px; */
    /* text/primary/default */

    color: #262626;
    width: 150px;

}

.block-contests-card-competition-deadline-date {
    font-family: 'Onest-bold';
    font-style: normal;
    font-size: 14px;
    line-height: 16px;
    color: #262626;
    background-color: #eaecef;
    border-radius: 40px;
    padding: 7px 15px;
}

.button-more {
    /* button-master */


    box-sizing: border-box;

    /* Auto layout */

    /* display: flex; */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 32px;
    gap: 8px;

    width: 179px;
    height: 48px;

    /* stroke/inverse/default */

    border: 1.5px solid #262626;
    border-radius: 40px;
}

.button-filter {
    /* tag/primary */


    box-sizing: border-box;

    /* Auto layout */
    font-family: 'Onest-regular';
    /* display: flex; */
    /* flex-direction: row;
  justify-content: center; */
    /* align-items: center; */
    /* padding: 1px 16px 0px; */
    /* gap: 10px; */

    /* width: 111px; */
    height: 32px;
    font-size: 14px;
    /* stroke/inverse/default */

    border: 1.5px solid #262626;
    border-radius: 40px;

}

.text-category {
    color: #262626;
}

.block-filter {
    /* position: sticky; */
    /* top: 50px; */

    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 16px 0px 16px;
    /* gap: 24px; */

    width: auto;
    /* изменено с 301px на auto */
    min-width: 301px;
    /* минимальная ширина, если нужно */

    height: auto;
    min-height: 0;
    /* на всякий случай */
    align-self: flex-start;
    /* если родитель — flexbox */

    /* bg/island/default */
    background: #F8F9FA;
    border-radius: 32px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;

    max-height: 100vh;
    /* Максимальная высота равна высоте экрана */
}

.search-input {
    width: 100%;
    border-radius: 40px;
}

.search-input:focus {
    outline: #B2AAFF;
    border-color: #B2AAFF;
    box-shadow: 0 0 0 .25rem rgba(178, 170, 255, .25);
}

/* .toggle-icon {
    transition: all 3s ease;
} */

.category-count {
    font-family: Onest-bold;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 18px;
    background-color: black;
    color: white;
    border-radius: 12px;
    padding: 4px 9px;
    margin-left: 8px;
}

.category-block {
    display: flex;
    flex-direction: column;
    max-height: 280px;
    /* Высота экрана минус какое-то значение, например 100px, если у вас есть дополнительные элементы в block-filter */
    overflow-y:scroll;
    /* Показать полосу прокрутки, если контент не умещается */
}


.block-footer {
    /* footer/desktop */


    /* Auto layout */
    /* align-items: flex-start; */

    /* text/primary/default */

    background: #262626;

    /* Inside auto layout */

    /* flex: none;
    order: 2;
    flex-grow: 0; */
    color: #FFFFFF;
}

.block-footer-links {
    font-family: 'Onest-bold';
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.02em;
}

.block-footer-info {
    font-family: 'Inter';
    font-size: 16px;
    line-height: 24px;
}

.block-footer-about {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.block-footer-about-item li:not(:last-child) {
    margin-bottom: 8px;
}

.block-footer-about-item ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.block-footer .row {
    margin-top: 10px;
}

.text-regular {
    font-family: 'Onest-regular';
}

.button-new-competition {
    /* button-master */


    box-sizing: border-box;

    /* Auto layout */

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 11px 21px;
    gap: 8px;

    width: 205px;
    height: auto;

    /* stroke/inverse/default */
    background: white;
    border: 1.5px solid #262626;
    border-radius: 40px;

    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;
}

.button-new-competition span,
.button-new-competition img {
    display: inline-block;
    /* Заставляет элементы вести себя как строчно-блочные */
    vertical-align: middle;
    /* Выравнивание по центру относительно друг друга */
}


@media (max-width: 767px) {
    .button-new-competition {
        width: 125px;
        padding: 8px 16px;
    }
}

.button-beta {
    /* button-master */


    /* Auto layout */

    /* display: flex; */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 3px 7px;
    /* gap: 8px; */

    /* width: 114px; */
    height: 23px;
    color: white;

    border-style: none;
    /* bg/inverse/defailt */

    /* background: orange; */
    background: #a8a2fa;
    border-radius: 40px;
    position: relative;
    top: -3px;
}

#button-find-competition {
    /* button-master */


    /* Auto layout */

    /* display: flex; */
    /* flex-direction: row;
  justify-content: center;
  align-items: center; */
    /* padding: 16px 32px; */
    /* gap: 8px; */

    /* width: 114px; */
    /* height: 48px; */
    color: white !important;

    /* bg/inverse/defailt */
    position: relative !important;
    background: #262626 !important;
    border-radius: 40px !important;

    /* Inside auto layout */
    /*
  flex: none;
  order: 0;
  flex-grow: 0; */
    /* font-size: 24px; */
    /* font-family: Onest-regular; */
    /* font-weight: normal; */
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-15deg);
    -ms-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
    transform: rotate(-15deg);

    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    -o-transform-origin: top left;
    transform-origin: top left;

    transition: 300ms ease-out 200ms;
    border-style: none;
    margin-top: 40px !important;
    z-index: 2 !important;
}

#div-find-competition:hover>a>#button-find-competition {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);

    -webkit-transform-origin: top left;
    -moz-transform-origin: top left;
    -ms-transform-origin: top left;
    -o-transform-origin: top left;
    transform-origin: top left;

    background: #7c45f1 !important;
}

#div-find-competition:hover>a>#button-find-competition-arrow {

    border-color: #7c45f1 !important;
    color: #7c45f1 !important;
    top: 5px !important;
    left: -2px !important;

    /* border-style: none; */
}

#div-find-competition a {
    text-decoration: none !important;
}

#button-find-competition-arrow {
    /* padding: 0px 11px 3px 11px; */
    /* gap: 16px; */
    color: #262626 !important;
    background: white !important;
    border: solid black !important;
    border-radius: 40px !important;

    /* Inside auto layout */

    z-index: 1 !important;
    transition: 300ms ease-out 200ms;
}

/* #button-find-competition-arrow img {
  width: 30px;
} */

.input-group {
    height: 50px;
}

.block-step-number {
    padding: 4px 0px 0px 11px;

    margin: 10px;
    width: 30px;
    height: 30px;

    color: white;
    background: black;

    border-radius: 32px;

}

.block-modal-step-number {
    padding: 4px 0px 0px 11px;

    margin: 10px;
    width: 30px;
    height: 30px;

    color: white;
    /* background: #7C45F1; */
    background: black;

    border-radius: 32px;

}

.block-step-header {
    color: black;
    font-family: Onest-regular;
    font-size: 20px;
}

.block-step-title {
    color: black;
    font-size: 20px;
}

.block-step-text {
    color: black;
    font-family: Onest-regular;
    font-weight: normal;
    font-size: 14px;
}

.block-howitworks-steps-number {
    font-family: Onest-bold;
}

.block-howitworks-steps-title {
    font-family: Onest-bold;
}

.block-howitworks-steps-text {
    font-family: Inter;
}

.block-step-number-mobile {
    padding: 4px 0px 0px 11px;

    margin: 10px 0px 0px 20px;
    width: 30px;
    height: 30px;

    color: white;
    background: black;

    border-radius: 32px;

}

.block-modal-step-number-mobile {
    padding: 4px 0px 0px 11px;

    margin: 10px;
    width: 30px;
    height: 30px;

    color: white;
    /* background: #7C45F1; */
    background: black;

    border-radius: 32px;

}

.block-step-header-mobile {
    color: black;
    font-family: Onest-regular;
    font-size: 20px;
}

.block-step-title-mobile {
    color: black;
    font-size: 18px;
    margin: 0px;
}

.block-step-text-mobile {
    color: black;
    font-family: Onest-regular;
    font-weight: normal;
    font-size: 14px;
}

.block-clients {
    /* competitions/card/competiition-card */


    /* Auto layout */

    display: flex;
    /* flex-direction: column;
    align-items: left; */
    justify-content: center;
    align-items: center;
    padding: 20px 40px 0px;
    /* isolation: isolate; */

    /* width: 301px; */
    height: 250px;

    /* bg/default */

    background: #FFFFFF;
    /* Card shadow */

    box-shadow: 4px 4px 12px rgba(59, 67, 87, 0.07);
    border-radius: 32px;

}

.block-reviews-card {
    /* competitions/card/competiition-card */


    /* Auto layout */

    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: left; */
    /* padding: 20px 40px 0px; */
    /* isolation: isolate; */

    /* width: 634px;
    height: 262px; */
    /* overflow: hidden; */
    /* bg/default */

    background: #eef0f4;
    /* Card shadow */

    /* box-shadow: 4px 4px 12px rgba(59, 67, 87, 0.07); */
    border-radius: 32px;
    /* gap: 16px; */

}

.block-reviews-card-avatar img {
    width: 80px;
    height: 80px;

    border-radius: 80px;
}

.block-reviews-card-title-fio {
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
}

.block-reviews-card-title-from {
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
}

.block-reviews-card-title-job {
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
}

.block-reviews-card-text {
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
}

.block-howitworks {
    /* competitions/card/competiition-card */


    /* Auto layout */

    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: left; */
    padding: 32px;
    /* isolation: isolate; */

    /* width: 301px; */
    /* height: 250px; */

    /* bg/default */

    background: #f8f9fa;
    /* Card shadow */
    font-family: Inter;
    font-weight: normal;
    /* box-shadow: 4px 4px 12px rgba(59, 67, 87, 0.07); */
    border-radius: 32px;

}

.block-howitworks-steps>div {
    padding: 32px;
    /* background: #f8f9fa; */
    font-family: Inter;
    font-weight: normal;
    /* box-shadow: 4px 4px 12px rgba(59, 67, 87, 0.07); */
    border-radius: 32px;
}

.block-howitworks-steps-2,
.block-howitworks-steps-3 {
    background: #f8f9fa;
}

.block-howitworks-steps-1 {
    background: #B6F0F6;
}

.block-howitworks-steps-4 {
    background: #FEDCFF;
}

.block-howitworks-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-howitworks-steps-number {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: white;
    background: black;
}

.block-howitworks-steps-title {
    margin-top: 16px;
}

.block-howitworks-steps-text {
    margin-top: 8px;
}

.block-news-card-title {
    margin-top: 8px;

    font-family: 'Onest-bold';
    font-size: 18px;
    line-height: 24px;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.block-news-card-title a {
    text-decoration: none !important;
    color: black !important;
}

.block-news-card-date {
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
    color: #4D5157;

    margin-top: 16px;
}

.itc-slider {
    overflow: hidden;
    padding-bottom: 35px;
}

.itc-slider__wrapper {
    margin-left: -10px;
    margin-right: -10px;
}

@media (min-width: 768px) {
    .itc-slider__item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1200px) {
    .itc-slider__item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 1440px) {
    .itc-slider__item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.card {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    border-style: none;
}

.card__header {
    position: relative;
}

.card__img {
    display: block;
    height: auto;
    max-width: 100%;
}

.card__section {
    position: absolute;
    bottom: 6px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 12px;
    line-height: 1;
}

.card__title {
    background: #fafafa;
    color: #424242;
    white-space: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    padding: 10px 15px;
    margin: 0;
    height: 72px;
}

.card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fafafa;
    padding: 10px 15px 15px;
    color: #616161;
}

.card__photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.card__author {
    margin-left: 6px;
}

.card__icon {
    margin-left: auto;
    width: 18px;
    max-height: 20px;
}

.card__views {
    margin-left: 6px;
}

.itc-slider__btn {
    background-color: unset;
}

.itc-slider__btn:hover,
.itc-slider__btn:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

.itc-slider__indicators {
    bottom: 0;
}

.itc-slider__indicator {
    background-color: #eee;
}

.itc-slider__indicator_active {
    background-color: #757575;
}

.navbar,
.navbar-header {
    height: 88px !important;
}

.navbar-header__actions div a button:hover {
    background: none !important;
}

.nav-link {
    font-family: Onest;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: black !important;
}

.nav-item>.active {
    /* font-family: Onest-bold; */
}

.nav-link:hover {
    /* font-family: Onest-bold; */
    color: #7C45F1;
}

.footer-nav-link {
    font-family: Onest-regular;
    color: white;
}

.footer-nav-item>.active {
    font-family: Onest-bold;
}

.footer-nav-link:hover {
    font-family: Onest-bold;
    color: #7C45F1;
}

.block-all-label {
    color: black;
}

.block-all-label:hover {
    color: #7C45F1;
}

.block-benefits {
    font-style: normal;
    font-weight: 400;
    /* font-size: 18px; */
    /* line-height: 26px; */
    /* gap: 48px; */
}

.block-benefits>div {
    display: flex;
    flex-direction: column;
}

.block-benefits>div>div {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.block-benefits-item {
    display: flex;
    flex-direction: row;
}

.block-title-name {
    font-family: Onest-bold;
    font-style: normal;
    font-weight: 700px;
}

.block-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.block-title-more a {
    display: flex;
    flex-direction: row;
    text-decoration: none !important;
    color: black !important;
    background: none !important;
}

.block-title-more a:hover {
    color: #7C45F1 !important;
    background: none !important;
}

.block-title-more-name {
    font-family: Onest-bold;
}

.block-title-more-arrow {
    font-family: Manrope;
}

.block-contests-card:hover,
.block-contests-card:active,
.block-contests-card:focus,
.block-contests-all-card:hover,
.block-contests-all-card:active,
.block-contests-all-card:focus {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
}

.block-registrationbutton {
    font-family: Onest-bold;
    background: black;

    /* margin: auto; */
    /* display: table-cell; */
    /* vertical-align: middle; */
    text-align: center;
}

.block-registrationbutton a {
    color: white;
    text-decoration: none;
}

.block-center {
    display: flex;
    justify-content: center;
}

.block-news-card-image img {
    border-radius: 32px;
    max-width: none;
}

.block-intro-title {
    font-family: Onest-bold;
}

.block-intro-title img {
    display: inline !important;
}

.block-intro-title h1 {
    color: #000 !important;
    font-family: Onest-bold !important;
}

.block-intro-button {
    width: 308px;
}

.block-intro-image img {
    padding-right: 0px;
    margin-right: 0px;
    width: 101%;
}

.carousel-cell {
    position: relative;
}

.block-category-card {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 301px;
    height: 301px;
    background: #F8F9FA;
    border-radius: 40px;
}

.block-category-card:hover {
    background: #EEF0F4;
}

.block-category-card-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
}

.block-category-card-text {
    font-family: 'Onest-bold';
    color: #262626;
    position: absolute;
    padding-left: 32px;
    padding-right: 32px;
    /* align-items: center; */

    bottom: 32px;
}

.block-no-contests {
    font-family: Onest-bold;
    width: 45vw;
    position: absolute;
    top: 40%;
    left: 45%;
    margin-bottom: 40px;
    text-align: center;
}

.block-no-contests-1stline {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 20px;
}

.block-no-contests-1stline img {
    display: inline-block;
}

.block-no-contests-2ndline {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 20px;
}

.block-no-contests-3rdline {
    font-size: 18px;
    line-height: 32px;
}

.button-all-contests {
    display: inline-block;
    color: #A7A3FF;
    border-radius: 32px;
    border: 2px solid;
    padding: 1px 15px;
    background-color: white;
}

.button-all-contests:hover {
    background-color: #f0f0f0;
}

.button-new-contest {
    display: inline-block;
    color: #016FFB;
    border-radius: 32px;
    border: 2px solid;
    padding: 1px 15px;
    background-color: white;
}

.button-new-contest:hover {
    background-color: #f0f0f0;
}

.gallery-filter__item2 {
    display: inline-block;
    margin-bottom: .5rem;
    margin-right: .5rem
}

@media (min-width:768px) {
    .gallery-filter__item2 {
        margin-bottom: 1rem;
        margin-right: 1rem
    }
}

.gallery-filter__checkbox2 {
    clip: rect(0, 0, 0, 0);
    border-radius: 32px;
    border-color: black;
    border-width: 3px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.gallery-filter__label2 {
    text-transform: uppercase;
    font-family: Onest-bold;
    font-size: 12px;
    line-height: 16px;
    --bg-color: #F8F9FA;
    --text-color: black;
    align-items: center;
    background-color: #F8F9FA;
    border-radius: 32px;
    border-color: black;
    border-width: 2px;
    cursor: pointer;
    display: inline-flex;
    padding: .5rem 1rem;
    transition: background-color .35s ease-out, color .35s ease-out
}

.gallery-filter__label2>*+* {
    margin-left: .5rem
}

.gallery-filter__clear2 {
    display: none
}

.gallery-filter__checkbox2:checked+.gallery-filter__label2,
.gallery-filter__label2:hover {
    --bg-color: #7d44f2;
    background-color: #7d44f2;
    border-color: #7d44f2;
    color: white;
}

.gallery-filter__checkbox2:checked+.gallery-filter__label2 .gallery-filter__clear2 {
    display: inline-block;
}

.gallery-filter__item3 {
    margin-bottom: 8px;
    /* display: inline-block; */
    /* margin-bottom: .5rem; */
    /* margin-right: .5rem */
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
}

@media (min-width:768px) {
    .gallery-filter__item3 {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: flex-start;
    }
}

.gallery-filter__checkbox3 {
    /* clip: rect(0, 0, 0, 0); */
    /* border-radius: 32px; */
    /* border-color: black; */
    /* border-width: 3px; */
    /* height: 1px; */
    /* margin: -1px; */
    /* overflow: hidden; */
    /* padding: 0; */
    /* position: absolute; */
    /* white-space: nowrap; */
    /* width: 1px; */
}

.gallery-filter__label3 {
    /* text-transform: uppercase; */
    font-family: Inter;
    font-size: 13px;
    position: relative;
    top: -1px;
    /* line-height: 20px; */
    /* --bg-color: var(--color-gray-100); */
    --text-color: black;
    /* align-items: center; */
    /* background-color: var(--bg-color); */
    /* border-radius: 32px; */
    /* border-color: black; */
    /* border-width: 2px; */
    cursor: pointer;
    /* display: inline-flex; */
    /* padding: .5rem 1rem; */
    /* transition: background-color .35s ease-out, color .35s ease-out */
}

.gallery-filter__label3>*+* {
    /* margin-left: .5rem */
}

.gallery-filter__clear3 {
    display: none
}

.gallery-filter__list3 {
    display: flex;
    flex-direction: column;
}

.gallery-filter__checkbox3:checked+.gallery-filter__label3,
.gallery-filter__label3:hover {
    /* --bg-color: black; */
    color: black;
}

.gallery-filter__checkbox3:checked+.gallery-filter__label3 .gallery-filter__clear3 {
    display: inline-block
}

.block-filter-title {
    font-family: Onest-bold;
    font-size: 24px;
    line-height: 32px;
}

.button-support {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.block-aboutus-text {
    color: #262626;
}

.block-aboutus-goals,
.block-aboutus-activity {
    border-radius: 32px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 16px;
}

.block-aboutus-goals {
    background: #D8CEFF;
}

.block-aboutus-title h1 {
    font-family: Onest-bold;
    color: #262626 !important;
}

.block-aboutus-sidebar {
    background: #F8F9FA;
    border-radius: 32px;
    padding: 26px 16px;
    font-family: Onest-regular;
    font-size: 16px;
    line-height: 20px;
}

.block-aboutus-sidebar a {
    text-decoration: none !important;
    color: #4D5157 !important;
}

.block-aboutus-sidebar a:hover {
    color: #7C45F1 !important;
    background: none !important;
}

.block-rounded-image img {
    border-radius: 32px;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

.block-category-header-label {
    color: #71767E;
    font-family: Onest-bold;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.56px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.block-category-header-name {
    font-family: Onest-bold;
    font-size: 40px;
    line-height: 48px;
}

.block-category-header-name h1 {
    color: #262626 !important;
}

.block-category-header {
    margin-top: 32px;
    margin-bottom: 32px;
    display: grid;
    grid-template-areas: "left right";
    grid-template-columns: 1fr 1fr;
    grid-gap: 32px;
}

.block-category-header-left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.block-category-header-right img {
    max-width: 630px;
    max-height: 211px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-category-header-right {
    grid-area: right;
    align-self: end;
    justify-self: end;
}

.block-category-text {
    max-width: 744px;
}

.block-category-contests {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .block-category-header {
        grid-template-areas: "left" "right";
        grid-template-columns: 1fr;
        grid-gap: 0px;
    }

    .block-category-header-right {
        margin-top: 16px;
    }

    .block-category-text {
        padding-right: 0;
    }
}

.button-beta {
    /* button-master */


    /* Auto layout */

    /* display: flex; */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 3px 7px;
    /* gap: 8px; */

    /* width: 114px; */
    height: 23px;
    color: white;

    border-style: none;
    /* bg/inverse/defailt */

    /* background: orange; */
    background: #a8a2fa;
    border-radius: 40px;

}

.logo-image img {
    display: inline;
    width: 52px;
    padding-right: 0px;
    margin-right: 0px;
}

@media (max-width: 767px) {
    .logo-image img {
        width: 40px;
    }
}

.button-login {
    /* button-master */


    /* Auto layout */

    /* display: flex; */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 32px;
    gap: 8px;

    /* width: 114px; */
    height: auto;
    color: white;

    border-width: 1px;
    border-color: #262626;
    /* bg/inverse/defailt */

    background: #262626;
    border-radius: 40px;

}

.button-login:hover,
.button-login:focus {
    color: #262626 !important;
    background: #fff !important;
    border-color: #262626;
}

.button-add-contest {
    /* button-master */


    /* Auto layout */

    /* display: flex; */
    font-size: 100%;
    font-family: Onest-bold;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    gap: 8px;

    /* width: 114px; */
    height: auto;
    border-width: 1px;
    /* bg/inverse/defailt */
    border-radius: 40px;
}

@media (max-width: 767px) {
    .button-login {
        width: 92px;
        padding: 8px 8px;
    }

    .button-add-contest {
        padding: 8px 12px;
    }
}

@media (max-width: 388px) {
    .button-add-contest {
        padding: 8px 5px;
    }
}

.footer-nav-link {
    font-family: Onest-regular;
    color: white;
}

.footer-nav-item>.active {
    font-family: Onest-bold;
}

.footer-nav-link:hover {
    font-family: Onest-bold;
    color: #7C45F1;
}

.front-header-menu__link,
.cabinet-header-menu__link {
    /* --border-color: var(--c-color-gray-60);
    --color: var(--c-color-gray-600);
    --bg-color: var(--color-transparent); */
    align-items: center;
    /* background-image: linear-gradient(to bottom, var(--bg-color), var(--color-transparent)); */
    /* border-top: 2px solid var(--border-color); */
    /* color: var(--color); */
    color: black;
    display: inline-flex;
    height: 100%;
    padding: 10px 20px;
    text-decoration: none
}

.front-header-menu__link:hover,
.cabinet-header-menu__link:hover {
    --border-color: none;
    --color: black;
    --bg-color: white;
    color: black;
    /* font-weight: 700; */
}

.front-header-menu__link_active,
.cabinet-header-menu__link_active {
    color: #7C45F1 !important;
    --border-color: none;
    --color: black;
    --bg-color: white;
    font-weight: 700;
}

.filter-button {
    display: none;
    align-items: center;
    /* Центрируем элементы по вертикали */
    position: relative;
    /* Для абсолютного позиционирования текста */
    width: auto;
    height: 48px;
    border: #262626 solid 2px;
    border-radius: 32px;
    background-color: white;
    cursor: pointer;
    padding: 0 10px;
    /* Отступы по бокам */
}

.filter-button img {
    width: 28px;
    margin-right: auto;
    /* Отталкиваем картинку к левому краю */
}

.filter-text {
    position: absolute;
    /* Абсолютное позиционирование */
    top: 50%;
    /* Центрируем вертикально */
    left: 50%;
    /* Центрируем горизонтально */
    transform: translate(-50%, -50%);
    /* Сдвигаем текст на половину его размера влево и вверх, чтобы центрировать */
    color: #262626;
    font-family: Onest-bold;
    font-size: 16px;
    line-height: 20px;
}

.modal {
    display: none;
    position: fixed;
    flex: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Чёрный фон с 50% прозрачностью */
    z-index: 2000;
}

.modal-content {
    position: relative;
    margin: 0px;
    /* padding-top: 20px; */
    background: white;
    border: none;
    width: 100%;
    height: 100%;
}

.modal-content {
    border-radius: 0 !important;
}

.modal-header,
.modal-footer {
    border-radius: 0 !important;
}

.upper-close-button {
    position: absolute;
    right: 20px;
    top: 30px;
    cursor: pointer;
    z-index: 1000;
}

.modal-container-accept-button {
    width: 100%;
    padding: 24px 0px;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-accept-button {
    display: flex;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 40px;
    background: #262626;
    color: #FFF;
    text-align: center;
    font-family: 'Onest-bold';
    font-size: 16px;
    line-height: 24px;
    /* 150% */
}

.block-filter-modal {
    height: 100%;
}

#container-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 16px;
}

@media only screen and (max-width: 1440px) {
    .block-filter {
        display: none;
        background: white;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        flex-grow: 1;
    }

    .block-filter-content {
        flex-grow: 1;
    }

    .modal-container-accept-button {
        display: flex;
    }

    .modal-content {
        padding-left: 10px;
        padding-right: 10px;
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .filter-button {
        display: flex;
    }

    .category-block {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 550px);
    }

    #container-main {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

.block-noworks-steps {
    display: flex;
    /* Включаем Flexbox для родительского контейнера */
    flex-wrap: wrap;
    /* Позволяет элементам переноситься на новую строку */
    gap: 20px;
    /* padding: 32px; */
}

.block-noworks-steps-1,
.block-noworks-steps-2,
.block-noworks-steps-3 {
    padding: 32px;
    display: flex;
    /* Включаем Flexbox */
    align-items: flex-start;
    /* Выравниваем элементы по верху */
    background-color: #F8F9FA;
    border-radius: 32px;
    /* Делает блок круглым */
    flex: 1;
    /* Занимает все доступное пространство */
}

.block-noworks-steps-number {
    font-family: Onest-bold;
    font-size: 18px;
    line-height: 24px;
    border-radius: 48px;
    /* Делает блок круглым */
    width: 40px;
    height: 40px;
    color: white;
    background: black;
    display: flex;
    /* Включаем Flexbox */
    justify-content: center;
    /* Центрируем содержимое по горизонтали */
    align-items: center;
    /* Центрируем содержимое по вертикали */
    flex-shrink: 0;
    /* Не допускаем сжатия номера блока */
    text-align: center;
    /* Центрируем текст */
    margin-right: 10px;
    /* Отступ справа от номера */
}

.block-noworks-steps-title {
    font-family: Onest;
    font-weight: 800;
    font-size: 22px;
    line-height: 43px;
    margin-top: 0px;
}

.block-noworks-steps-content {
    display: flex;
    flex-direction: column;
    /* Элементы внутри располагаются вертикально */
    color: #262626;
}

.block-noworks-steps-text {
    font-feature-settings: 'clig' off, 'liga' off;
    /* body/lg */
    font-family: Onest;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.block-noworks-title {
    color: #000;

    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    /* 112.5% */

    display: flex;
    /* Включаем Flexbox для контейнера */
    align-items: center;
    /* Выравниваем элементы по центру по вертикали */
}

.block-noworks-title img {
    width: 18px;
    /* Устанавливаем ширину изображения */
    height: 18px;
    /* Устанавливаем высоту изображения */
    margin-left: 0px;
    /* Добавляем небольшой отступ слева от изображения */
    margin-top: -20px;
    /* Сдвигаем изображение вверх на 20 пикселей */
}

.block-noworks-text {
    color: var(--text-primary-default, #262626);
    font-feature-settings: 'clig' off, 'liga' off;
    /* body/lg */
    font-family: Onest;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    /* 144.444% */
}

.block-noworks-text-big {
    color: var(--text-primary-default, #262626);
    font-feature-settings: 'clig' off, 'liga' off;
    /* body/lg */
    font-family: Onest;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    /* 144.444% */
}

.block-choosecontest-button {
    font-family: Onest;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    background: #7C45F1;
    text-align: center;
}

#publication_contest_work {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 141.176% */
    letter-spacing: 0.34px;
    border-radius: 40px;
    padding: 12px 45px;
    width: 258px;
}

.publication_contest_work_enabled {
    background: #710DF5;
}

.publication_contest_work_disabled {
    background: gray;
}

.block-choosecontest-button:hover {
    background-color: #000 !important;
}

#publication_contest_work:hover {
    background-color: #000 !important;
}

.rejected-work-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.rejected-work-actions__form {
    display: flex;
    align-items: center;
    margin: 0;
}

.rejected-work-actions .block-publication-contest-work-submit {
    margin-bottom: 0;
}

.rejected-work-actions #team-conversation-button {
    display: flex;
    align-items: center;
}

.block-publication-contest-work {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.block-publication-contest-work-submit {
    display: flex;
    width: 258px;
    height: 43px;
    padding: 12px 5px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 40px;
    border: 1px solid #6A00F4;

    background: #FFF;
    color: #6A00F4;

    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 141.176% */
    letter-spacing: 0.34px;

    margin-bottom: 20px;
}

.block-publication-contest-work-delete {
    display: flex;
    width: 318px;
    height: 43px;
    padding: 12px 15px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 40px;
    border: 1px solid #e84e4b;

    background: #FFF;
    color: #e84e4b;

    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 141.176% */
    letter-spacing: 0.34px;

    margin-bottom: 20px;
}

.block-publication-contest-work-save {
    display: flex;
    width: 258px;
    height: 43px;
    padding: 12px 5px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 40px;

    background-color: #6A00F4;
    color: white;

    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 141.176% */
    letter-spacing: 0.34px;
}

.block-publication-contest-work-save:hover {
    border: 1px solid #6A00F4;

    background: #FFF;
    color: #6A00F4;
}

.block-publication-contest-work-left {
    flex: 0 0 auto;
    /* не растягивается, не сжимается, базовый размер - по содержимому */
}

.block-publication-contest-work-right {
    flex-grow: 1;
    /* занимает все доступное пространство */
    min-width: 0;
    /* предотвращает выход за пределы контейнера */
    max-width: 60%;
}

.block-publication-contest-work-right-text {
    color: #000;

    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 171.429% */
    letter-spacing: 0.28px;
    word-wrap: break-word;
    /* перенос текста по словам */
}

.block-publication-contest-work-submit span {
    padding-top: 3px;
    font-size: 32px;
    /* Измените значение на желаемый размер шрифта */
}

.block-center a {
    color: #FFF !important;
    text-decoration: none !important;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    /* 133.333% */
    letter-spacing: 0.48px;
}

.block-center a:hover {
    color: #FFF;
    background: none !important;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Onest;
    /* font-size: 24px; */
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    /* 133.333% */
    letter-spacing: 0.48px;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("/img/burger.svg");
    /* Если вы хотите использовать собственное изображение */
    /* Или настройте стандартные полосы */
    /* Пример: */
    /* box-shadow: 0 2px 0 #000, 0 8px 0 #000, 0 14px 0 #000; */
}

.custom-toggler {
    border: none !important;
    background-color: white;
    /* Убираем обводку */
    z-index: 899;
}

.custom-toggler:focus {
    box-shadow: none !important;
    /* Убираем внешнюю тень при фокусе */
}

.custom-toggler[aria-expanded="true"] .navbar-toggler-icon {
    /* Стили для активного состояния */
    border: none !important;
    box-shadow: none !important;
}

/* #navbarContent.collapse.navbar-collapse {
    display: none;
} */

/* CSS для переопределения стилей navbarContent */
#navbarContent {
    /* Ваши стили здесь, например: */
    background-color: #F8F9FA;
    /* фон блока */
    border-radius: 32px;
    padding-top: 20px;
    padding-bottom: 20px;
}

nav {
    background-color: rgba(255, 255, 255, 0.0);
}

/* Стили для ссылок внутри navbarContent */
#navbarContent .nav-link {
    /* color: #6262d1; */
    /* color: #262626; */
    /* Цвет текста ссылок */
    text-decoration: none;
    /* Убирает подчеркивание */
}

#navbarContent .navbar-nav {
    display: flex;
    /* Позволяет дочерним элементам быть flex-элементами */
    flex-direction: column;
    /* Располагает дочерние элементы вертикально */
    justify-content: center;
    /* Выравнивает дочерние элементы по центру по горизонтали */
    align-items: center;
    /* Выравнивает дочерние элементы по центру по вертикали */
    width: 100%;
    /* Заставляет <ul> занимать всю ширину родительского элемента */
}

#navbarContent .navbar-nav .nav-item {
    width: auto;
}

/* Стили для оверлея */
#overlay {
    display: none;
    /* оверлей изначально скрыт */
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    /* измените это значение, если оверлей должен начинаться ниже на странице */
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1030;
    /* должно быть меньше, чем z-index navbarContent */
}

/* Для #navbarContent */
#navbarContent {
    z-index: 1040;
    /* больше, чем у оверлея, но меньше, чем у navbar, если он имеет z-index */
}

.navbar-header {
    background-color: white;
}

.navbar-header .container {}

#navbarContentContainer {
    margin-top: 15px;
}

.menuAvatarImage {
    width: 50px;
    border-radius: 50%;
    /* Делает углы полностью круглыми */
    overflow: hidden;
    /* Обрезает все, что выходит за рамки блока */
    display: flex;
    /* Чтобы центрировать изображение */
    justify-content: center;
    /* Горизонтальное выравнивание */
    align-items: center;
    /* Вертикальное выравнивание */
}

.contest-logo-image {
    margin-top: 10px;
    margin-left: 10px;
}

.contest-logo-image img {
    max-width: 200px;
    min-width: 50px;
    max-height: 50px;
    width: 100%;
    /* Изображение будет масштабироваться в зависимости от размера родительского элемента */
    height: auto;
    /* Сохранение пропорций изображения */
}

@media (max-width: 767px) {
    .menuAvatarImage {
        width: 40px;
    }

    .contest-logo-image img {
        height: 40px;
    }
}

@media (min-width: 1200px) {
    #navbarContentContainer {
        display: none !important;
    }
}

@media (max-width: 1280px) {
    .block-noworks-steps-title {
        font-size: 19px;
    }

    .block-choosecontest-button {
        font-size: 19px;
    }

    #publication_contest_work {
        font-size: 16px;
    }
}

/* Медиазапрос для экранов шириной до 1025 пикселей */
@media (max-width: 1025px) {

    .block-noworks-steps-1,
    .block-noworks-steps-2 {
        /* Уменьшаем базовый размер, чтобы учесть gap */
        flex-basis: calc(50% - 10px);
        /* Пример, где gap составляет 20px */
    }

    .block-noworks-steps-3 {
        flex-basis: 100%;
        /* Блок занимает 100% ширины родителя */
    }

    .block-noworks-steps-title {
        font-size: 18px;
    }

    .block-noworks-steps-text {
        font-size: 15px;
    }

    .block-choosecontest-button {
        font-size: 18px;
    }

    #publication_contest_work {
        font-size: 15px;
    }

}

/* Медиазапрос для экранов шириной до 635 пикселей */
@media (max-width: 635px) {

    .block-noworks-steps-1,
    .block-noworks-steps-2,
    .block-noworks-steps-3 {
        flex-basis: 100%;
        /* Каждый блок занимает 100% ширины родителя */
    }

    .block-noworks-steps-title {
        font-size: 17px;
    }

    .block-noworks-steps-text {
        font-size: 14px;
    }

    .block-choosecontest-button {
        font-size: 17px;
    }

    #publication_contest_work {
        font-size: 14px;
    }

    .block-noworks-text-big {
        font-size: 17px;
    }

    .block-noworks-text {
        font-size: 14px;
    }

    .block-choosecontest-button {
        padding: 12px 28px;
    }

    #publication_contest_work {
        padding: 12px 28px;
    }

    .block-publication-contest-work {
        flex-direction: column;
    }
}

#nominations {
    flex-wrap: nowrap !important;
    /* color: rgb(38, 38, 38); */
    color: #262626;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0px;
    text-align: left;

    /* position: static; */
    width: auto;
    /* height: 392px; */
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 48px 32px 24px 32px;

    margin: 64px 0px 0px 0px;
    border-radius: 33px;
    /* bg/accent-2/default */
    /* background: rgb(67, 225, 234); */
    background: #EEF0F4;

    position: relative;
    /* Для позиционирования nominations-circle */
    overflow: hidden;
}

#nominations h2 {
    color: rgb(38, 38, 38);
    font-family: Onest;
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0px;
    text-align: left;
}

#nominations h2,
#nominations div {
    z-index: 10;
}

.nominations-circle {
    position: absolute;
    top: -220px;
    /* Прижимаем к верху */
    right: -10px;
    /* Прижимаем к правому краю */
    width: 380px;
    /* Ширина круга */
    height: 380px;
    /* Высота круга */
    /* margin: 32px 0 0;  */
    /* Отступ сверху и справа */
    /* z-index: -1; */
}

/* .nominations-circle svg circle {
    fill: var(--btn-bg-color);
} */

@media (max-width: 635px) {
    #nominations {
        padding: 24px;
    }
}

/* Базовые стили */
.contest-main-block-double {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contest-main-block-double-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contest-main-block-double-left,
.contest-main-block-double-right {
    width: 100%;
}

/* Стили для экранов шире 768px */
@media (min-width: 768px) {
    .contest-main-block-double {
        flex-direction: row;
        gap: 32px;
    }

    .contest-main-block-double-left {
        width: 70%;
    }

    .contest-main-block-double-right {
        width: 30%;
    }
}

/* Стили для экранов между 376px и 768px */
@media (min-width: 420px) and (max-width: 767px) {
    .contest-main-block-double {
        gap: 24px;
    }

    .contest-main-block-double-right {
        order: -1;
        /* Перемещает правый блок наверх */
        display: flex;
        flex-direction: row;
        gap: 24px;
    }

    .contest-main-block-double-right>div {
        flex-grow: 1;
        flex-basis: 0;
        max-width: calc(50% - 12px);
        /* Вычитаем половину gap */
    }
}

/* Стили для экранов меньше 376px */
@media (max-width: 420px) {
    .contest-main-block-double {
        gap: 0px;
    }

    .contest-main-block-double-right {
        order: -1;
        /* Перемещает правый блок наверх */
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .contest-main-block-double-right>div {
        flex-grow: 1;
        flex-basis: 0;
        max-width: 100%;
        /* Блоки занимают всю доступную ширину */
    }
}

@media (min-width: 768px) and (max-width: 1160px) {
    .contest-main-div-menu {
        width: 100%;
    }
}

#fast-start {
    padding: 0px 32px 0px 32px;
    margin: 0px 0px;
    border-radius: 33px;
    /* background: rgb(124, 69, 241); */
    background: #EEF0F4;
    display: flex;
    flex-direction: column;
    /* gap: 32px; */
}

.fast-start-header {
    /* color: rgb(255, 255, 255); */
    color: #262626;
    font-family: 'Onest', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0px;
    text-align: center;
    padding: 48px 0;
}

.fast-start-main {
    display: flex;
    flex-direction: row;
    /* Блоки располагаются в строку */
    gap: 32px;
}

.fast-start-main-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fast-start-main-step-num {
    /* color: rgb(167, 163, 255); */
    font-family: 'Onest', sans-serif;
    font-size: 120px;
    font-weight: 700;
    line-height: 153px;
    white-space: nowrap;
}

.fast-start-main-step-info {
    display: flex;
    flex-direction: column;
    padding: 24px 0 17px 16px;
}

.fast-start-main-step-title {
    /* color: rgb(255, 255, 255); */
    color: #262626;
    font-family: Onest;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0px;
    text-align: left;
}

.fast-start-main-step-text {
    /* body/md */
    /* color: rgb(255, 255, 255); */
    color: #262626;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
}

.fast-start-footer {
    text-align: center;
    padding: 32px 0;
}

/* Медиа-запросы для адаптации к различным размерам экрана */
@media (max-width: 767px) {
    .fast-start-main {
        flex-direction: column;
        /* Блоки располагаются в столбик на маленьких экранах */
    }

    .fast-start-main-step-num {
        font-size: 100px;
    }

    .fast-start-main-step-title {
        font-size: 20px;
    }

    .fast-start-main-step-text {
        font-size: 14px;
    }

}

#finance {
    border-radius: 33px;
}

.contest-main-content li span {
    display: flex;
    gap: 10px;
}

.block-contests-all-card-image {
    position: relative;
}

.contest-favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #262626;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.block-contests-all-card:hover .contest-favorite-btn,
.block-contests-all-card:focus-within .contest-favorite-btn,
.contest-favorite-btn.is-favorite,
.contest-social .contest-favorite-btn {
    display: inline-flex;
}

.contest-favorite-btn.is-favorite {
    color: #7c45f1;
}

.contest-favorite-btn__icon {
    display: block;
    width: 18px;
    height: 16px;
    max-width: 18px;
    max-height: 16px;
    flex-shrink: 0;
    border-radius: 0;
    object-fit: contain;
}

.contest-social {
    position: relative;
}

.contest-social .contest-favorite-btn {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.contest-social .contest-favorite-btn__icon {
    width: 18px;
    height: 16px;
    max-width: 18px;
    max-height: 16px;
}

.contest-social .contest-favorite-btn__hint {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 999px;
    background: #262626;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.contest-social .contest-favorite-btn:hover .contest-favorite-btn__hint,
.contest-social .contest-favorite-btn:focus-visible .contest-favorite-btn__hint,
.contest-social .contest-favorite-btn.contest-favorite-btn--toast .contest-favorite-btn__hint {
    opacity: 1;
    visibility: visible;
}

.contest-social .contest-favorite-btn.contest-favorite-btn--toast .contest-favorite-btn__hint {
    pointer-events: auto;
}

.contest-social.contest-favorite-toast-active .contest-favorite-btn__hint,
.contest-social.contest-favorite-toast-active .contest-favorite-btn:hover .contest-favorite-btn__hint,
.contest-social.contest-favorite-toast-active .contest-favorite-btn:focus-visible .contest-favorite-btn__hint {
    opacity: 0;
    visibility: hidden;
}

.contest-favorite-toast {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 999px;
    background: #262626;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.block-contests-all-card-image .contest-favorite-toast {
    top: 52px;
    right: 12px;
    left: auto;
}

.contest-favorite-toast a,
.contest-favorite-toast__link,
.contest-favorite-btn__hint a,
.contest-favorite-btn__hint .contest-favorite-toast__link {
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.contest-favorite-toast a:hover,
.contest-favorite-toast__link:hover,
.contest-favorite-btn__hint a:hover,
.contest-favorite-btn__hint .contest-favorite-toast__link:hover {
    color: #fff !important;
    text-decoration: none;
}

@media (max-width: 767px) {
    .contest-social .contest-favorite-btn__hint,
    .contest-favorite-toast {
        left: 0;
        right: auto;
        max-width: calc(100vw - 32px);
        white-space: normal;
        border-radius: 20px;
    }

    .block-contests-all-card-image .contest-favorite-btn {
        display: inline-flex;
        top: 8px;
        right: 8px;
        background: rgba(255, 255, 255, 0.7);
    }
}

.cabinet-favorite-contests-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #e9e3ff;
    color: #262626;
    text-decoration: none;
    font-weight: 500;
}

.cabinet-favorite-contests-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: #7c45f1;
}

@media (max-width: 767px) {
    .cabinet-favorite-contests-btn {
        justify-content: center;
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0;
        border-radius: 12px;
        background: #e9e3ff;
        gap: 0;
    }

    .cabinet-favorite-contests-btn__label {
        display: none;
    }

    .cabinet-favorite-contests-btn__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: transparent;
    }
}

.favorite-contests-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 16px 64px;
    text-align: center;
}

.favorite-contests-empty.hidden {
    display: none;
}

.favorite-contests-empty__title {
    margin: 0 0 32px;
    color: #262626;
    font-family: Onest-bold, Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.favorite-contests-empty__icon {
    display: block;
    width: 84px;
    height: 70px;
    margin-bottom: 24px;
}

.favorite-contests-empty__text {
    max-width: 520px;
    margin: 0 0 8px;
    color: #737373;
    font-size: 16px;
    line-height: 1.5;
}

.favorite-contests-empty__text:last-of-type {
    margin-bottom: 32px;
}

.favorite-contests-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 24px;
    border-radius: 8px;
    background: #928dff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.2s ease;
}

.favorite-contests-empty__btn:hover {
    background: #7c45f1;
    color: #fff;
    text-decoration: none;
}

.js-favorites-filter-item.hidden {
    display: none;
}
