

/* Start:/bitrix/templates/autism/components/bitrix/news.list/ras_services/style.css?176121501813493*/
/* Основной контейнер */
.orgs-table-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 16px;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

/* Фильтры */
.orgs-filters {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
}

.orgs-filters__title {
    font-family: var(--font-headings, 'MontserratAlternates', system-ui, sans-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
    text-align: center;
}

.orgs-filters__form {
    max-width: 100%;
    margin: 0 auto;
}

.orgs-filters__row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.orgs-filters__group {
    flex: 1;
    min-width: 250px;
}

.orgs-filters__group--full {
    flex: 1 1 100%;
}

.orgs-filters__label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.675rem;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-filters__select {
    padding: 10px 16px !important;
}

.orgs-filters__select,
.orgs-filters__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.675rem;
    transition: all 0.2s ease;
    background-color: #ffffff;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-filters__select:focus,
.orgs-filters__input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.orgs-filters__age-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.orgs-filters__age-group .orgs-filters__input {
    flex: 1;
}

.orgs-filters__separator {
    color: #6b7280;
    font-weight: 500;
}

.orgs-filters__input--age {
    max-width: calc(100% - 32px);
}

.orgs-filters__input--search {
    max-width: calc(100% - 64px);
    padding-left: 44px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 20px;
}

.orgs-filters__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.orgs-filters__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.675rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-filters__button--search {
    background-color: #3b82f6;
    color: white;
}

.orgs-filters__button--search:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.orgs-filters__button--reset {
    background-color: #f3f4f6;
    color: #374151;
}

.orgs-filters__button--reset:hover {
    background-color: #e5e7eb;
    transform: translateY(-1px);
}

/* Результаты */
.orgs-results {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.orgs-results__header {
    padding: 20px 32px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.orgs-results__count {
    font-weight: 600;
    color: #374151;
    font-size: 0.675rem;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

/* Показать/скрыть десктоп и мобильные версии */
.orgs-table-desktop {
    display: block;
}

.orgs-cards.orgs-table-mobile {
    display: none;
}

/* Таблица */
.orgs-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.orgs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
    font-size: 12px;
    line-height: 1.4;
}

.orgs-table__head {
    background: #f8fafc;
}

.orgs-table__header {
    font-size: 13px;
    font-weight: 600;
    padding: 12px 6px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-table__row {
    position: relative;
    transition: background-color 0.2s ease;
}

.orgs-table__row:hover {
    background-color: #f8fafc;
}

/*.orgs-table__row:hover .orgs-table__cell.orgs-table__cell--name {*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    min-width: fit-content;*/
/*    z-index: 2;*/
/*    background-color: #f8fafc;*/
/*}*/

.orgs-table__cell {
    padding: 8px 6px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
    word-wrap: break-word;
    max-width: 150px;
    font-size: 12px;
    line-height: 1.4;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-table__cell--name {
    min-width: 280px;
    max-width: 200px;
}

.orgs-table__org-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-family: var(--font-headings, 'MontserratAlternates', system-ui, sans-serif);
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
}

.orgs-table__org-desc {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-table__cell--city {
    min-width: 100px;
    max-width: 120px;
    color: #374151;
}
.orgs-table__cell--address {
    min-width: 150px;
    max-width: 180px;
    color: #374151;
}

.orgs-table__phone,
.orgs-table__email,
.orgs-table__site {
    display: inline-block;
    min-width: 120px;
    max-width: 150px;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
}

.orgs-table__phone:hover,
.orgs-table__email:hover,
.orgs-table__site:hover {
    color: #2563eb;
}

.orgs-table__phone i,
.orgs-table__email i,
.orgs-table__site i {
    margin-right: 4px;
    font-size: 10px;
}

.orgs-table__cell--services {
    min-width: 160px;
    max-width: 200px;
}

.orgs-table__services {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.orgs-table__service {
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    display: inline-block;
    line-height: 1.3;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-table__cell--age {
    min-width: 80px;
    max-width: 100px;
    text-align: center;
    color: #374151;
    font-weight: 500;
}

/* Мобильные карточки */
.orgs-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.orgs-card {
    max-width: fit-content;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.orgs-card__header {
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.orgs-card__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
    font-family: var(--font-headings, 'MontserratAlternates', system-ui, sans-serif);
}

.orgs-card__desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-card__info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.orgs-card__info-item {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.3;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-card__info-item i {
    margin-right: 6px;
    margin-top: 2px;
    color: #007bff;
    font-size: 12px;
    min-width: 14px;
    flex-shrink: 0;
}

.orgs-card__info-item strong {
    margin-right: 4px;
    font-weight: 600;
    color: #374151;
}

.orgs-card__services {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.orgs-card__services strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-card__services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.orgs-card__service {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-card__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.orgs-card__contact {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: background-color 0.2s;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-card__contact:hover {
    background-color: #e9ecef;
    text-decoration: none;
    color: #2563eb;
}

.orgs-card__contact i {
    margin-right: 4px;
    font-size: 11px;
    width: 16px;
}

/* Сообщение об отсутствии результатов */
.orgs-no-results {
    text-align: center;
    padding: 80px 32px;
    font-family: var(--font-base, 'NotoSans', system-ui, sans-serif);
}

.orgs-no-results__icon {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 16px;
}

.orgs-no-results__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-family: var(--font-headings, 'MontserratAlternates', system-ui, sans-serif);
}

.orgs-no-results__text {
    color: #6b7280;
    font-size: 0.675rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .orgs-filters {
        padding: 24px;
    }

    .orgs-filters__row {
        flex-direction: column;
        gap: 16px;
    }

    .orgs-filters__group {
        min-width: auto;
    }

    .orgs-table {
        font-size: 11px;
    }

    .orgs-table__cell {
        padding: 6px 4px;
    }

    .orgs-table__header {
        font-size: 12px;
        padding: 10px 4px;
    }
}

@media (max-width: 768px) {
    /* Переключаем на мобильную версию */
    .orgs-table-desktop {
        display: none;
    }

    .orgs-cards.orgs-table-mobile {
        display: block;
    }

    .orgs-table-wrapper {
        padding: 16px 0;
    }

    .orgs-filters {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .orgs-filters__title {
        font-size: 1.5rem;
    }

    .orgs-filters__actions {
        flex-direction: column;
    }

    .orgs-filters__button {
        width: 100%;
        justify-content: center;
    }

    .orgs-results__header {
        padding: 16px 20px;
    }

    .orgs-cards {
        padding: 16px;
        gap: 16px;
    }

    .orgs-card {
        padding: 16px;
    }

    .orgs-card__name {
        font-size: 1rem;
    }
    
    .orgs-card__services {
        gap: 6px;
    }

    .orgs-card__info {
        gap: 6px;
    }

    .orgs-card__contacts {
        flex-direction: column;
        gap: 8px;
    }

    .orgs-card__contact {
        justify-content: center;
    }

    .orgs-no-results {
        padding: 60px 20px;
    }

    .orgs-no-results__icon {
        font-size: 2.5rem;
    }

    .orgs-no-results__title {
        font-size: 1.125rem;
    }
}

/* Загрузка и анимации */
.orgs-table__row,
.orgs-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.orgs-table__row[style*="display: none"],
.orgs-card[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

/* Улучшенные стили для ссылок */
.orgs-table__site[href*="http"]:not([href*="javascript:"]) {
    position: relative;
}

.orgs-table__site[href*="http"]:not([href*="javascript:"]):after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14'/%3e%3c/svg%3e");
    background-size: contain;
    opacity: 0.6;
}
/* End */
/* /bitrix/templates/autism/components/bitrix/news.list/ras_services/style.css?176121501813493 */
