:root {
    font-family: Arial, Helvetica, sans-serif;
    color: #1c2c3e;
    background: #f1f3f5;
    font-synthesis: none;

    --brand-logo-image: url('/templates/ads-ertner/img/ads-ertner_logo.png');
    --brand-logo-width: 400px;
    --brand-logo-height: 100px;

    --footer-background-color: rgba(223,99,56, 1.0);
    --footer-background-image: linear-gradient(rgba(223,99,56,0.8), rgba(223,99,56,0.8)),  url('/templates/ads-ertner/img/ads-ertner_footer_bg.png');
    --footer-min-height: 0px;

    --engineering-navy: #173550;
    --engineering-blue: #245a7b;
    --engineering-orange: #df6338;
    --engineering-line: #d8dee4;
}

* {
    box-sizing: border-box;
}


body {
    margin: 0;
    min-height: 100vh;
    background: #f1f3f5;
}

.site-header {
    min-height: 76px;
	  
    padding: 16px max(calc((100vw - 1120px) / 2), 24px); 
	  padding-top: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border-top: 4px solid var(--engineering-orange);
    border-bottom: 1px solid var(--engineering-line);
}

.brand {
    color: var(--engineering-navy);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

.site-header nav {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.site-header nav a,
.link-button {
    color: var(--engineering-navy);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .045em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
    color: var(--engineering-orange);
}

.site-header nav span {
    color: #617080;
    font-size: .9rem;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 42px auto 76px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 44px;
    color: #fff;
    background-color: var(--engineering-navy);
    background-image:
        linear-gradient(90deg, transparent 49.8%, #ffffff0c 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, #ffffff0c 50%, transparent 50.2%),
        linear-gradient(120deg, #173550, #245a7b);
    background-size: 44px 44px, 44px 44px, auto;
    border-left: 6px solid var(--engineering-orange);
}

.hero h1 {
    max-width: 760px;
    margin: 10px auto 16px;
    color: #fff;
    font-size: clamp(2.25rem, 6vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero p {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    color: #d7e1e9;
    line-height: 1.65;
}

.eyebrow {
    color: #ff9a72 !important;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 12px 19px;
    border: 2px solid var(--engineering-orange);
    border-radius: 2px;
    background: var(--engineering-orange);
    color: #fff;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.button:hover,
.button:focus-visible {
    border-color: #bd4924;
    background: #bd4924;
}

.button.secondary {
    border-color: #cbd6df;
    background: #fff;
    color: var(--engineering-navy);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    border-color: var(--engineering-blue);
    background: #edf3f6;
}

.card {
    margin: 22px 0;
    padding: 26px;
    border: 1px solid var(--engineering-line);
    border-top: 3px solid var(--engineering-navy);
    background: #fff;
    box-shadow: 0 8px 22px #1735500a;
}

.card h1,
.card h2,
.card h3 {
    margin-top: 0;
    color: var(--engineering-navy);
}

.card form {
    display: grid;
    gap: 16px;
}

.narrow {
    max-width: 540px;
    margin: 42px auto;
}

label {
    display: grid;
    gap: 7px;
    color: #263a4d;
    font-weight: 700;
}

input,
select {
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #bdc9d3;
    border-radius: 2px;
    background: #fff;
    color: #1c2c3e;
    font: inherit;
}

input:focus,
select:focus {
    border-color: var(--engineering-blue);
    outline: 3px solid #245a7b2b;
}

small {
    color: #647487;
    font-weight: 400;
}

.notice {
    padding: 14px 17px;
    border-left: 4px solid #2d815d;
    background: #e8f3ed;
    color: #205a41;
    overflow-wrap: anywhere;
}

.inline {
    display: inline;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.filters,
.stats,
.section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.filters {
    margin: 20px 0;
}

.stats {
    margin: 20px 0;
}

.stats div {
    min-width: 130px;
    flex: 1;
    padding: 19px;
    border-bottom: 3px solid var(--engineering-orange);
    background: #fff;
}

.stats strong,
.stats span {
    display: block;
}

.stats strong {
    color: var(--engineering-navy);
    font-size: 1.55rem;
}

.stats span {
    margin-top: 4px;
    color: #657688;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid #e1e6ea;
    white-space: nowrap;
}

thead th {
    background: #edf1f4;
    color: var(--engineering-navy);
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.danger {
    padding: 8px 11px;
    border: 0;
    border-radius: 2px;
    background: #ad3933;
    color: #fff;
    cursor: pointer;
}

footer {
    padding: 26px;
    border-top: 1px solid var(--engineering-line);
    background: #fff;
    color: #6b7885;
    text-align: center;
}

@media (max-width: 600px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .site-header nav {
        gap: 13px;
    }

    .container {
        width: calc(100% - 24px);
        margin-top: 22px;
    }

    .hero {
        padding: 54px 18px;
    }

    .card {
        padding: 20px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
