/* Bakgrund och typsnitt */
body {
    background-color: #eeebe1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #212529;
}

/* Toppmeny (navbar) */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand i {
    font-size: 1.6rem;
    color: white;
}

/* Dropdown justering */
.navbar .dropdown-menu {
    font-size: 0.95rem;
}

/* Innehållsyta */
.container,
.container-fluid {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* Mobiljusteringar */
@media (max-width: 768px) {
    .navbar-nav .nav-link,
    .dropdown-menu .dropdown-item {
        text-align: center;
    }
}

/* Knappar */
.btn {
    border-radius: 0.25rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.news-preview {
    font-family: "Segoe UI", sans-serif;
    line-height: 1.7;
    color: #222;
}

    .news-preview h1,
    .news-preview h2,
    .news-preview h3 {
        margin-top: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .news-preview img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        margin-bottom: 1rem;
    }

    .news-preview .ingress {
        font-weight: 600;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .news-preview .content {
        margin-top: 1rem;
    }


/* Ärenden */
.feedback-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    border-radius: 9999px;
    width: 56px;
    height: 56px;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 1060;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
