body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #1c2a1c;
}

.navbar-command {
    background-color: #2e4a2e;
    border-bottom: 3px solid #556b2f;
}

.navbar {
    padding-top: 4px;
    padding-bottom: 4px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 1px;
}

.navbar-brand img {
    height: 38px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.navbar-title {
    white-space: normal;
}

.public-nav-actions {
    display: flex;
    gap: 8px;
}

.slider-bg {
    height: 95vh;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.slider-one {
    background-image: url("/images/slide1.jpg");
}

.slider-two {
    background-image: url("/images/slide2.jpg");
}

.slider-three {
    background-image: url("/images/slide3.jpg");
}

.slider-overlay {
    background: rgba(15, 25, 15, 0.85);
    height: 100%;
    display: flex;
    align-items: center;
}

.slider-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
}

.slider-sub {
    font-size: 18px;
    opacity: 0.9;
}

.btn-command {
    background-color: #556b2f;
    color: #fff;
    border: none;
}

.btn-command:hover,
.btn-command:focus {
    background-color: #3f5a2a;
    color: #fff;
}

.kenburns {
    animation: kenburnsZoom 14s ease-in-out infinite alternate;
}

@keyframes kenburnsZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.section-light {
    padding: 64px 0;
    background: #f6f8f4;
    color: #213421;
}

.card-command {
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.mission-section {
    padding: 60px 0;
    background-color: #1c2a1c;
    color: #fff;
}

.mission-section p {
    max-width: 800px;
    margin: auto;
    opacity: 0.85;
}

.footer-command {
    background-color: #2e4a2e;
    color: #f5f5f5;
    padding: 20px;
    text-align: center;
}

.public-page-body {
    background: #f4f7f1;
    color: #243024;
}

.managed-page {
    min-height: calc(100vh - 132px);
}

.managed-hero {
    background:
        linear-gradient(120deg, rgba(28, 42, 28, 0.96), rgba(46, 74, 46, 0.92)),
        url("/images/military-bg.jpg") center/cover;
    color: #fff;
    padding: 76px 0 64px;
}

.managed-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.managed-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: #d8c98c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.managed-hero h1 {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0;
}

.managed-hero p {
    max-width: 780px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.7;
}

.managed-hero-mark {
    width: 132px;
    height: 132px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
}

.managed-hero-mark img {
    width: 92px;
    height: auto;
}

.managed-content-section {
    padding: 48px 0 72px;
}

.managed-content {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dfe6d8;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(31, 48, 31, 0.08);
    overflow: hidden;
}

.managed-featured-image {
    margin: 0;
    border-bottom: 1px solid #e5eadf;
    background: #e8eee2;
}

.managed-featured-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.cms-content {
    padding: 44px;
    color: #2f392f;
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.cms-content > *:first-child {
    margin-top: 0;
}

.cms-content > *:last-child {
    margin-bottom: 0;
}

.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6 {
    margin: 1.5em 0 0.65em;
    color: #1f321f;
    font-weight: 800;
    letter-spacing: 0;
}

.cms-content h1 {
    font-size: 34px;
    line-height: 1.25;
    padding-bottom: 14px;
    border-bottom: 2px solid #dfe8d6;
}

.cms-content h2 {
    font-size: 29px;
    position: relative;
    padding-bottom: 10px;
}

.cms-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68px;
    height: 3px;
    border-radius: 999px;
    background: #6f7d3f;
}

.cms-content h3 {
    font-size: 24px;
}

.cms-content h4 {
    font-size: 21px;
}

.cms-content h5,
.cms-content h6 {
    font-size: 18px;
}

.cms-content h1:first-child,
.cms-content h2:first-child,
.cms-content h3:first-child,
.cms-content h4:first-child {
    margin-top: 0;
}

.cms-content p,
.cms-content ul,
.cms-content ol,
.cms-content table,
.cms-content blockquote,
.cms-content figure {
    margin-bottom: 1.2rem;
}

.cms-content section,
.cms-content article {
    margin-bottom: 2rem;
    padding: 28px;
    border: 1px solid #e1e9d9;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
}

.cms-content section:last-child,
.cms-content article:last-child {
    margin-bottom: 0;
}

.cms-content section > *:first-child,
.cms-content article > *:first-child {
    margin-top: 0;
}

.cms-content section > *:last-child,
.cms-content article > *:last-child {
    margin-bottom: 0;
}

.cms-content a {
    color: #315f2d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cms-content ul,
.cms-content ol {
    padding-left: 1.35rem;
}

.cms-content li + li {
    margin-top: 0.35rem;
}

.cms-content ul li::marker {
    color: #6f7d3f;
}

.cms-content ol li::marker {
    color: #315f2d;
    font-weight: 800;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cms-content table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.cms-content th,
.cms-content td {
    border: 1px solid #dce4d5;
    padding: 12px 14px;
    vertical-align: top;
}

.cms-content th {
    background: #eef4e9;
    color: #223622;
}

.cms-content blockquote {
    border-left: 4px solid #6f7d3f;
    padding: 14px 18px;
    background: #f7f9f3;
    color: #3d493d;
}

.cms-content pre {
    padding: 16px;
    overflow-x: auto;
    border-radius: 8px;
    background: #1f2d1f;
    color: #f4f8f2;
}

.cms-content code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #eef4e9;
    color: #243024;
}

.cms-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.cms-content .text-left,
.cms-content .ql-align-left,
.cms-content .ck-align-left {
    text-align: left;
}

.cms-content .text-center,
.cms-content .ql-align-center,
.cms-content .ck-align-center {
    text-align: center;
}

.cms-content .text-right,
.cms-content .ql-align-right,
.cms-content .ck-align-right {
    text-align: right;
}

.cms-content .text-justify,
.cms-content .ql-align-justify,
.cms-content .ck-align-justify {
    text-align: justify;
}

.cms-empty-state {
    padding: 56px 44px;
    text-align: center;
}

.cms-empty-state i {
    color: #6f7d3f;
    font-size: 34px;
    margin-bottom: 16px;
}

.cms-empty-state h2 {
    color: #1f321f;
    font-size: 26px;
    font-weight: 800;
}

.cms-empty-state p {
    max-width: 560px;
    margin: 12px auto 0;
    color: #627062;
}

.public-contact-panel {
    max-width: 1040px;
    margin: 28px auto 0;
    padding: 34px;
    border: 1px solid #dfe6d8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(31, 48, 31, 0.08);
}

.public-contact-intro {
    margin-bottom: 26px;
}

.public-contact-intro span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #6f7d3f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.public-contact-intro h2 {
    margin: 0;
    color: #1f321f;
    font-size: 30px;
    font-weight: 800;
}

.public-contact-intro p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #627062;
}

.public-contact-form label {
    color: #293829;
    font-weight: 800;
}

.public-contact-form .form-control {
    min-height: 46px;
    border-color: #d8e2d0;
    border-radius: 8px;
}

.public-contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.public-contact-form .form-control:focus {
    border-color: #6f7d3f;
    box-shadow: 0 0 0 0.2rem rgba(111, 125, 63, 0.18);
}

.public-contact-actions {
    display: flex;
    justify-content: flex-end;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (max-width: 991.98px) {
    .navbar-title {
        font-size: 15px;
        max-width: calc(100% - 72px);
    }

    .public-nav-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 12px;
    }

    .slider-bg {
        height: auto;
        min-height: 680px;
    }

    .slider-title {
        font-size: 34px;
    }

    .managed-hero-grid {
        grid-template-columns: 1fr;
    }

    .managed-hero-mark {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 34px;
    }

    .slider-title {
        font-size: 28px;
    }

    .slider-sub,
    .managed-hero p {
        font-size: 16px;
    }

    .managed-hero {
        padding: 52px 0 44px;
    }

    .managed-hero h1 {
        font-size: 34px;
    }

    .managed-content-section {
        padding: 28px 0 48px;
    }

    .cms-content,
    .cms-empty-state {
        padding: 28px 20px;
    }

    .cms-content section,
    .cms-content article {
        padding: 20px;
    }

    .cms-content h1 {
        font-size: 28px;
    }

    .cms-content h2 {
        font-size: 24px;
    }

    .cms-content h3 {
        font-size: 21px;
    }

    .cms-content table {
        white-space: normal;
    }

    .public-contact-panel {
        padding: 24px 20px;
    }

    .public-contact-actions {
        justify-content: stretch;
    }

    .public-contact-actions .btn {
        width: 100%;
    }
}
