.home__intro {
    width: 100%;
    padding-bottom: 155px;
    margin-top: -56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home__intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home__intro-shadow {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 80%, #000 100%);
}

.home__intro-content {
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.home__intro-content-image {
    margin-right: calc((100vw - 1200px) / -2);
    filter: contrast(1.5);
    opacity: 0.7;
    position: relative;
    pointer-events: none;
}

.home__intro-content-image-text {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    position: absolute;
    bottom: 20%;
    right: 20%;
}

.home__intro-timer {
    border-bottom: 1px solid #ffcb3c;
    border-top: 1px solid #ffcb3c;
    padding: 16px;
    width: fit-content;
    height: 52px;
    margin-top: 40px;
}

.home__intro-timer-text {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #ffcb3c;
}

.home__intro-title {
    margin-top: 22px;

    font-family: var(--third-family);
    font-weight: 400;
    font-size: 100px;
    letter-spacing: 0.05em;
    color: #fff;
    max-width: 593px;
}

.home__intro-actions {
    margin-top: 22px;
}

.home__intro-actions-button {
    width: 420px;
    max-width: 100%;
}

.home__intro-actions-button svg {
    margin-top: 3px;
}

.home__program {
    margin-top: 80px;
}

.home__program-title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 64px;
    line-height: 125%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
}

.home__program-item {
    display: flex;
    align-items: center;
}

.home__program-item:not(:first-child) {
    cursor: pointer;
}

.home__program-item-content {
    max-width: 960px;
}

.home__program-item:nth-child(1) {
    height: 725px;
    background-image: url("../assets/home/program-1-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.home__program-item:nth-child(1) .home__program-item-content {
    margin-top: -70px;
}

.home__program-item-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.home__program-item-image {
    min-width: 300px;
}

.home__program-item-image img {
    transition: all 300ms;
}

.home__program-item:hover img {
    filter: drop-shadow(2px 4px 6px #fbc63a);
}

.home__program-item:nth-child(2) .home__program-item-content {
    max-width: 1115px;
}

.home__program-item:nth-child(3) {
    margin-top: 60px;
}

.home__program-item:nth-child(3) .home__program-item-content {
    max-width: 1189px;
}

.home__program-item:nth-child(4) {
    margin-top: 26px;
    height: 725px;
    background-image: url("../assets/home/program-4-bg.png");
    background-size: cover;
}

.home__program-item:nth-child(4) .home__program-item-content {
    max-width: 1189px;
}

.home__program-item:nth-child(4) .home__program-item-image {
    max-width: 575px;
}

.home__program-item-text-title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 36px;
    line-height: 144%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #ffcb3c;
}

.home__program-item-description {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    margin-top: 21px;
}

.home__title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 64px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
    position: relative;
    width: 100%;
}

.home__title_link {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    color: #fff !important;
    position: absolute;
    bottom: 15px;
    right: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.home__title_link:hover {
    opacity: 0.8;
}

.home__categories {
    margin-top: 50px;
    position: relative;
    padding-top: 210px
}

.home__categories-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.home__categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.home__categories-group {
    position: relative;
    /* border: 3px solid #ffcb3c; */
    padding: 24px 16px 16px;
    width: calc(50% - 16px);
    display: flex;
    flex-direction: column;
}

.home__categories-group-border {
    position: absolute;
}

.home__categories-group-border.left {
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #804E00;
}
.home__categories-group-border.top {
    left: -3px;
    top: -3px;
    width: calc(100% + 6px);
    height: 3px;
    background: linear-gradient(90deg, #804E00 0%,#E1D29B 100%);
}
.home__categories-group-border.right {
    right: -3px;
    top: 0px;
    width: 3px;
    height: 100%;
    background: #E1D29B;
}
.home__categories-group-border.bottom {
    bottom: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: 3px;
    background: linear-gradient(0deg, #804E00 0%,#E1D29B 100%);
}

.home__categories-group:nth-child(3n) {
    width: 100%;
}

.home__categories-group-name {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
}

.home__categories-group-list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.home__categories-group-list-item {
    width: 100%;
}

.home__categories-group:nth-child(3n) .home__categories-group-list-item {
    width: calc(50% - 12px);
}

.home__categories-group-image {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-bottom: -16px;
    margin-top: auto;
    height: 100%;
    /* opacity: 0.3; */
}

.home__categories-group:nth-child(2) .home__categories-group-image {
    opacity: 0.5;
}

.home__categories-group:nth-child(3) .home__categories-group-image {
    opacity: 0.6;
}

.home__categories-group:nth-child(4) .home__categories-group-image {
    opacity: 0.6;
}

.home__categories-group:nth-child(5) .home__categories-group-image {
    opacity: 0.6;
}

.home__categories-group:nth-child(6) .home__categories-group-image {
    opacity: 0.6;
}

.home__categories-group:nth-child(7) .home__categories-group-image {
    opacity: 0.6;
}

.home__categories-group:nth-child(8) .home__categories-group-image {
    opacity: 0.6;
}

.home__voting {
    margin-top: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home__voting-dates {
    border-bottom: 1px solid #ffcb3c;
    border-top: 1px solid #ffcb3c;
    padding: 16px;
    width: fit-content;
    height: 46px;
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #ffcb3c;
}

.home__voting-title {
    max-width: 920px;
    margin-top: 20px;
}

.home__voting-image {
    margin-top: -220px
}

.home__voting-image-actions {
    margin-top: -20px
}

.home__voting-image-actions-button {
    width: 320px;
}

.home__voting-image-actions-button svg {
    margin-top: 3px
}

.home__partners {
    padding-top: 160px;
    padding-bottom: 0px;
}

.home__partners-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 64px;
    column-gap: 24px;
    justify-content: space-evenly;
    position: relative;
}

.home__partners-list-group + .home__partners-list-group {
    margin-top: 86px;
}

.home__partners-list-group-title {
    font-family: var(--font-family);
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 32px;
}

.home__partners-list-item {
    max-width: 240px;
    transition: all 200ms;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home__partners-list-item:hover {
    opacity: 0.8;
}

.home__partners-list-item img {
    object-fit: contain;
}

.home__partners-list-item-text {
    font-family: var(--font-family);
    color: #ffffffbc;
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    text-align: center;
}

.home__partners-list-bg {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 962px;
    max-width: 100%;
    opacity: 1;
    z-index: -1;
    opacity: 0.2;
    mix-blend-mode: exclusion;
}

.home__news {
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

.home__news-shadow {
    position: absolute;
    right: 0;
    z-index: -1;
    pointer-events: none;
}

.home__news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.home__news-list-item {
    width: calc(100% / 3 - (48px / 3));
}

.home__media {
    margin-top: 160px;
}

.home__media-video {
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
}

.home__media-video-icon {
    position: absolute;
    top: -170px;
    left: 0;
}

.home__media-video .plyr--video {
    border-radius: 20px;
}

.home__media-video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #131313a1;
    z-index: 2;
    border-radius: 20px;
}

.home__media-video-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.home__media-video-btn:hover {
    opacity: 0.8;
}

.home__media-list {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.home__media-list-item {
    width: calc(100% / 3 - (48px / 3));
}

.home__media-list-item img {
    border-radius: 12px;
}

main {
    margin-top: 0 !important;
}

.program-modal__title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.05em;
    color: #fff;
    padding-right: 35px;
}

.program-modal__colored {
    margin-top: 24px;
    padding: 16px;
    width: 100%;
    background: linear-gradient(90deg, #ebd2b4 0%, #e4b98c 100%), #464646;
}

.program-modal__colored-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #804e00;
}

.home__jury-list-wrapper {
    width: 100%;
}

.home__jury-list {
    display: flex;
}

.about__jury-list-item {
    flex-shrink: 0;
    width: calc(100% / 3 - (90px / 3)) !important;
}

.home__jury {
    margin-top: 160px;
    overflow: hidden;
    padding-left: 24px;
}

.home__jury .home__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.home__jury .home__title .home__title_link {
    position: static;
}

.home__intro-content-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16/9;
    z-index: 2;
    margin-top: 40px;
    filter: drop-shadow(rgba(251, 199, 58, 0.515) 2px 4px 6px);
    padding: 0 20px;
    iframe {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.home__intro-content-text {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .home__intro-content-video {
        margin-top: 0;
    }
}

@media (max-width: 1240px) {
    .home__intro-content-image {
        margin-right: -20px;
    }
    .home__intro-content {
        margin-top: 100px
    }
}

@media (max-width: 1150px) {
    .home__program-item:nth-child(1) {
        background-size: 110% 100%;
    }
}

@media (max-width: 1100px) {
    .home__intro-content {
        flex-direction: column;
        align-items: center;
    }
    .home__intro-content-image {
        background-image: url("../assets/home/intro-image-mobile.png");
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
        margin-top: -150px;
        margin-right: 0;
    }
    .home__intro-content-image-text  {
        right: 7%;
        bottom: 55%;
    }
    .home__intro-content-image img {
        opacity: 0;
    }
    .home__intro-content-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .home__intro-title {
        text-align: center;
    }
    .home__intro {
        padding-bottom: 0;
    }
    .home__intro-actions-button {
        font-size: 24px;
    }
    .home__intro-content-image {
        background-size: 130%;
        width: calc(100% + 40px);
        margin-top: -100px;
    }
    .home__intro-actions {
        position: relative;
        z-index: 2;
    }
    .home__intro-content-image-text {
        bottom: 20%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 1000px) {
    .home__program-item:nth-child(1) {
        background-size: 115% 100%;
    }
}

@media (max-width: 980px) {
    .home__media-video-icon {
        display: none;
    }
    .home__history-content-data {
        flex-direction: column;
    }
    .home__categories-list-item {
        width: calc(100% / 2 - (24px / 2));
    }
    .home__voting {
        flex-direction: column;
        gap: 0;
        padding-bottom: 30px;
    }
    .home__news-list {
        width: calc(100% + 20px);
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        &::-webkit-scrollbar {
            display: none;
        }
    }
    .home__news-list-item {
        min-width: 300px;
    }
    .home__intro-top-shadow {
        width: 100%;
    }

    .home__program-item-text-title {
        font-size: 24px;
    }
    .home__program-item-description {
        font-size: 18px;
    }
    .home__program-item:nth-child(1),
    .home__program-item:nth-child(4) {
        height: 500px;
    }
    .home__program-title,
    .home__title {
        font-size: 42px;
    }
    .home__categories {
        padding-top: 100px;
    }
}

@media (max-width: 950px) {
    .home__program-item:nth-child(1) .home__program-item-content {
        padding: 0 70px;
    }
    .home__intro-content-image-text  {
        right: 4%;
    }
}

@media screen and (max-width: 768px) {
    .home__intro-content-image-text  {
        right: 2%;
        bottom: 65%;
    }
    .home__media-list-item {
        width: calc(50% - 12px);
    }
    .home__categories-shadow {
        top: -400px;
    }
    .home__program-item-content {
        flex-direction: column;
    }
    .home__program-item-image {
        max-width: 500px;
    }
    .home__program-item:nth-child(3) .home__program-item-content {
        flex-direction: column-reverse;
    }
    .home__program-item:nth-child(3) {
        margin-top: 0px;
    }
    .home__program-item:nth-child(4) {
        height: auto;
    }
    .home__categories-group:nth-child(n) {
        width: 100%;
    }
    .home__categories-group:nth-child(n) .home__categories-group-list-item {
        width: 100%;
    }
    .home__voting-image {
        margin-top: -160px
    }
    .home__intro-title {
        font-size: 82px;
    }
    .home__intro-content-image {
        margin-top: -50px;
    }
    .home__intro-content-image {
        background-size: 200%;
        width: calc(100% + 40px);
        margin-top: -70px;
    }
    .home__intro-actions {
        position: relative;
        z-index: 2;
    }
    .home__intro-content-image-text {
        bottom: 10%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 680px) {
    .home__history-wrapper {
        padding: 24px;
    }
    .home__history-content-data-image {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }
    .home__history-content-select-item.active {
        font-size: 40px;
    }
    .home__history-content-select {
        width: 130px;
    }
}

@media screen and (max-width: 640px) {
    .home__intro {
        padding-top: 100px;
        padding-bottom: 0;
    }
    .home__intro-actions-button svg {
        width: 250px;
    }
    .home__program {
        margin-top: 40px
    }
    .home__intro-content {
        margin-top: 0px;
    }
    .home__intro-timer {
        margin-top: 0px;
    }
    .home__voting-title-row-text {
        font-size: 40px;
    }
    .home__voting-image-actions-button {
        height: 60px;
        width: 250px;
        margin-top: 20px;
    }
    
    .home__voting-image-actions-button svg {
        width: 170px;
    }
    .home__news-list-item {
        width: 100%;
    }
    .home__news-list {
        width: 100%;
        overflow-x: auto;
        flex-direction: column;
    }
    .home__media-list-item {
        width: 100%;
    }
    .home__title {
        font-size: 42px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .home__title_link {
        position: static;
    }
    .home__history-title {
        font-size: 32px;
    }
    .home__history-subtitle {
        font-size: 14px;
    }
    .home__history-content-data-text-title {
        font-size: 20px;
    }
    .home__history-content-data-text-text {
        font-size: 14px;
    }
    .home__intro-actions {
        flex-direction: column;
        margin-top: 32px;
    }

    .home__intro-title-text {
        font-size: 64px;
        line-height: 1;
    }
    .home__intro-title-year {
        font-size: 120px;
        margin-top: -10px;
    }
    .home__intro-timer-text {
        font-size: 14px;
    }
    .home__history-content {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-top: 20px;
    }
    .home__history-content-select-item-pointer {
        display: none;
    }
    .home__history-content-select {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        &::-webkit-scrollbar {
            display: none;
        }
    }
    .home__media-video-btn {
        width: 50px;
        height: 50px;
    }
    .home__media-video-btn img {
        object-fit: contain;
    }
    .home__media-list {
        margin-top: 24px;
    }
    .home__categories-shadow {
        top: -200px;
    }

    .home__history-s {
        transform: translate(-100%, 0);
        transition: all 15s ease;
    }
    .home__history-s.active {
        transform: translate(1000px, -100px);
    }
    .home__partners-list-bg  {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .home__categories-bg {
        top: 0;
    }

    .home__categories-group-list-item {
        width: 100%;
    }
    .home__categories-group {
        padding: 16px;
    }
    .home__program-item:nth-child(2) .home__program-item-content {
        gap: 0;
    }
    .home__program-item-description {
        margin-top: 2px;
    }
    .home__program-item:nth-child(3) .home__program-item-content {
        gap: 0;
    }
    .home__program-item:nth-child(3) .home__program-item-text {
        margin-top: -30px;
    }
    .home__program-item:nth-child(4) {
        margin-top: 50px;
    }
    .home__program-item:nth-child(4) .home__program-item-content {
        gap: 10px;
    }
    .home__intro-content-image {
        background-size: 200%;
        width: calc(100% + 40px);
        margin-top: -70px;
    }
    .home__intro-actions {
        position: relative;
        z-index: 2;
    }
    .home__intro-content-image-text {
        bottom: 10%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 520px) {
    .home__intro-content-image {
        background-size: 200%;
        width: calc(100% + 40px);
        margin-top: -130px;
    }
    .home__intro-actions {
        position: relative;
        z-index: 2;
    }
    .home__intro-content-image-text {
        bottom: 20%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .home__intro-title {
        font-size: 62px;
    }
    .home__voting-title {
        font-size: 30px;
        padding: 0 20px;
    }
    .home__voting-image {
        margin-top: -80px;
    }
    .home__categories {
        padding-top: 50px;
    }
    .home__program-item:nth-child(1) .home__program-item-content {
        padding: 0 40px;
    }
    .home__program-item-text-title {
        font-size: 18px;
    }
    .home__program-item-description {
        font-size: 14px;
    }
    .home__program-item:nth-child(1) {
        height: 500px;
    }
    .home__program-title {
        font-size: 26px;
    }
    .home__intro-content-text {
        width: 100%;
    }
    .home__intro-actions-button {
        width: 100%;
    }
    .home__intro-content-image {
        overflow: hidden;
    }
    .home__intro-content-image img {
        width: 130%;
        height: 130%;
    }
    .home__intro-content-image-text {
        font-size: 14px;
    }
    .home__title {
        font-size: 32px;
    }
    .home__voting-title {
        font-size: 26px;
    }
}

@media screen and (max-width: 450px) {
    .home__voting-title-row-text {
        font-size: 32px;
    }
    .home__categories-shadow {
        top: -20%;
    }
    .home__intro-title {
        font-size: 56px;
    }
}
