body {
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}
header {
    position: relative;
    box-shadow: none !important;
}
footer {
    margin-top: auto;
}

.downloads-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.downloads-block hr {
    width: 100%;
    height: 0.5px;
    background-color: #DADCE0;
    margin: 0px;
    border: none;
}
.downloads-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.downloads-item {
    padding: 17px 24px;
    box-shadow: 0px 0.2px 1.5px 0px #47535605,
                0px 0.5px 3.5px 0px #47535608,
                0px 0.5px 7.5px 0px #47535608,
                0px 1.5px 15.5px 0px #4753560A,
                0px 4px 43px 0px #4753560F,
                0px 0px 1px 0px #88888840;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.downloads-item-icon img {
    width: 52px;
    height: 52px;
}   
.downloads-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.downloads-item-content-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
}
.downloads-item-content-subtitle {
    color: #4A4D51;
    font-size: 14px;
}
.download-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 22px;
    background-color: #fff;
    border: 1px solid #DADCE0;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #202124;
    cursor: pointer;
    text-decoration: none;
    transition: all .5s ease;
}
.download-btn svg {
    width: 20px;
    height: 20px;
}
.download-btn:hover {
    border: 1px solid #CC2B24;
    color: #CC2B24;
}
.download-btn:focus {
    color: #B81710;
    border: 1px solid #AE0D06;
    background-color: #FFF5F5;
}
.download-btn:hover path {
    fill: #CC2B24; 
}
.download-btn:focus path {
    fill: #B81710;
}

@media screen and (max-width: 960px) {
    .downloads-items {
        grid-template-columns: 2fr;
    }
}
@media screen and (max-width: 500px) {
    .downloads {
        margin-bottom: 110px;
    }
    .downloads-item-icon {
        display: none;
    }
    .downloads-block {
        margin-top: 44px;
        gap: 26px;
    }
    .downloads-item {
        padding: 20px;
    }
    .download-btn {
        padding: 14px;
    }
    .download-btn span {
        display: none;
    }
    .download-btn svg {
        width: 28px;
        height: 28px;
    }
    .downloads-item-content-title {
        font-size: 18px;
    }

}
.page-download {
    display: flex;
    flex-direction: column;
    min-height: 60vh;
}

.downloads-btns {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 100px;
    margin-bottom: 44px;
}
.downloads-btn {
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #DADCE0;
    border-radius: 4px;
    color: #4A4D51;
    background-color: #F8F9FA;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease-in;
}
.downloads-btn.active {
    background-color: #262626;
    color: #fff;
    border: 1px solid #262626;
}
.downloads-tab {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
    margin-bottom: 0;
}

.downloads-tab.active {
    opacity: 1;
    height: auto;
    overflow: visible;
    margin-bottom: 123px;
}

.sub-spoilers {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.sub_spoiler {
    box-shadow: 0px 0.2px 1.5px 0px #47535605,
                0px 0.5px 3.5px 0px #47535608,
                0px 0.5px 7.5px 0px #47535608,
                0px 1.5px 15.5px 0px #4753560A,
                0px 4px 43px 0px #4753560F,
                0px 0px 1px 0px #88888840;
    border-radius: 8px;
    width: 100%;
}
.sub_spoiler-title {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 24px;
    /* cursor: pointer; */
}
.sub_spoiler-title img {
    width: 52px;
    height: 52px;
}
.sub_spoiler-title p .ver {
    font-weight: 500;
    font-size: 20px;
}
.sub_spoiler-title p .date {
    color: #4A4D51;
    font-size: 14px;
}


.sub_spoiler-title-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid #DADCE0;
    border-radius: 4px;
}
.sub_spoiler-title-icon img {
    width: 24px;
    height: 12px;
    transition: transform 0.2s ease-in;
}
.sub_spoiler.active .sub_spoiler-title-icon img {
    transform: rotate(180deg);
}
.sub_spoiler-content {
    padding: 9px 90px 36px 90px;
     color: #4A4D51;
}
.sub_spoiler-content .title {
    font-weight: 700;
}
@media (max-width: 500px) {
    .sub_spoiler-content {
        padding: 17px 24px;
    }
    .downloads-btns {
        margin-top: 55px;
    }
}