@charset "UTF-8";

html, body {
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #2E7256;
}
.navbar-custom {
    border: none;
    margin-bottom: 0;
    border-radius: 0;
    height: 102%;
}
.navbar-custom .navbar-nav > li > a {
    color: #fff;
    font-weight: 600;
}
.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: 700;
}
.content-overlay {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 40px 15px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.content-overlay h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    padding-top: 8px;
    /*padding-bottom: 55px;*/
}
.content-overlay p {
    font-size: 1.2em;
    /*max-width: 700px;*/
    max-width: 800px;
    margin: 0 auto 1.5em;
}
.posts-section {
    width: 100%;
    background: #f8f8f8;
    color: #333;
    padding: 40px 15px;
}
.posts-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}
.post {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    height: 100%;
}
.post h3 {
    margin-top: 0;
    font-weight: 600;
}
.post p {
    font-size: 0.95em;
    line-height: 1.4em;
}

.responsive-bg {
    /* Default: Large screen background (lg and up) */
    background-image: url('../images/srr-enter3a.jpg');
    background-size: cover; /* Scales image to cover container */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
}

/* Tablet (md) and smaller: Override background */
@media (max-width: 991.98px) { /* lg breakpoint is 992px, so max-width: 991.98px targets < lg */
    .responsive-bg {
        background-image: url('../images/srr-enter3a.jpg');
    }
}

/* Mobile landscape (sm) and smaller */
@media (max-width: 767.98px) { /* md breakpoint is 768px */
    .responsive-bg {
        background-color: #2E7256; /* Dark green fallback */
        background-image: url('../images/srr-enter3a.jpg');
    }
}

/* Mobile portrait (xs) */
@media (max-width: 575.98px) { /* sm breakpoint is 576px */
    .responsive-bg {
        background-color: #2E7256; /* Dark green fallback */
        background-image: url('../images/srr-enter3a.jpg');
    }
}
/* If the screen size is 500px wide or less */
@media (max-width: 500px) {
    div.shrink {
        font-size: 11px;
    }
}
@media (min-width: 501px) {
    div.shrink {
        font-size: 15px;
    }
}
