/* ========================
   PAGE BACKGROUND
======================== */
body {
    background-color: white;
}

/* ========================
   HERO IMAGE WITH BACK BUTTON
======================== */
.article-hero {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 40px;
}

.article-hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* BACK BUTTON ON IMAGE */
.back-to-events {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.8);
    padding: 12px 16px;   /* slightly bigger */
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;      /* bigger */
    color: #5a9fb7;
    text-decoration: none;
    transition: background 0.2s ease;
    z-index: 10;
}

.back-to-events:hover {
    background: rgba(255,255,255,1);
}

/* TAGS ON IMAGE */
.article-tags {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 16px;
    z-index: 10;
}

.article-tags .tag {
    background-color: #5ea2b9;
    padding: 14px 24px;      /* bigger padding */
    border-radius: 25px;
    font-size: 18px;          /* bigger text */
    font-weight: 600;
    color: #FFFFFF;
}

/* ========================
   TITLE & SUBTITLE FAR LEFT
======================== */
.article-header {
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding-left: 30px;      /* far left alignment */
}

.article-header h1 {
    font-family: 'Khula', sans-serif;
    font-size: 48px;          /* bigger */
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: left;
}

.article-subtitle {
    font-family: 'Khula', sans-serif;
    font-size: 20px;           /* bigger */
    font-weight: 400;
    color: #666;
    text-align: left;
}

/* ========================
   ARTICLE CONTENT
======================== */
.article-content {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding-left: 30px;      
    padding-right: 30px;
    line-height: 1.8;          /* slightly more spacing */
    font-family: 'Khula', sans-serif;
    color: #333;
    font-size: 18px;           /* bigger */
}

.article-content p {
    margin-bottom: 25px;
}

/* SOURCES UNDERLINED */
.sources u {
    text-decoration: underline;
    cursor: pointer;
    font-size: 18px;          /* bigger sources */
}

/* ========================
   NAVBAR SCROLL EFFECT
======================== */
header.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #ffffff; /* initial light blue */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 50px 0;
}

header.navbar.scrolled {
    background-color: #e7f6fb; /* light grey */
    padding: 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* Navbar container */
header.navbar .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: auto;
    padding: 0 60px;
}

/* Logo */
header.navbar .logo img {
    height: 55px;
    transition: height 0.3s ease;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    align-items: center;
}

/* Navbar link hover & active styles */
.nav-links .nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}
.nav-links .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #5a9fb7;
    transition: width 0.25s ease;
}
.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
    width: 100%;
}
.nav-links .nav-btn {
    background-color: #5a9fb7;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}


