/* Base typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #222;
}

/* Links */
a {
    color: #0d6efd;
}
a:hover {
    color: #0a58ca;
    text-decoration: none;
}

/* Navbar */
.navbar-brand {
    letter-spacing: 0.03em;
}
.navbar .nav-link {
    font-weight: 500;
}
.navbar .nav-link.active {
    color: #0d6efd !important;
}

/* Hero & sections */
section {
    background-color: #f8f9fa;
}
section.bg-light {
    background-color: #f5f7fa !important;
}
.bg-gradient-primary {
    background: #0d6efd;
    background: linear-gradient(135deg, #0d6efd 0%, #3b82f6 50%, #16a4d8 100%);
}

/* Cards */
.card {
    border-radius: 0.5rem;
}
.card-img-top {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
.article-card h5 {
    font-size: 1.1rem;
}

/* Hover effect */
.hover-lift {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.08);
}

/* Article layout */
.article-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
}
.article-content h3 {
    font-size: 1.35rem;
}
.breadcrumb {
    font-size: 0.875rem;
}

/* Cookie banner */
.cookie-banner {
    display: none; /* main.js покаже при потребі */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    box-shadow: 0 -0.25rem 0.75rem rgba(0,0,0,0.15);
}
.cookie-banner p {
    font-size: 0.85rem;
}

/* Footer */
footer {
    font-size: 0.9rem;
}
footer a {
    color: #bbbbbb;
}
footer a:hover {
    color: #ffffff;
}

/* Forms */
.form-control {
    border-radius: 0.35rem;
}
.btn {
    border-radius: 0.35rem;
}

/* Alerts */
.alert-info {
    border-radius: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
}
