html { scroll-behavior: smooth; }

/* Pronounced gray gradient */
body {
    background: linear-gradient(135deg, #d9e0e8 0%, #f4f7f9 100%);
    min-height: 100vh;
}

/* The SEPA Blue Navigation Bar */
.sepa-blue-nav {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Ensure the links inside the blue bar are crisp white */
.sepa-blue-nav .uk-navbar-nav > li > a {
    font-weight: bold;
    text-transform: none;
    font-size: 16px;
    padding: 0 25px; /* Increased horizontal padding */
    min-height: 50px; /* Reduced vertical height */
}
.sepa-blue-nav .uk-navbar-nav > li:hover > a {
    background: rgba(0,0,0,0.1);
}

.hero-banner {
    background-color: #0d2a4a;
}
.uk-slideshow-items { min-height: 50vh !important; }

/* Constrain standard images and iframes */
.content-wrap iframe { max-width: 100%; border-radius: 8px; }
.content-wrap img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom:15px; }
.content-wrap ul { padding-left: 20px; }
.content-wrap li { margin-bottom: 10px; }

/* Typography matching SEPA style */
.sepa-blue-text { color: #175b8a !important; }
.sepa-red-text { color: #ce1126 !important; }

/* Sidebar & Cards */
.sidebar-block {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}
.sidebar-img-wrap {
    width: 100%;
    margin: 0;
}
.sidebar-img-wrap img {
    border-radius: 6px 6px 0 0;
    width: 100%;
}
.sidebar-content-wrap { padding: 20px; }
.sidebar-content-wrap h4 { margin: 0 0 10px 0; font-weight: bold; }

.social-link-icon-sidebar { margin: 0 5px; }
.social-link-icon-sidebar:hover { opacity: 0.8; }
.slide-overlay-box { background: rgba(0,0,0,0.6); padding: 40px; border-radius: 4px; }

/* News Cards WYSIWYG truncation with fade effect */
.news-card-truncate {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    font-size: 0.95rem;
}
.news-card-truncate::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #ffffff);
}

.hero-wysiwyg-wrap p {
    margin-bottom: 10px;
}
.hero-wysiwyg-wrap p:last-child {
    margin-bottom: 0;
}

/* Override UIkit Text Large Baseline */
.uk-text-large {
    font-size: 1.2rem;
    line-height: 1.3;
}

/* Enforce 100% height inside the CSS Aspect Box wrapper to stop UIkit collapsing it */
.sepa-hero-aspect-box .uk-slideshow-items,
.sepa-hero-aspect-box .uk-slideshow-items > li {
    height: 100% !important;
    min-height: 100% !important;
}

/* Footer Link Styles */
.footer-inline-links a {
    color: #ffffff !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}

hr {
    border: 0;
    border-top: 2px solid #bebebe;
    margin: 20px 0;
}

.sidebar-sticky-container {
    z-index: 1000 !important;
}
