/* Контейнер для всего блока кредиторов */
.creditors-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Заголовок блока */
.creditors-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

/* Сетка кредиторов */
.creditors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 блока в строке */
    gap: 20px;
}

/* Карточка кредитора */
.creditor-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект карточки при наведении */
.creditor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Название кредитора */
.creditor-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #444;
}

/* Детали кредитора */
.creditor-detail {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 5px 0;
}

/* ---- Адаптивность ---- */
@media (max-width: 1024px) {
    .creditors-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 блока в строке */
    }
}

@media (max-width: 768px) {
    .creditors-grid {
        grid-template-columns: 1fr; /* 1 блок в строке */
    }

    .creditor-card {
        padding: 15px; /* Уменьшаем отступы */
    }

    .creditor-name {
        font-size: 16px; /* Уменьшаем размер текста */
    }

    .creditor-detail {
        font-size: 13px; /* Уменьшаем размер текста */
    }
}