    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        background: linear-gradient(to bottom, #d4e6f6, #89b3d9);
        min-height: 100vh;
        color: #333;
        padding: 0;
    }
    
    /* Sticky Header */
    .header {
        position: sticky;
        top: 0;
        width: 100%;
        background: #1e5599;
        padding: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 40px;
    }

    .nav-left, .nav-center, .nav-right {
        padding: 15px 0;
    }
    
    .nav-left a, .nav-center a, .nav-right a {
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        transition: opacity 0.3s;
    }
    
    .nav-left a:hover, .nav-center a:hover, .nav-right a:hover {
        opacity: 0.8;
    }

    /* Banner Image */
    .banner-container {
        width: 100%;
        overflow: hidden;
        height: 300px;
        position: relative;
    }
    
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.4);
    }
    
    .banner-text {
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        text-align: center;
    }
    
    .banner-text h2 {
        font-size: 2.8rem;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .banner-text p {
        font-size: 1.4rem;
        max-width: 800px;
        margin: 0 auto;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    .page-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 40px 40px 40px;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 30px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .title-container {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        border-bottom: 2px solid #89b3d9;
        padding-bottom: 10px;
        align-items: flex-end; /* Align items to the bottom */
    }
    
    h1 {
        font-size: 2.5rem;
        color: #2c3e50;
        margin: 0;
        line-height: 1.2; /* Tighten line height for better alignment */
    }
    
    h3 {
        font-size: 1.8rem;
        color: #2c3e50;
        margin: 30px 0 15px;
    }
    
    /* New Horizontal Rule styles */
    .hr1 {
        width: 30%;
        height: .1rem;
        background-color: #89b3d9;
        border: none;
        margin: 40px auto;
        clear: both;
    }
    
    .hr2 {
        width: 60%;
        height: .15rem;
        background-color: #89b3d9;
        border: none;
        margin: 40px auto;
    }
    
    .pdf-link {
        color: #1e5599;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        transition: color 0.3s;
        padding-bottom: 4px; /* Fine-tune bottom alignment with heading */
    }
    
    .pdf-link:hover {
        color: #3498db;
        text-decoration: underline;
    }
    
    p {
        margin-bottom: 20px;
        font-size: 1.1rem;
    }
    
    .content-section {
        margin-bottom: 30px;
        overflow: hidden; /* Clearfix for floats */
    }
    
    .img-left {
        float: left;
        margin: 0 20px 10px 0;
        max-width: 300px;
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    }
    
    .img-right {
        float: right;
        margin: 0 0 10px 20px;
        max-width: 300px;
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    }
    
    /* CSS for floated figure */
    figure.float-left {
        float: left;
        margin: 0 20px 10px 0;
        max-width: 300px;
        border: 1px solid #ddd;
        padding: 5px;
        background: #f9f9f9;
    }

    figure.float-right {
        float: right;
        margin: 0 0 10px 20px;
        max-width: 300px;
        border: 1px solid #ddd;
        padding: 5px;
        background: #f9f9f9;
    }

    figure img {
        width: 100%;
        height: auto;
        display: block;
    }

    .post-content img {
        max-height: 50vh;
        width: auto;
        max-width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .post-content figure img {
        max-height: 50vh;
        width: auto;
        max-width: 100%;
    }

    .post-content figure {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    figcaption {
        font-size: 14px;
        text-align: center;
        padding: 8px 5px 2px;
        font-style: italic;
        color: #555;
    }
    
    /* Modern flexbox layouts to replace floats */
    .flex-content {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
        align-items: flex-start;
    }
    
    .flex-content.reverse {
        flex-direction: row-reverse;
    }
    
    .flex-text {
        flex: 1;
        min-width: 0;
    }
    
    .flex-image {
        flex-shrink: 0;
        max-width: 300px;
    }
    
    .flex-image figure {
        margin: 0;
        max-width: 300px;
        border: 1px solid #ddd;
        padding: 5px;
        background: #f9f9f9;
    }
	.image-group-right {
		float: right;
		margin: 0 0 10px 20px;
		width: 50%;
		display: flex;
		gap: 10px;
	}

	.image-group-right figure {
		flex: 1;
		min-width: 0; 
		border: 1px solid #ddd;
		padding: 5px;
		background: #f9f9f9;
		margin: 0;
		float: none;
		max-width: 300px;
		box-sizing: border-box;
	}
	.image-group-center {
		float: none;
		margin: 0 0 10px 0;
		display: flex;
		justify-content: center;
		gap: 10px;

	}

	.image-group-center figure {
		flex: 1;
		min-width: 0; 
		border: 1px solid #ddd;
		padding: 5px;
		background: #f9f9f9;
		max-width: 300px;
		margin: 0;
		float: none;
		box-sizing: border-box;
	}

    /* Clearfix no longer needed with flexbox, but kept for compatibility */
    .clearfix {
        display: flex;
        flex-wrap: wrap;
    }
    
    .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #1e5599;
        color: white;
        text-decoration: none;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .back-to-top:hover {
        background-color: #164175; /* Darker blue on hover */
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        transform: translateY(-3px);
    }

    .back-to-top svg {
        width: 24px; 
        height: 24px; 
        stroke-width: 1; 
        stroke: white;
    }
    
    /* New footer links section */
    .footer-links {
        margin: 40px 60px 20px;
        line-height: 2;
    }
    
    .footer-links p {
        margin-bottom: 8px;
        font-size: 1.15rem;
    }
    
    .footer-links a {
        color: #1e5599;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }
    
    .footer-links a:hover {
        color: #3498db;
        text-decoration: underline;
    }
    
    /* Copyright section */
    .copyright {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0 40px;
        font-size: 0.9rem;
        color: #2c3e50;
        max-width: 1200px;
        margin: 0 auto;
    }

    .copyright a {
        color: #1e5599;
        text-decoration: none;
        transition: color 0.3s;
    }

    .copyright a:hover {
        color: #2d6db5;
        text-decoration: underline;
    }

    .copyright .sitemap-link {
        background-color: #1e5599;
        color: white;
        padding: 6px 14px;
        border-radius: 4px;
        font-weight: 500;
        transition: background-color 0.3s, transform 0.2s;
    }

    .copyright .sitemap-link:hover {
        background-color: #2d6db5;
        color: white;
        text-decoration: none;
        transform: translateY(-1px);
    }

    @media screen and (max-width: 768px) {
        .nav-container {
            padding: 0 20px;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
        .nav-left, .nav-right {
            width: 40%;
        }
        
        .nav-center {
            width: 100%;
            text-align: center;
            padding-top: 0;
            padding-bottom: 15px;
            order: 3;
        }
        
        .nav-left a, .nav-center a, .nav-right a {
            font-size: 0.9rem;
        }
        
        .banner-container {
            height: 200px;
        }
        
        .banner-text h2 {
            font-size: 1.8rem;
        }
        
        .banner-text p {
            font-size: 1rem;
        }
        
        .page-wrapper {
            padding: 30px 20px 20px;
        }
        
        .container {
            padding: 20px;
        }
        
        .title-container {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        
        h1 {
            font-size: 2rem;
        }

        h3 {
            font-size: 1.5rem;
        }
        
        .pdf-link {
            align-self: flex-end;
            padding-bottom: 8px; /* Adjust for mobile */
        }

        /* Flexbox layouts become vertical on mobile */
        .flex-content, .flex-content.reverse {
            flex-direction: column;
        }
        
        .flex-image {
            max-width: 100%;
            margin-bottom: 20px;
        }
        
        /* Legacy float classes for compatibility */
        .img-left, .img-right {
            margin: 0 auto 20px;
            max-width: 100%;
            display: block;
        }
		
		.image-group-right {
        float: none;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-group-right figure {
        width: 80%;
        margin-bottom: 10px;
    }

    .image-group-right figure:last-child {
        margin-bottom: 0;
    }
	.image-group-center {
        float: none;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-group-center figure {
        width: 80%;
        margin-bottom: 10px;
    }

    .image-group-center figure:last-child {
        margin-bottom: 0;
    }
        
        p {
            font-size: 1rem;
        }
        
        .footer-links {
            margin: 30px 20px 20px;
        }
        
        .footer-links p {
            font-size: 1rem;
            margin-bottom: 10px;
        }
        
        .copyright {
            padding: 15px 0 30px;
        }
    }
.dropbtn {
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e5599;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    flex-direction: column;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, opacity 0.3s;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content a:hover {
    background-color: #164175;
    opacity: 1;
}

.nav-right.dropdown {
    padding: 15px 0;
}
/* Table of Contents Styling */
.table-of-contents {
    background-color: #eaf2f8; /* A very light blue, adjust as you like */
    padding: 15px 25px;
    margin-bottom: 35px; /* Space before the first post */
    border: 1px solid #c5d9e8; /* A soft border */
    border-radius: 6px; /* Rounded corners */
}

.table-of-contents h3 {
    margin-top: 5px; /* Adjust if needed */
    margin-bottom: 15px;
    color: #1e5599; /* Match your header blue */
    font-size: 1.7rem; /* Or your preferred size */
}

.table-of-contents ul {
    list-style-type: disc; /* Or 'decimal' for numbers, or 'none' */
    padding-left: 20px; /* Indent list items */
}

.table-of-contents ul li {
    margin-bottom: 10px; /* Space between ToC items */
}

.table-of-contents ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
}

.table-of-contents ul li a:hover,
.table-of-contents ul li a:focus { /* Added focus for accessibility */
    color: #3498db;
    text-decoration: underline;
}
article.blog-post {
    scroll-margin-top: 70px; /* Adjust this value as needed */
}

.post-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Common utility classes to replace inline styles */
.text-large {
    font-size: 1.3rem;
    font-weight: 600;
}

.text-small {
    font-size: 0.9rem;
    margin-top: 10px;
}

.text-italic {
    font-style: italic;
}

.link-blue {
    color: #1e5599;
}

.img-constrained {
    max-height: 300px;
    width: auto;
}

/* Photo Gallery Styles */
.gallery-section {
    margin-bottom: 31.5px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(30, 85, 153, 0.2);
}

.gallery-title {
    font-size: 2rem;
    color: #1e5599;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.gallery-description {
    color: #666;
    font-size: 1.1rem;
    margin: 0 0 6px 0;
    font-style: italic;
}

/* Gallery Navigation */
.gallery-nav-container {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

.gallery-nav {
    display: flex;
    gap: 10px;
    padding-bottom: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-nav-item {
    flex: 0 0 auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-align: center;
    min-width: 120px;
}

.gallery-nav-item:hover {
    background: #1e5599;
    color: white;
    border-color: #1e5599;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Make navigation scrollable on mobile */
@media (max-width: 768px) {
    .gallery-nav-container {
        padding: 10px;
    }
    
    .gallery-nav-item {
        min-width: 100px;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* Carousel container */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

/* Navigation buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

/* Caption */
.carousel-caption {
    padding: 15px 20px;
    background: #f9f9f9;
    text-align: center;
    font-style: italic;
    color: #555;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading message */
.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* No photos message */
.no-photos {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #666;
}

/* Gallery Styles */
.gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.photo-thumbnail {
    flex: 0 0 auto;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Audio Player Styles */
.audio-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.audio-title {
    font-weight: 600;
    color: #1e5599;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.audio-item audio {
    width: 100%;
    height: 40px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lightbox-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lightbox-filename {
    color: #ccc;
    font-size: 1rem;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    padding: 25px 18px;
    cursor: pointer;
    font-size: 3rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: background 0.2s ease;
    z-index: 1001;
    min-width: 60px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .photo-thumbnail {
        width: 150px;
        height: 112px;
    }
    
    .lightbox-nav {
        padding: 15px 12px;
        font-size: 2rem;
        min-width: 50px;
        min-height: 80px;
    }
    
    .lightbox-prev {
        left: -60px;
    }
    
    .lightbox-next {
        right: -60px;
    }
}

/* Hide back-to-top arrow when lightbox is active */
body[style*="overflow: hidden"] .back-to-top {
    display: none;
}

/* Music Player Layout Styles */
.music-nav-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.music-nav-btn {
    background: white;
    border: 2px solid #1e5599;
    color: #1e5599;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.music-nav-btn:hover {
    background: #1e5599;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.music-nav-btn.active {
    background: #1e5599;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.play-all-btn {
    background: #28a745;
    border: 2px solid #28a745;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-all-btn:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.music-layout {
    display: flex;
    gap: 20px;
    margin: 20px 0 0 0;
    min-height: 500px;
}

.song-list-container {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    order: 1;
}

.song-list {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.song-list::-webkit-scrollbar {
    width: 8px;
}

.song-list::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}

.song-list::-webkit-scrollbar-thumb {
    background: #1e5599;
    border-radius: 4px;
}

.song-list::-webkit-scrollbar-thumb:hover {
    background: #164175;
}

.song-item {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.song-item:hover {
    background: #e9f3ff;
    border-color: #1e5599;
    transform: translateX(4px);
}

.song-item.active {
    background: #1e5599;
    color: white;
    border-color: #1e5599;
}

.player-container {
    flex: 1;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    order: 2;
}

.player-placeholder {
    text-align: center;
    color: #6c757d;
    font-size: 1.2rem;
    font-style: italic;
}

.player-content {
    width: 100%;
}

.now-playing {
    text-align: center;
    margin-bottom: 20px;
}

.now-playing-title {
    font-size: 1.5rem;
    color: #1e5599;
    font-weight: 600;
    margin-bottom: 10px;
}

.now-playing audio {
    width: 100%;
    margin-top: 10px;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.player-control-btn {
    background: #1e5599;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-control-btn:hover {
    background: #164175;
    transform: scale(1.05);
}

.player-control-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Music Photo Section */
.music-photo-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 0 0 30px 0;
}

.music-photo-container {
    flex: 0 0 300px;
    margin: 0;
    padding: 0 0 0 20px;
}

.music-photo {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0;
}

.music-intro-nav-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px 0 0;
}

.music-intro-text {
    margin: 0;
    line-height: 1.6;
}

/* Videos Section */
.videos-section {
    margin: 40px 0 20px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.videos-section h2 {
    color: #1e5599;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e5599;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-item h3 {
    color: #1e5599;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.video-item p {
    color: #495057;
    margin: 10px 0;
    line-height: 1.5;
    font-size: 0.95em;
}

.video-item a {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #1e5599;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.video-item a:hover {
    background: #164377;
    transform: translateY(-1px);
}

/* Sitemap page styles */
.sitemap-section {
    margin-bottom: 30px;
    padding-left: 20px;
}

.sitemap-section h3 {
    margin-bottom: 10px;
    color: #1e5599;
}

.sitemap-section h3 a {
    color: #1e5599;
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-section h3 a:hover {
    color: #2d6db5;
    text-decoration: underline;
}

.sitemap-section p {
    margin-left: 0;
    color: #555;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    .music-layout {
        flex-direction: column;
        min-height: auto;
    }

    .song-list-container {
        order: 2;
    }

    .player-container {
        order: 1;
        min-height: 200px;
    }

    .song-list {
        max-height: 400px;
    }

    .music-nav-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .music-photo-section {
        flex-direction: column;
        gap: 20px;
    }

    .music-intro-nav-wrapper {
        order: -1;
    }

    .music-photo-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .music-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .music-intro-text {
        margin-bottom: 10px;
    }
}
