.tenders-wrapper {
    padding-top: 160px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 40%);
    margin-bottom: 100px;
}

.tenders-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tenders-title h1 {
    font-size: 64px;
    line-height: 100%;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -4px;
}

.tenders-title__btn {
    background: #CF141F14;
    color: #CF141F;
    padding: 15px 50px;
    border-radius: 12px;
    font-size: 14px;
}

.tenders-head {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-top: 50px;
}

.tenders-head__select {
    flex: 1;
}

.tenders-head__select .select {
    width: auto;
}

.tenders-head__select-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #000000B2;
}

.tenders-search {
    flex: 1;
}

.tenders-search::before {
    content: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.66732 14C11.1651 14 14.0007 11.1644 14.0007 7.66665C14.0007 4.16884 11.1651 1.33331 7.66732 1.33331C4.16951 1.33331 1.33398 4.16884 1.33398 7.66665C1.33398 11.1644 4.16951 14 7.66732 14Z' stroke='%238B9099' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.4942 15.9069C14.8847 16.2974 15.5179 16.2973 15.9084 15.9067C16.2988 15.5162 16.2988 14.883 15.9082 14.4925L14.4942 15.9069ZM13.041 11.6261L12.3338 10.9191L10.9198 12.3335L11.627 13.0405L13.041 11.6261ZM15.2012 15.1997L15.9082 14.4925L13.041 11.6261L12.334 12.3333L11.627 13.0405L14.4942 15.9069L15.2012 15.1997Z' fill='%238B9099'/%3E%3C/svg%3E%0A");
    height: 17px;
    width: 17px;
}

.tenders {
    margin-top: 80px;
}

.tenders-item:not(:last-child) {
    margin-bottom: 24px;
}

.tenders-item__main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.tenders-item__title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    max-width: 350px;
}

.tenders-item__shortdesc {
    color: #000000B2;
    line-height: 160%;
    font-weight: 400;
    flex: 1;
}

.tenders-item__shortdesc span {
    max-width: 450px;
    display: block;
}

.tenders-item__toggle {
    cursor: pointer;
}

.tenders-item.active .tenders-item__toggle .open {
    display: none
}

.tenders-item__toggle .close {
    display: none;
}

.tenders-item.active .tenders-item__toggle .close {
    display: block;    
}

.tenders-item__content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-top: 10px;
    position: relative;
    gap: 200px;
    display: none;
}

.tenders-item.active .tenders-item__content {
    display: flex;
}

.tenders-item__content::before {
    content: url("data:image/svg+xml,%0A%3Csvg width='54' height='11' viewBox='0 0 54 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M53.875 0C50.8374 7.47438e-08 48.375 2.46243 48.375 5.5C48.375 8.53756 50.8374 11 53.875 11H0.125C3.16257 11 5.625 8.53757 5.625 5.5C5.625 2.46244 3.16256 3.12061e-06 0.125 0H53.875Z' fill='white'/%3E%3C/svg%3E%0A");
    top: -16px;
    left: 48%;
    position: absolute;
}

.tenders-item__left {
    width: 200px;
}

.tenders-item__info:not(:last-child){
    margin-bottom: 30px;
}

.tenders-item__info-title {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.tenders-item__info-value {
    font-size: 14px;
    color: #00000099;
    display: flex;
    gap: 12px;
}

.tenders-item__info-value:not(:last-child){
    margin-bottom: 12px;
}

.tenders-item__info-value svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}


.tenders-item__share {
    box-shadow: 0px 0px 24px 4px #FFFFFFCC inset;
    background: #CF141F;
    padding: 14px 16px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    font-family: "eUkraine", sans-serif;
    cursor: pointer;
    line-height: 100%;
    transition: all .3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.tenders-item__share::before {
    content: url("data:image/svg+xml,%0A%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33203 10V16.6667C3.33203 17.1087 3.50763 17.5326 3.82019 17.8452C4.13275 18.1577 4.55667 18.3333 4.9987 18.3333H14.9987C15.4407 18.3333 15.8646 18.1577 16.1772 17.8452C16.4898 17.5326 16.6654 17.1087 16.6654 16.6667V10' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.3346 5.00033L10.0013 1.66699L6.66797 5.00033' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 1.6665V12.4998' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.tenders-item__share.shared::before {
    content: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3332 4L5.99984 11.3333L2.6665 8' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    margin-top: 1px;
}

.tenders-item__right p {
    margin-bottom: 20px;
}

.tenders-item__right a {
    color: #CF141F;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tenders-wrapper {
        margin-bottom: 120px;
        padding-top: 120px;
    }
    .tenders {
        margin-top: 32px;
    }
    .tenders-title {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }
    .tenders-title h1 {
        font-size: 40px;
    }
    .tenders-title__btn {
        width: 100%;
    }
    .tenders-head {
        display: flex;
        flex-wrap: wrap;
        margin-top: 32px;
    }
    .select-date {
        width: 100%;
    }
    .tenders-item__main {
        display: flex;
        flex-direction: column;
        padding: 16px;
        gap: 10px;
        position: relative;
    }
    .tenders-item__title {
        font-size: 16px;
        width: 80%;
    }
    .tenders-item__toggle {
        position: absolute;
        right: 20px;
    }
    .tenders-item.active .tenders-item__content {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        padding: 16px;
    }
    .tenders-item__right p {
        font-size: 14px;
    }
    .tenders-item__right p strong {
        font-size: 16px;
    }
    .tenders-item__content::before {
        left: 43%;
    }
}