.bonera-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.bonera-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .bonera-grid {
        grid-template-columns: 1fr;
    }
}

.bonera-card {
    border-left: 4px solid #ccc;
    padding: 1.25rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.bonera-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.bonera-card--viktigt_meddelande {
    border-left-color: #e63946;
    background: #fff5f5;
}

.bonera-card--information {
    border-left-color: #457b9d;
    background: #f0f6fb;
}

.bonera-card__meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #666;
    background: none;
}

.bonera-card__category {
    background: #e0e0e0;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: #444;
}

.bonera-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    background: none;
    line-height: 1.4;
}

.bonera-card__excerpt {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.bonera-card__readmore {
    font-size: 0.8rem;
    font-weight: 600;
    color: #457b9d;
    margin-top: auto;
}

.bonera-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

.bonera-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: background 0.2s, opacity 0.2s;
}

.bonera-btn:hover:not(:disabled) {
    background: #f0f0f0;
}

.bonera-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.bonera-counter {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.bonera-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.bonera-modal-overlay--active {
    display: flex;
}

.bonera-modal {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.bonera-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 0;
    line-height: 1;
    aspect-ratio: 1 / 1;
    box-sizing: content-box;
}

.bonera-modal__close:hover {
    background: #e0e0e0;
}

.bonera-modal__meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
    background: none;
}

.bonera-modal__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 1rem;
    line-height: 1.4;
    background: none;
}

.bonera-modal__body {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.8;
    background: none;
}