.sticky-sidebar {
    position: fixed;
}

body {
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    color: #000000;
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5 {
    text-transform: none;
}

.navbar-brand img {
    height: 75px;
}

.navbar {
    text-align: center;
}

.nav-link:hover {
    background: #9EDFEC;
}

/* Hero section - make it smaller and more proportional */
.hero-bg {
    height: 350px; /* Reduced from 500px */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-fg {
    position: relative;
    top: 200px; /* Reduced from 300px */
    color: white;
    height: 100%;
    width: 100%;
}

.hero-fg .container .row {
    position: relative;
}

.hero-fg h1 {
    color: #ffffff;
    font-size: 2.5rem; /* Reduced from 3rem */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: table;
    margin: 0 auto; /* Center the title */
}

.hero-fg h2 {
    color: #ffffff;
    font-size: 2.5rem; /* Reduced from 3rem */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: table;
    margin: 0 auto; /* Center the title */
}

/* Article content layout improvements */
.crx-article .article-body {
    max-width: 1200px; /* Reduced from 1600px for better readability */
    min-width: auto; /* Remove fixed min-width */
    margin: 0 auto; /* Center the content */
}

/* Better content centering for all pages */
.container {
    max-width: 1200px; /* Ensure consistent max-width */
}

/* Responsive design */
@media screen and (max-width: 800px) {
    .hero-bg {
        height: 200px; /* Reduced from 250px */
    }
    .hero-fg {
        top: 100px; /* Reduced from 150px */
    }
    .hero-fg h1 {
        font-size: 1.5rem;
        padding: 3px;
    }
    .hero-fg h2 {
        font-size: 1.5rem;
        padding: 3px;
    }
}

@media screen and (min-width: 801px) {
    .col-form-label {
        text-align: right;
    }
}

@media (min-width: 1200px) {
    .crx-article .article-body {
        font-size: 1.1em; /* Slightly reduced from 1.2em */
        line-height: 1.6; /* Better line spacing */
    }
}

/* Additional improvements for content readability */
.article-body {
    line-height: 1.6;
    color: #333;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body h2, .article-body h3, .article-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #222;
}
