
.seo-text-block {
    margin: 30px 0;
    position: relative;
}

.seo-text-block--top {
    margin-bottom: 40px;
}

.seo-text-block--bottom {
    margin-top: 40px;
}

.seo-text-content {
    transition: height 0.3s ease;
    overflow: hidden;
}

.seo-text-content--expanded {
    height: auto !important;
}
.seo-text-content--collapsed.text-block--bottom {
    max-height: 450px;
}

.read-more-btn {
    display: none; /* Всегда скрыта по умолчанию */
    margin: 15px auto 0;
    text-align: center;
}

.read-more-btn:hover {
    background: #e9e9e9;
}
.filterOnline {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
.filterOnline + label {
    display: inline-block;
    padding: 0px 10px;
    border: 1px solid #005b33; /* Зеленая рамка */
    border-radius: 8px;
    background-color: white; /* Белый фон */
    color: #005b33; /* Зеленый текст */
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 0;
    user-select: none;
}

/* Состояние когда чекбокс отмечен */
.filterOnline:checked + label {
    background-color: #005b33; /* Зеленый фон */
    color: white; /* Белый текст */
    border-color: #005b33;
}

/* Состояние когда чекбокс в фокусе (для accessibility) */
.filterOnline:focus + label {
    outline: 2px solid #005b33;
    outline-offset: 2px;
}
.online-checking {
    margin-left: 15px;
    display: flex;
    gap: 10px;
}

.seo-text-block--top .seo-text-content--collapsed {
    height: 200px !important;
}
.staff-card__column.staff-card__column-3 .online-text {
    font-size: 16px !important;
    margin-top: 0;
}
.staff-card__column.staff-card__column-3 .online-text a {
    text-decoration: underline;
}


/* Мобильные стили */
@media (max-width: 768px) {
    .seo-text-block--top .seo-text-content--collapsed {
        height: 200px !important;
    }

    .seo-text-block--bottom .seo-text-content--collapsed {
        height: 450px !important;
    }
    .nice-select {
        height: auto !important;
        min-height: 40px;
        align-content: center;
    }
    .nice-select .current {
        max-width: 100%;
        overflow: hidden;
        white-space: normal !important;
        word-wrap: break-word !important;
        line-height: 1.3 !important;
        display: flex !important;
    }
    .staff-list__container {
        margin: 25px auto 84px !important;
    }
}
@media (max-width: 560px) {
    .filterOnline + label, .online-checking {
        width: 100%;
        margin-left: 0px;
    }
    .filterOnline + label {
        padding-left: 18px;
        padding-right: 30px;
        height: 41px;
    }
    .staff-card__column.staff-card__column-3 .online-title, .staff-card__column.staff-card__column-3 .online-text {
        text-align: center;
    }
}
