    * {
        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;
        }
    }
.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;
}

/* 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;
}
