.ts-article {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 1080px;
}

.ts-article p {
    margin: 0 0 16px;
}

.ts-article ul {
    margin: 0 0 16px 22px;
}

.ts-download-title {
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 16px;
}

.ts-download-card {
    position: relative;
    overflow: hidden;
    background-color: #f4f8fb;
    border-radius: 20px;
    min-height: 280px;
}

.ts-download-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    z-index: 0;
}

.ts-download-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    min-height: 280px;
}

.ts-download-card__text {
    max-width: 840px;
    margin: 0 auto 24px;
    font-size: 18px;
    line-height: 1.5;
}

.ts-download-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

a.ts-btn {
    text-decoration: none;
}

.ts-btn:hover,
.ts-btn:focus {
    opacity: 0.92;
    color: #fff;
    text-decoration: none;
}

.ts-btn--primary,
a.ts-btn--primary {
    background-image: linear-gradient(108.11deg, #3ea6df 2.45%, #1bacab 100%);
    color: #fff;
    min-width: 220px;
}

.ts-btn--ghost,
a.ts-btn--ghost {
    background: #ececec;
    color: #333;
    border: 1px solid #d5d5d5;
}

.ts-btn--ghost:hover,
.ts-btn--ghost:focus,
a.ts-btn--ghost:hover,
a.ts-btn--ghost:focus {
    color: #333;
    text-decoration: none;
}

.ts-modal {
    z-index: 1060;
}

.ts-modal .modal-dialog {
    width: 656px;
    max-width: calc(100% - 24px);
    margin: 40px auto;
}

.ts-modal .modal-content {
    background: #ececec;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    padding: 16px 24px 28px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.ts-modal__head {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #cfcfcf;
}

.ts-modal__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 36px 0 0;
}

.ts-modal__close {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #7a7a7a;
    cursor: pointer;
}

.ts-form .form-group {
    margin-bottom: 14px;
}

.ts-form__label,
.ts-form .control-label {
    display: block;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 6px;
}

.ts-form__input,
.ts-form .form-control {
    height: 40px;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    background: #fff;
    padding: 8px 12px;
    width: 100%;
}

.ts-form select.ts-form__input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.ts-form__checks {
    margin: 8px 0 16px;
}

.ts-form__check {
    position: relative;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
}

.ts-form__check .lbl {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    padding-left: 32px;
    min-height: 25px;
    cursor: pointer;
}

.ts-form__submit {
    text-align: center;
}

.ts-form__error {
    color: #a94442;
    margin-bottom: 12px;
    font-size: 14px;
}

.ts-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.ts-files {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.ts-file-card {
    width: calc(50% - 7px);
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.ts-file-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ts-file-card__box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 117px;
    padding: 12px 14px;
    border: 1px solid #b3b3b3;
    border-radius: 6px;
    background: #ececec;
    position: relative;
}

.ts-file-card input:checked + .ts-file-card__box {
    border-color: #00aeb0;
}

.ts-file-card--all .ts-file-card__box {
    border: 2px solid #000;
    justify-content: center;
}

.ts-file-card--all input:checked + .ts-file-card__box {
    border-color: #00aeb0;
}

.ts-file-card__check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #d0d0d0;
}

.ts-file-card input:checked + .ts-file-card__box .ts-file-card__check {
    background: #00aeb0;
    box-shadow: none;
}

.ts-file-card input:checked + .ts-file-card__box .ts-file-card__check:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ts-file-card__icon {
    width: 66px;
    height: auto;
    max-height: 64px;
    flex-shrink: 0;
}

.ts-file-card__label {
    font-size: 16px;
    line-height: 1.165;
    padding-right: 22px;
}

.ts-file-card__label--all {
    font-weight: 700;
    padding-right: 28px;
    text-align: center;
}

.ts-download-frame {
    position: absolute;
    width: 0;
    height: 0;
    border: 0;
    visibility: hidden;
}

@media (max-width: 767px) {
    .ts-file-card {
        width: 100%;
    }

    .ts-modal .modal-dialog {
        width: auto;
        margin: 16px;
    }

    .ts-download-card {
        min-height: 220px;
    }

    .ts-download-card__body {
        padding: 24px 16px;
        min-height: 220px;
    }
}
