﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
    --bg: #f6fbff;
    --surface: #ffffff;
    --text: #122033;
    --muted: #5f6b7a;
    --line: #d6e3ef;
    --brand: #0b6bcb;
    --brand-2: #06b6b1;
    --accent: #ff7a59;
    --header-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 14px 36px rgba(15, 32, 56, 0.1);
    --card-shadow-hover: 0 24px 44px rgba(11, 107, 203, 0.18);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at 8% 10%, rgba(6, 182, 177, 0.16), transparent 24%),
        radial-gradient(circle at 92% 2%, rgba(255, 122, 89, 0.15), transparent 20%),
        var(--bg);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
    letter-spacing: -0.02em;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0859a9;
}

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid rgba(214, 227, 239, 0.7);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: #26415f;
    font-weight: 600;
    border-radius: 999px;
    padding: 8px 14px;
}

.nav-link:hover {
    color: #0a60b9;
    background: rgba(11, 107, 203, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--line);
}

.article-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 100%;
    background: var(--surface);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.hero-shell {
    background: linear-gradient(130deg, rgba(11, 107, 203, 0.1), rgba(6, 182, 177, 0.08));
    border: 1px solid rgba(11, 107, 203, 0.2);
    border-radius: 22px;
    padding: 1.3rem;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #0a60b9;
}

.hero-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 107, 203, 0.2);
    box-shadow: var(--card-shadow);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.info-card h2 {
    color: #123458;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(11, 107, 203, 0.24);
}

.article-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.soft-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.meta-text {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.article-content {
    font-size: 1.03rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.social-btns a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 8px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #1f3650;
    font-weight: 600;
    background: #fff;
}

.social-btns a:hover {
    border-color: rgba(11, 107, 203, 0.3);
    background: rgba(11, 107, 203, 0.08);
}

.page-link {
    border-radius: 10px;
    margin-right: 6px;
    border: 1px solid var(--line);
    color: #1f3650;
    font-weight: 600;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border: 0;
    box-shadow: 0 10px 18px rgba(11, 107, 203, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0956a5, #049b97);
}

.form-control {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.72rem 0.9rem;
}

.form-control:focus {
    border-color: rgba(11, 107, 203, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(11, 107, 203, 0.14);
}

.site-footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff);
    border-top: 1px solid var(--line);
}

.site-footer a {
    color: #355676;
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--accent);
}

.cookie-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 1055;
    display: none;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner-inner {
    background: #10243a;
    color: #f3f8ff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 20px 35px rgba(4, 16, 31, 0.32);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-banner a {
    color: #7de4ff;
    text-decoration: underline;
}

.cookie-banner .btn-primary {
    box-shadow: none;
    white-space: nowrap;
}

main.container {
    animation: fadeInUp 0.36s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .nav-link {
        padding: 10px 0;
        border-radius: 0;
    }
}

@media (max-width: 767.98px) {
    .hero-shell {
        padding: 1rem;
    }

    .hero-media img {
        min-height: 220px;
    }

    .article-card .card-img-top {
        height: 190px;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
