

/* Start:/bitrix/templates/autism/components/bitrix/news.list/ras_services/style.css?176473879614635*/
/* Основной контейнер */
.orgs-table-wrapper {
    max-width: 1332px;
    margin: 0 auto;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Фильтры */
.orgs-filters {
    border-radius: 16px;
    background: linear-gradient(180deg, #005BBB 0%, #1E90FF 100%);
    box-shadow: 0 8px 32px 0 rgba(0, 91, 187, 0.20);
    padding: 32px;
    border: 1px solid #e5e7eb;
}

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

.orgs-filters__row {
    display: flex;
    gap: 24px;
    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: #fff;
    margin-bottom: 8px;
    font-size: 0.675rem;
}

.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-family-text, '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--search {
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid #FFF;
    background: #FFF;
}

/* Результаты */
.orgs-results {
}

.orgs-results__count {
    color: #666;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* 150% */
}

.result-count {
    color: #303742;
}

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

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

.orgs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-family: var(--font-family-text, '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-family-text, '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-family-text, '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-family-title, '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-family-text, '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-family-text, '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-family-text, '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: 24px;
}

.orgs-card {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #E7E7E7;
    background: rgba(30, 144, 255, 0.1);
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.06);
}

.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-family-title, 'MontserratAlternates', system-ui, sans-serif);
}

.orgs-card__desc {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-family: var(--font-family-text, '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-family-text, '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-family-text, 'NotoSans', system-ui, sans-serif);
}

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

/* Чипсы услуг */
.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-chip i {
    font-size: 12px;
    color: #1d4ed8;
}

.service-chip:hover {
    background-color: #dbeafe;
    border-color: #bfdbfe;
}

.service-chip:active {
    background-color: #bfdbfe;
    border-color: #93c5fd;
}

/* ===================== New org-card layout ===================== */
.org-list {
    display: grid;
    gap: 24px;
}

/* Card */
.org-card {
    max-width: calc(100vw - 32px);
    position: relative;
    background: #f4f6fb;
    border-radius: 16px;
    padding: 0;
}

.org-card__border {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 2px 32px rgba(0, 0, 0, 0.06);
}

.org-card__inner {
    padding: 32px;
    position: relative;
    box-sizing: border-box;
}

/* Header */
.org-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.org-card__title {
    font-size: 24px;
    margin: 0;
}

.org-card__age {
    padding: 6px 14px;
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(0, 91, 187, 0.1), rgba(30, 144, 255, 0.1));
    white-space: nowrap;
}

.org-card__age-text {
    font-size: 14px;
    color: #0073bd;
}

/* Info */
.org-card__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 14px;
}

.org-card__info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.org-card__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}

.org-card__link {
    color: #1e90ff;
    text-decoration: none;
}

.org-card__link:hover {
    text-decoration: underline;
}

.org-card__dot {
    color: #ccc;
}

/* Services */
.org-card__services {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.org-card__service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.org-card__service:hover {
    background-color: #dbeafe;
    border-color: #bfdbfe;
}

.org-card__service-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    color: var(--main-color);
}

.org-card__service-text {
    text-align: left;
}

@media (max-width: 768px) {
    .org-card__header {
        flex-direction: column;
    }
    .org-card__age {
        order: -1;
        align-self: flex-end;
    }
    .org-card__inner {
        padding: 16px;
    }
    .org-card__title {
        font-size: 18px;
    }
    .org-card__age-text {
        font-size: 12px;
    }
}

.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-family-text, '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-family-text, '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-family-text, '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-family-title, '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-wrapper {
        padding: 16px;
    }

    .orgs-filters {
        padding: 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-cards {
        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?176473879614635 */
