.article__block a,
.advantage-popup__text a {
    text-decoration: underline;
}

.article__block a:hover,
.advantage-popup__text a:hover {
    text-decoration: none;
}

.advantage-popup__text {
    text-align: left;
}

.advantage-popup__text p:not(:first-child) {
    margin-top: 10px;
}

.advantage-popup__text ul li {
    list-style: disc;
    margin-left: 20px;
}

.advantage-popup__text ul li {
    list-style: disc;
    margin-left: 40px;
    padding-left: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ddd;
}

table td,
table th {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: top;
}

.article__wrapper {
    justify-content: normal;
}

.article__block--wrap {
    width: 100%;
}

.teachers__card {
    width: 100%
}

.page-teachers .teachers__wrapper {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 50px;
    gap: 10px;
}

.page-teachers .teachers__wrapper .teachers__item {
    width: calc(25% - 8px);
    background: var(--bg-primary);
    padding: 30px;
    position: relative;
}

.server__error {
    width: max-content;
    top: calc(100% + 2px);
    left: 0;
    color: #e01818;
    font-size: 12px;
    line-height: normal;
    letter-spacing: .3px;
}

.lock body {
    overflow: auto;
    padding-right: 0 !important;
}

/* Loading spinner */
.input-wrapper {
    position: relative;
}

.loading-dots {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #666;
    margin-right: 4px;
    animation: dots 1.5s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0;
}

@keyframes dots {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 61.9988em) {
    .page-teachers .teachers__wrapper {
        padding-top: 62px;
    }

    .page-teachers .teachers__wrapper .teachers__item {
        width: calc(50% - 5px);
    }
}

@media (max-width: 47.99875em) {
    .server__error {
        top: calc(100% + .5px);
        font-size: 10px;
    }
}

