.accordion-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    /* padding: 0.75rem 1rem; */
    font-weight: bold;
    /* border: 1px solid #dee2e6; */
    /* background-color: #f8f9fa; */
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-icon {
    display: inline-block;
    width: 1rem !important;
    height: 1rem;
    margin-right: 0.5rem;
    background-image: url('../images/arrow-slider.svg'); /* проверь путь! */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* когда открыт */
.accordion-header:not(.collapsed) .accordion-icon {
    transform: rotate(90deg);
}

.accordion-title {
    flex: 1;
}

.card-body {
    padding-left: calc(1rem + 0.5rem + 1rem); /* ширина иконки + её отступ + padding у .accordion-header */
    padding-right: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.card {
    margin-bottom: 1rem;
}


ul {
  list-style-position: inside;
}

.login-esia {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
}

.login-esia:hover {
  color: #E3494C;
}
.login-esia:before {
    content:"";
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url("../images/icons/gosuslugi.svg") no-repeat center;
}

/* ==============================
        Общий стиль таблиц
   =============================== */
.kr-table {
    font-size: 14px;
    border: 1px solid #dee2e6;
    background: #fff;

    /* Главное — одинаковая ширина столбцов */
    table-layout: fixed !important;
    width: 100% !important;
}

.kr-table th {
    background: #f0f2f5 !important;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 6px;

    /* Чтобы заголовки не ломали ширину */
    white-space: normal !important;
}

.kr-table td {
    vertical-align: top;
    padding: 6px;

    /* Автоматический перенос контента */
    word-wrap: break-word !important;
    white-space: normal !important;
}

/* Списки внутри таблиц */
.kr-table ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

/* Новые блоки программ */
.kr-program-title {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: bold;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}

.kr-org-block {
    margin-top: 15px;
    margin-bottom: 25px;
}

.kr-org-item {
    margin-bottom: 12px;
    line-height: 1.3;
}

.kr-org-item strong {
    font-size: 15px;
}

/* Аккуратные тире */
.dash { color: #888; }

/* Карточки */
.accordion-card button {
    font-size: 16px;
}

.photo-card {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
}

.photo-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}

.no-photo {
    width: 100%;
    height: 220px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 4px;
}

.photo-meta {
    font-size: 14px;
    line-height: 1.3;
}