
.cookie-btn {
    background-color: #2196F3;
    border: none;
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.cookie-btn:hover {
    background-color: white;
    color: #2196F3;
    border: 1px solid #2196F3;
}

/* Сброс для ul */
.wagtail-richtext ul {
    display: flex !important;        /* ставим flex */
    flex-wrap: wrap !important;      /* перенос на новую строку при необходимости */
    gap: 1rem !important;            /* промежуток между квадратиками */
    padding: 0 !important;           /* убираем стандартные отступы */
    margin: 0 !important;
    list-style: none !important;     /* убираем стандартные маркеры */
    flex-direction: column;
    align-items: start;
}

/* Сброс для li */
.wagtail-richtext li {
    display: flex !important;         /* flex контейнер */
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem;
}

/* Стили для ссылок */
.wagtail-richtext li a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 10rem !important;
    height: 120px !important;
    background-color: #1d4ed8 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    text-align: center !important;
    transition: background-color 0.3s, transform 0.2s !important;
}

/* Hover эффект */
.wagtail-richtext li a:hover {
    background-color: #2563eb !important;
    transform: scale(1.05) !important;
}
