/* Reset and Basic Setup */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ensure html and body take up full height and can act as flex containers */
html { height: 100%; scroll-behavior: smooth; }

body {
    min-height: 100%; /* Ensure body at least full viewport height */
    display: flex;
    flex-direction: column; /* Stacks header, main (content-wrapper), and footer vertically */
    margin: 0; 
    background-color: #f8f5f0; 
    font-family: Calibri, Aptos, Verdana, Karla, sans-serif;
    color: #222; 
    line-height: 1.7;
    font-size: 16px; 
}

.content-wrapper {
    max-width: 90%;
    width: 90%; /* Ensures it tries to take available width before margin auto centers it */
    margin-left: auto; margin-right: auto; /* Horizontal centering */
    padding: 20px;      /* Or your preferred padding */
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);

    /* == New styles for vertical centering of its content == */
    flex-grow: 1; /* Allows .content-wrapper (main) to expand and fill available vertical space in the body */
    display: flex;
    flex-direction: column; /* Stacks the direct children of .content-wrapper (e.g., <section> tags) vertically */
    justify-content: center; /* This is the key property to vertically center the children (the content block) */
    align-items: center; /* Optional: If you also want to horizontally center the children
                                   blocks within .content-wrapper if they are narrower than .content-wrapper.
                                   Usually, sections inside .content-wrapper would be full-width of it. */
}

/* Links */
a {
    color: #0056b3; /* A standard, slightly darker blue for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #003d80; /* Darker blue on hover */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Calibri, Aptos, Verdana, Karla, sans-serif;
    color: #2c3e50; /* A softer, more sophisticated dark color for headings */
    margin-bottom: 0.75em;
    line-height: 1.3;
}

h1 { font-size: 2.8em; } /* Example: Page Title */
h2 { font-size: 2.5em; margin-top: 0.5em; margin-bottom: 0.5em; text-align: center; color: #333; } /* Section Titles */
h3 { font-size: 1.6em; margin-bottom: 0.5em; color: #4a5568; } /* Sub-headings / Member Names */
p {    margin-bottom: 1.2em;}

/* Header and Footer adjustments for the flex layout */
header {
    background-color: #f8f8f8; /* Darker, more traditional header */
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #c0a16b; /* Accent color, adjust as needed */
    flex-shrink: 0; /* Prevents the header from shrinking if content is too large */
}

.logo img {
    max-width: 200px; /* Adjust as needed */
    height: auto;
}

nav.nav-links ul {
    list-style: none;
    display: flex;
}

nav.nav-links li {
    margin-left: 2em;
	font-size: 18px;
}

nav.nav-links a {
    color: #000; 
    font-weight: bold;
    text-decoration: none;
    padding: 0.5em 0;
}

nav.nav-links a:hover {
    color: #c0a16b; /* Accent color on hover */
    text-decoration: none;
}

/* First-section Section */
#first-section {
    padding: 1.5em;
    text-align: left; /* Align text to left for better readability with float */
    margin-bottom: 2em;
	border-bottom: 4px solid #eaeaea;
    overflow: hidden; /* To contain the float */
}

#first-section .float-left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    max-width: 40%; /* Adjust image size relative to text */
    border: 1px solid #ddd;
    padding: 4px;
    background-color: #fff;
	text-align: left;
}

#first-section .float-right {
    float: right;
    margin-right: 25px;
    margin-bottom: 15px;
    max-width: 40%; /* Adjust image size relative to text */
    border: 1px solid #ddd;
    padding: 4px;
    background-color: #fff;
	text-align: right;
}

#first-section .first-photo {
    margin-right: 25px;
    margin-bottom: 10px;
	max-width: 95%;
    max-height: 300px;
    height: 300px;
    width: auto;
    padding: 4px;
    background-color: #fff;
}


#first-section img {
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 4px;
    background-color: #fff; /* Ensure image background is clean */
    width: 400px; height: auto; 
}

#first-section h2 { 
    text-align: center;
    font-size: 2.5em;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
}


/* Band Member Bios Section */
#band-members {
    padding: 1em 0;
}

#band-members h2 { /* Style for "Meet The Band" */
    text-align: center;
    font-size: 2.5em;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    color: #333;
}

.member-bio {
    overflow: hidden; /* To contain floated elements */
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #eaeaea; 
    text-align: left;
}

.member-bio:last-child {
    margin-bottom: 0;
	border-bottom: 4px solid #eaeaea;
}

.member-bio .member-photo {
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 4px;
    background-color: #fff; /* Ensure image background is clean */
    width: 200px; height: auto; 
}

.member-bio h3 { /* Member names */
    margin-top: 0; /* Adjust if image is taller */
    font-size: 1.8em;
    color: #333;
}
.member-bio h3 a {
    color: inherit; /* Make linked name use heading color */
}
.member-bio h3 a:hover {
    color: #0056b3; /* Standard link hover for name */
}

/* Video Features Section */
#video-features {
    padding: 1em 0;
    margin-top: 0.5em;
	border-top: 
}

#video-features h2 { /* Style for "Featured Videos" */
    text-align: center;
    font-size: 2.5em;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
}

.video-item {
    margin-bottom: 2.5em;
    padding-bottom: 1.0em;
    border-bottom: 4px solid #eaeaea;
    text-align: left; 
	min-height: 280px;

}

.video-item:last-child {
    border-bottom: 6px solid #eaeaea;
    margin-bottom: 0;
}

.video-item h3 { /* Video titles */
    font-size: 1.6em;
    color: #4a5568;
}

.video-thumbnail {
    /* Default styling for .img in your old CSS was display: inline; vertical-align: middle; margin-right: 1em; */
    /* You might want to float video thumbnails too, or center them */
    display: block; /* Make it a block to allow margin auto for centering */
    margin: 0 auto 10px auto; /* Center the thumbnail */
    border: 1px solid #ccc;
    padding: 3px;
    width: 300px; 
	height: auto;
}

/* If you want video thumbnails to float left like member photos: */

.video-thumbnail.img {
    float: right;
    margin-right: 0px;
    margin-bottom: 0px;
	transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; /* Use flexbox for better content alignment */
}

.video-thumbnail.img:hover {
    transform: translateY(-6px); /* Lift effect on hover */
    box-shadow: 0 6px 18px rgba(0,0,0,0.1); /* More pronounced shadow on hover */
}

.video-item div {
    overflow: hidden; 
	padding-right: 10px;
}

/* Footer Styles - Update and Additions */
footer {
    text-align: center;
    padding: 1em 1em;
    background-color: #f1f1f1;
    color: #f0f0f0;
    font-size: 0.9em;
    margin-top: 2em;
    border-top: 3px solid #c0a16b;
    flex-shrink: 0;
}

.footer-content p {
    margin: 0;
    margin-bottom: 0.1em;
    font-size: 1.0em;
    color: #000;
	line-height: 1.3;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

footer a {	color: #000; }

/* Common style for all social icon links */
.social-link {
    display: inline-block; /* Or 'block' if preferred, but inline-block works with gap */
    width: 90px;           /* Default icon size for desktop */
    height: 35px;          /* Default icon size for desktop */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; /* Ensures the whole icon is visible */
    text-indent: -9999px;  /* Hides the text in .sr-only span visually */
    overflow: hidden;       /* Ensures hidden text doesn't cause layout issues */
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 0.85;
    border-radius: 4px; /* Optional: if you want slightly rounded corners for the clickable area */
}

.social-link:hover {
    transform: scale(1.15);
    opacity: 1;
}

/* Specific classes for each icon using background images */
.icon-apple-music { background-image: url('../images/US-UK_Apple_Music_Listen_on_Badge_CMYK_082120.png');}
.icon-spotify     { background-image: url('../images/Spotify_Full_Logo_RGB_Black.png');}
.icon-facebook    { background-image: url('../images/Facebook_Logo_Primary.png');}
.icon-bandcamp    { background-image: url('../images/bandcamp-logotype-dark-128.png');}
/* Example for another icon if you add it: */
/* .icon-bandcamp {    background-image: url('images/bandcamp-icon.svg');} */

/* CSS for screen-reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive icon sizes for mobile devices */
@media (max-width: 768px) { /* For tablets and larger mobile phones */
    .footer-content p {        margin-bottom: 1em;    }
    .footer-social-icons {        gap: 18px;    }
    .social-link {
        width: 28px;
        height: 28px;
    }
    .footer-social-icons {        gap: 15px;    }
	.icon-apple-music { background-image: url('../images/Apple_Music_Icon_RGB_072420.png');}
	.icon-spotify     { background-image: url('../images/Spotify_Primary_Logo_RGB_Green.png');}
	.icon-facebook    { background-image: url('../images/Facebook_Logo_Primary.png');}
	.icon-bandcamp    { background-image: url('../images/bc-logotype-dark-128.png');}
}


/* Hamburger Menu and Responsive (Keep your existing, but adjust if needed) */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.line {
    width: 25px;
    height: 3px;
    background-color: #000; /* Light lines for dark header */
    margin: 5px 0;
    transition: 0.4s;
}

/* ============================================= */
/* Additional album info and Gallery Section Styles                         */
/* ============================================= */

.additional-section {
    padding: 0.5em 0; /* Vertical padding for the section */
	width: 90%;
}

.additional-section h2 {
    text-align: center;
    font-size: 2.5em; /* Consistent with other section titles */
    margin-bottom: 0.2em;
    color: #333;
}

.additional-section h1 {
    text-align: center;
    font-size: 3em; /* Consistent with other section titles */
    margin-bottom: 0.2em;
    color: #333;
}

.additional-section h3 {
    margin-bottom: 0.1em;
    color: #333;
	padding-top: 20px;
}

.additional-section img{ width: 100%;    max-width: 200px; height: auto; }

.additional-description {
    /* background-color: #fff; /* Light background for each item */
    /* border: 3px solid #e0e0e0; /* Subtle border */
    /* border-radius: 15px; /* Slightly rounded corners */
    /* padding: 1.0em; /* Internal padding */
    text-align: left; /* Center content within the item */
    font-size: 0.95em; /* Consistent with other section titles */
    color: #555;
    line-height: 1.5;    /* box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Softer initial shadow */
    /* transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; /* Use flexbox for better content alignment */
    /* flex-direction: column; /* Stack items vertically */
    /* justify-content: space-between; /* Pushes button to the bottom if descriptions vary */
}

#gallery-section {
    padding: 0.5em 0; /* Vertical padding for the section */
	width: 90%;
}

#gallery-section h3 {
    margin-bottom: 0.1em;
    color: #333;
	text-align: center;
}

#gallery-grid {
    display: grid;
    /* Adjust minmax if you want items to be larger/smaller.
       200px is a good minimum for album covers.
       For 3 columns on wider screens, you might use something like minmax(250px, 1fr)
       or set a fixed number of columns with `grid-template-columns: repeat(3, 1fr);`
    */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em; /* Spacing between album items */
    padding: 0; /* Remove padding from the grid itself if .content-wrapper handles it */
}

.gallery-item {
    background-color: #fff; /* Light background for each item */
    border: 3px solid #e0e0e0; /* Subtle border */
    border-radius: 15px; /* Slightly rounded corners */
    padding: 1.0em; /* Internal padding */
    text-align: center; /* Center content within the item */
    box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Softer initial shadow */
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; /* Use flexbox for better content alignment */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Pushes button to the bottom if descriptions vary */
}

.gallery-item img {
    width: 250px; /* Make image responsive within its container */
    max-width: 400px; /* Max width for the image, keeps it from getting too large */
    height: auto;
    display: block;
    margin: 0 auto 1em auto; /* Center image and add space below */
    border-radius: 4px; /* Rounded corners for the image itself */
    border: 1px solid #eee; /* Light border around image */
}

.gallery-item img.img2 {
    width: 200px; /* Make image responsive within its container */
    max-width: 400px; /* Max width for the image, keeps it from getting too large */
    height: auto;
    display: block;
    margin: 0 auto 1em auto; /* Center image and add space below */
    border-radius: 4px; /* Rounded corners for the image itself */
    border: 1px solid #eee; /* Light border around image */
}

.gallery-description {
    text-align: center; /* Center content within the item */
    font-size: 1.25em; /* Consistent with other section titles */
    color: #555;
    line-height: 1.0;    /* box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Softer initial shadow */
}



/* ============================================= */
/* Albums Section Styles                         */
/* ============================================= */

#albums-section {
    padding: 0.5em 0; /* Vertical padding for the section */
	width: 90%;
}

#albums-section h2 {
    text-align: center;
    font-size: 2.5em; /* Consistent with other section titles */
    margin-bottom: 0.2em;
    color: #333;
}

#albums-section h1 {
    text-align: center;
    font-size: 3em; /* Consistent with other section titles */
    margin-bottom: 0.2em;
    color: #333;
}

#albums-section h3 {
    margin-bottom: 0.1em;
    color: #333;
}

#albums-grid {
    display: grid;
    /* Adjust minmax if you want items to be larger/smaller.
       200px is a good minimum for album covers.
       For 3 columns on wider screens, you might use something like minmax(250px, 1fr)
       or set a fixed number of columns with `grid-template-columns: repeat(3, 1fr);`
    */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em; /* Spacing between album items */
    padding: 0; /* Remove padding from the grid itself if .content-wrapper handles it */
}

.album-item {
    background-color: #fff; /* Light background for each item */
    border: 3px solid #e0e0e0; /* Subtle border */
    border-radius: 15px; /* Slightly rounded corners */
    padding: 1.0em; /* Internal padding */
    text-align: center; /* Center content within the item */
    box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Softer initial shadow */
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; /* Use flexbox for better content alignment */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Pushes button to the bottom if descriptions vary */
}

.album-item:hover {
    transform: translateY(-6px); /* Lift effect on hover */
    box-shadow: 0 6px 18px rgba(0,0,0,0.1); /* More pronounced shadow on hover */
}

.album-item a { /* For the main link wrapping image and title */
    text-decoration: none;
    color: inherit; /* Inherit text color for the link */
    display: block; /* Make the link area cover image and title */
    margin-bottom: 0.2em; /* Space before description/button if they are outside this <a> */
}
.album-item a:hover img {
    /* Optional: add subtle effect to image on link hover if you like */
    /* opacity: 0.85; */
}

.album-item img {
    width: 100%; /* Make image responsive within its container */
    max-width: 250px; /* Max width for the image, keeps it from getting too large */
    height: auto;
    display: block;
    margin: 0 auto 1em auto; /* Center image and add space below */
    border-radius: 4px; /* Rounded corners for the image itself */
    border: 1px solid #eee; /* Light border around image */
}

.album-item h3 { /* Album Title */
    font-size: 1.3em;
    color: #2c3e50; /* From your heading styles */
    margin-bottom: 0.5em; /* Space below title */
    font-weight: bold; /* Ensure title is bold */
    line-height: 1.3;
}

.album-item .album-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.2em;
    min-height: 3em; /* Helps to keep item heights somewhat consistent if descriptions vary */
    flex-grow: 1; /* Allows description to take up available space, pushing button down */
}

.album-button {
    display: inline-block;
    background-color: #0056b3; /* Main link color from previous styles */
    color: #fff !important; /* Ensure text is white, !important if overridden by other <a> styles */
    padding: 0.7em 1.5em; /* Padding for the button */
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease;
    border: none;
    cursor: pointer;
    align-self: center; /* Center button if flex container is wider */
}

.album-button:hover {
    background-color: #003d80; /* Darker shade on hover */
    color: #fff !important;
    text-decoration: none;
    transform: scale(1.03); /* Slight zoom on button hover */
}

.album-info {
    background-color: #fafafa; /* Light background for each item */
    border: 3px solid #e0e0e0; /* Subtle border */
    border-radius: 20px; /* Slightly rounded corners */
    padding: 1.5em; /* Internal padding */
    text-align: left; /* Center content within the item */
    box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Softer initial shadow */
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; /* Use flexbox for better content alignment */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Pushes button to the bottom if descriptions vary */
}

.album-info h1 { text-align: center; margin-bottom: 0.4em; }

.album-info p  { line-height: 1.3; font-size: 1.1em;}

.album-info ol { margin: 10px; }

.albums-page {
    padding: 0.5em 0; /* Vertical padding for the section */
	width: 90%;
	margin-left: auto; margin-right: auto; /* Horizontal centering */
}

.album-artwork {
    margin-left: auto; margin-right: auto; /* Horizontal centering */
	font-size: 1.8em;
}

.album-artwork img{ width: 400px; height: auto;   min-width: 50px;  }

.album-iframe {
    margin-left: auto; margin-right: auto; /* Horizontal centering */
	width: 60%;
	height: auto;
    min-width: 100px;
	max-width: 500px;
}

.album-iframe h2 {font-size: 2.0em; }

#extras-grid {
    display: grid;
    /* Adjust minmax if you want items to be larger/smaller.
       200px is a good minimum for album covers.
       For 3 columns on wider screens, you might use something like minmax(250px, 1fr)
       or set a fixed number of columns with `grid-template-columns: repeat(3, 1fr);`
    */
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    gap: 2em; /* Spacing between album items */
    padding: 0; /* Remove padding from the grid itself if .content-wrapper handles it */
}

.extras-item {
    background-color: #fff; /* Light background for each item */
    border: 3px solid #e0e0e0; /* Subtle border */
    border-radius: 15px; /* Slightly rounded corners */
    padding: 0.6em; /* Internal padding */
    text-align: center; /* Center content within the item */
    box-shadow: 0 5px 10px rgba(0,0,0,0.05); /* Softer initial shadow */
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; /* Use flexbox for better content alignment */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Pushes button to the bottom if descriptions vary */
}

.extras-item:hover {
    transform: translateY(-6px); /* Lift effect on hover */
    box-shadow: 0 6px 18px rgba(0,0,0,0.1); /* More pronounced shadow on hover */
}

.extras-item a { /* For the main link wrapping image and title */
    text-decoration: none;
    color: blue; /* Inherit text color for the link */
    display: block; /* Make the link area cover image and title */
    margin-bottom: 0.2em; /* Space before description/button if they are outside this <a> */
}
.extras-item a:hover img {
    /* Optional: add subtle effect to image on link hover if you like */
    /* opacity: 0.85; */
}

.extras-item img {
    width: 100%; /* Make image responsive within its container */
    max-width: 250px; /* Max width for the image, keeps it from getting too large */
    height: auto;
    display: block;
    margin: 0 auto 1em auto; /* Center image and add space below */
    border-radius: 4px; /* Rounded corners for the image itself */
    border: 1px solid #eee; /* Light border around image */
}

.extras-item h3 { /* Album Title */
    font-size: 1.3em;
    color: #2c3e50; /* From your heading styles */
    margin-bottom: 0.5em; /* Space below title */
    font-weight: bold; /* Ensure title is bold */
    line-height: 1.3;
}

.extras-item .extras-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.2em;
    min-height: 3em; /* Helps to keep item heights somewhat consistent if descriptions vary */
    flex-grow: 1; /* Allows description to take up available space, pushing button down */
}

.extras-item .extras-caption {
	color: #000; text-decoration: none; font-size: 0.5em; line-height: 0.8em; text-wrap: auto; padding: 4px;
	line-break: anywhere; word-break: normal;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; 
	font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif; font-weight: 100;
}

.extras-item .extras-n {
	color: #000; text-decoration: none; font-size: 0.65em; line-height: 0.8em; text-wrap: auto; padding: 4px;
}


* Styles for the Track Listing */
.track-listing-container {
    /* Inherits font-family from your body styles (e.g., Georgia) */
    margin-top: 30px; /* Space above the track listing section */
    margin-bottom: 30px; /* Space below the track listing section */
}

.track-listing-container h2 {
    font-size: 2.2em; /* Adjust to match your site's H2 style */
    color: #2c3e50;   /* Using a color from your existing scheme */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c0a16b; /* Using accent from existing scheme */
    text-align: left; /* Or 'center' if you prefer */
}

.track-list {
    list-style: none; /* Remove default browser list styling */
	width: 90%;
    padding-left: 0;  /* Remove default indentation */
    counter-reset: track-counter; /* Initialize a custom counter for track numbers */
}

.track-image {
	max-width: 450px;
	width: 90%;
}

.track-words {
    font-size: 0.8em;
    font-weight: 550;
    font-style: italic;
    line-height: 1.1;
    text-wrap-mode: wrap;
    padding: 5px;
    margin: 0;
    height: fit-content;
}
.album_copyright {  font-size: 0.9em; margin-bottom: 0em; }

.album_credits   {  font-size: 1.1em; }

.track-list li {
    display: flex;
    justify-content: space-between; /* Pushes track details and player to opposite ends */
    align-items: center;           /* Vertically aligns items in the middle */
    padding: 10px 10px;            /* Padding top/bottom and some side padding for each track */
    border-bottom: 3px solid #eaeaea; /* Subtle line between tracks */
    transition: background-color 0.2s ease; /* Smooth transition for hover */
}

.track-list li:last-child {
    border-bottom: none; /* No border for the last item in the list */
}

.track-list li:hover {
    background-color: #f9f9f9; /* Subtle background color on hover */
}

.track-details {
    display: flex;          /* To align track number (generated) and title */
    align-items: baseline;  /* Aligns text nicely if font sizes/weights differ */
    flex-grow: 1;           /* Allows track details to take available horizontal space */
    margin-right: 20px;     /* Space between the text details and the audio player */
    overflow: hidden;       /* Prevents long track titles from breaking layout badly */
}

/* CSS Counter for track numbers */
.track-details::before {
    counter-increment: track-counter; /* Increment the counter for each item */
    content: counter(track-counter) ". "; /* Display the counter value with a dot and space */
    font-weight: bold;
    color: #555;           /* Color for the track number */
    margin-right: 12px;     /* Space after the number */
    min-width: 1.5em;       /* Ensures numbers align neatly, adjust if you have >99 tracks */
    text-align: right;      /* Aligns the number to the right if min-width is larger */
    flex-shrink: 0;         /* Prevent number from shrinking */
}

.track-title {
    color: #333;            /* Main color for the track title */
    font-size: 1.05em;      /* Adjust as needed */
    font-weight: 1000;       /* Slightly bolder than normal text */
    white-space: nowrap;    /* Prevent title from wrapping to new line initially */
    overflow: hidden;       /* Hide overflow if title is too long */
    text-overflow: ellipsis;/* Add "..." if title is too long and overflows */
}

.track-composer {
    font-size: 0.9em;       /* Slightly smaller for composer info */
    color: #777;
    margin-left: 8px;       /* Space between title and composer */
    white-space: nowrap;    /* Keep composer on the same line if possible */
}

.track-instruments {
    font-size: 0.9em;       /* Slightly smaller for composer info */
    color: #666;
    margin-left: 8px;       /* Space between title and composer */
	white-space: normal;    /* Make long lines wrap around */
}

.track-player {
    height: 40px;           /* Standardize player height for consistency */
    max-width: 280px;       /* Max width to prevent it from being too wide. Adjust as needed. */
    min-width: 200px;       /* Min width to ensure controls are usable. Adjust as needed. */
    flex-shrink: 0;         /* Prevent the player from shrinking too much */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .track-list li {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the start (left) */
        padding: 10px 5px;
    }

    .track-details {
        margin-right: 0;        /* No right margin when stacked */
        margin-bottom: 10px;    /* Space between details and player */
        width: 100%;            /* Allow details to take full width */
    }
    
	.track-image {
		width: 90%;
		height: auto;
	}


    .track-title {
        white-space: normal; /* Allow title to wrap on small screens */
    }

    .track-player {
        max-width: 100%;        /* Allow player to take full width available */
        min-width: none;
        width: 100%;            /* Make player take full width */
    }
}

/* Responsive adjustments for albums if needed */
@media (max-width: 480px) {
    #albums-grid {
        gap: 1.5em; /* Reduce gap on smaller screens */
         grid-template-columns: 1fr;
        /* You might want 2 columns instead of auto-fit leading to 1 */
        /* grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); */
    }

    .album-item {        padding: 1em;    }

    .album-item img {        max-width: 90%; /* Slightly smaller images on mobile */    }

    .album-item h3 {        font-size: 1.2em;    }

    .album-item .album-description {
        font-size: 0.9em;
        min-height: 2.5em; /* Adjust min-height */
    }

    .extras-item {        padding: 1em;    }

    .extras-item img {        max-width: 90%; /* Slightly smaller images on mobile */    }

    .extras-item h3 {        font-size: 1.2em;    }

    .extras-item .extras-description {
        font-size: 0.9em;
        min-height: 2.5em; /* Adjust min-height */
    }

    .album-button {
        padding: 0.6em 1.2em;
        font-size: 0.85em;
    }
	
	.album-artwork img{ width: 90%; height: auto;  }

    #gallery-grid {
        gap: 1.5em; /* Reduce gap on smaller screens */
         grid-template-columns: 1fr;
        /* You might want 2 columns instead of auto-fit leading to 1 */
        /* grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); */
    }

    #extras-grid {
        gap: 1.5em; /* Reduce gap on smaller screens */
         grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

}

@media (max-width: 768px) {
    body {
        font-size: 15px; /* Slightly smaller base font for mobile */
    }

    .content-wrapper {
        padding: 10px;
    }
    
    header {
        padding: 0.8em 1em;
        flex-direction: row; /* Ensure logo and hamburger are on the same line */
    }

    .logo img {
        max-width: 150px;
    }

    nav.nav-links {
        display: none; /* Hidden by default, shown by JS */
        flex-direction: column;
        background-color: #fafbfb;
        position: absolute;
        top: 60px; /* Adjust based on your actual header height */
        right: 0; /* Align to the right */
        width: 200px; /* Or a percentage */
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1000;
        padding: 10px 0;
    }

    nav.nav-links.active {
        display: flex;
    }

    nav.nav-links ul {
        flex-direction: column;
        width: 100%;
        align-items: center; /* Center text in dropdown */
    }

    nav.nav-links li {
        margin-left: 0;
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }
    nav.nav-links li a {
        display: block; /* Make full list item clickable */
        padding: 10px 0; /* Add padding to each link */
        border-bottom: 1px solid #555;
    }
    nav.nav-links li:last-child a {
        border-bottom: none;
    }

    .hamburger {        display: block;    }

    #first-section .float-left, .float-right,
    .member-bio .member-photo {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        max-width: 80%; /* Allow image to be larger on mobile when not floated */
        width: auto; /* Reset fixed width from desktop if needed */
    }
    #first-section, .member-bio, .video-item {
        text-align: center; /* Center text when image is not floated */
    }
    .member-bio h3, .video-item h3 {
        text-align: center;
    }

    .video-thumbnail.img {
        float: none;
        display: block;
        margin: 0 auto 15px auto; /* Center thumbnail */
    }
}