html {
    scroll-behavior: smooth;
    /* Removed height: 100%; and overflow-y: auto; */
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: #000000;
    color: #fff;
    /* Removed height: 100%; and overflow-y: auto; */
    padding-top: 100px; /* Account for fixed header height (desktop) */
}

/* Removed html.no-scroll, body.no-scroll { overflow: hidden; } */

.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; /* Header padding is zero */
    background-color: #000000; /* Black background at the very top */
    position: fixed; /* Changed to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    height: 100px; /* Hardcoded desktop header height */
}

.main-header.scrolled {
    background-color: rgba(18, 18, 18, 0.7); /* Semi-transparent dark grey when scrolled */
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 960px;
    padding: 0 20px; /* Consistent horizontal padding */
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    align-items: center; /* Center img vertically */
    justify-content: center; /* Center img horizontally */
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001; /* Above drawer */
}

/* Remove .hamburger-menu .bar styles as we are using img */
/* .hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
} */

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Changed to 100vh for consistent full screen height */
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1002; /* Increased z-index to be on top of everything */
    display: flex; /* Always flex, visibility controlled by opacity/transform */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none; /* Prevent interaction when hidden */
}

.mobile-nav-drawer.open {
    transform: translateX(0); /* Slide in */
    opacity: 1;
    pointer-events: all; /* Allow interaction when open */
}

/* Drawer Close Button - Styled as hamburger and positioned */
.drawer-close-button {
    position: absolute;
    top: 37.5px; /* Adjusted to align with main header's hamburger */
    right: 20px; /* Adjusted to align with main header's hamburger */
    width: 30px;
    height: 25px;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center; /* Center img vertically */
    justify-content: center; /* Center img horizontally */
    z-index: 1003; /* Ensure it's above the drawer content */
    margin: 0; /* Custom margin for manual adjustment */
}

/* Remove .drawer-close-button .bar styles as we are using img */
/* .drawer-close-button .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
} */

/* Styles for the SVG images within the buttons */
.hamburger-menu img,
.drawer-close-button img {
    width: 100%; /* Make img fill its parent container */
    height: 100%; /* Make img fill its parent container */
    object-fit: contain; /* Ensure the SVG scales correctly */
    /* filter: invert(100%); Removed as SVG is already white */
}


.mobile-nav-drawer a {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    margin: 15px 0;
    transition: color 0.3s ease;
}

.mobile-nav-drawer a:hover {
    color: #aaa;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex; /* Shown by default, hidden on mobile */
}

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px; /* Adjusted margin for desktop nav */
}

.desktop-nav a:hover {
    color: #fff;
}


.news-header-content {
    justify-content: space-between;
}

#logo {
    width: 100px;
    height: 100px;
}

.back-button {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 15px; /* Decreased padding */
    font-size: 0.9em; /* Slightly smaller font */
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #fff;
    color: #000;
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

#band-image {
    width: 100%;
    height: auto;
    display: block;
    /* Removed margin-top as padding-top on body handles spacing */
}

main {
    padding: 10px; /* Decreased padding */
}

section {
    margin-bottom: 15px; /* Decreased margin */
    scroll-margin-top: 140px;
}

h2 {
    font-size: 2em;
    border-bottom: 1px solid #fff;
    padding-bottom: 8px; /* Decreased padding */
    margin-bottom: 10px; /* Decreased margin */
}

article {
    margin-bottom: 10px; /* Decreased margin */
}

h3 {
    font-size: 1.5em;
    color: #fff; /* Changed to white */
    margin-bottom: 0; /* Set margin-bottom to zero */
}

a {
    color: #fff; /* Changed to white */
}

.view-all-news {
    display: block;
    text-align: right;
}

.article-date { /* General style for all article dates */
    font-style: italic;
    color: #aaa; /* Consistent grey color */
    margin-bottom: 10px; /* Decreased margin */
    display: block; /* Ensure it takes its own line */
}

.news-article-page {
    padding-top: 0; /* Removed padding from the top of the news article page */
}

.news-article-page h1 {
    font-size: 2.5em;
    color: #fff; /* Changed to white */
}

/* Aspect ratio box for news images */
.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 20px auto; /* Center and add vertical margin */
}

.aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fill container */
}

/* Image Pager Styles */
.image-pager {
    position: relative;
    width: 100%; /* Stretches to full width */
    height: 600px; /* Increased height for the pager */
    margin: 20px auto;
    overflow: hidden;
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.pager-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%; /* Take full height of pager */
}

.pager-images img {
    width: 100%;
    height: 100%; /* Take full height of pager */
    flex-shrink: 0;
    display: block;
    object-fit: cover; /* Crop to fill container */
}

.pager-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
}

.pager-button.prev {
    left: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.pager-button.next {
    right: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pager-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Video Container for aspect ratio */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width = 9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px; /* Add some space below the video */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Main Page News Block Styling */
.main-page .news-title {
    margin-bottom: 5px; /* Adjust this value for spacing below the title */
}

.main-page .article-date {
    margin-top: 2px; /* Adjust this value for spacing above the date */
}


/* Media Queries for Mobile */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Account for fixed header height (mobile) */
    }

    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-content {
        padding: 0 10px; /* Adjust horizontal padding for mobile header content */
    }

    #logo {
        width: 80px;
        height: 80px;
    }

    .news-article-page img:not(.image-pager img) {
        margin: 10px auto; /* Adjust margin for mobile */
    }

    .image-pager {
        height: 300px; /* Adjust pager height for mobile */
    }

    /* Show drawer close button on mobile */
    .drawer-close-button {
        display: flex;
        top: 27.5px; /* Adjusted for mobile header height */
        right: 10px; /* Adjusted to align with main header's hamburger */
    }

    .main-header {
        height: 80px; /* Hardcoded mobile header height */
    }
}