    /* ---------- Banner font ---------- */
    @font-face {
        font-family: "Raleway";
        src: url("/includes/Raleway-Thin.woff2") format("woff2");
        font-weight: 400;
        font-style: normal;
        font-display: swap;
    }

    *, *::before, *::after { box-sizing: border-box; }

    /* ---------- Page background ---------- */
    body {
        margin: 0;
        background: #1a1a1a;                 /* shown on small screens and while loading */
        font-family: Georgia, "Times New Roman", serif;
        line-height: 1.6;
        color: #222;
    }

    /* Only load the background photo when the sides are actually visible */
    @media (min-width: 1201px) {
        body {
        background: #1a1a1a url("/images/Background.jpg") center / cover no-repeat fixed;
        }
    }

    /* ---------- Center canvas ---------- */
    .page {
        max-width: 1200px;
        min-height: 100vh;
        margin: 0 auto;
        background: #fff;
        display: flex;
        flex-direction: column;
    }

    /* ---------- Banner ---------- */
    .banner {
        position: relative;
        aspect-ratio: 4 / 1;                 /* same shape as the 2400 x 600 design */
        min-height: 140px;
        display: flex;
        align-items: center;
        padding: 0 clamp(1rem, 4vw, 2.5rem);
        background: #000;
        color: #fff;
        overflow: hidden;
    }

    /* Photo pinned to the right, fading in from black */
    .banner::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        aspect-ratio: 3 / 2;                 /* 900 x 600 photo */
        background:
        linear-gradient(to right, #000 0%, transparent 22%),
        url("/images/BannerBrake.jpg") center / cover no-repeat;
    }

    .banner h1 {
        position: relative;
        z-index: 1;                          /* keeps the name above the photo */
        margin: 0;
        font-family: "Raleway", Arial, sans-serif;
        font-weight: 400;                    /* matches the Regular file */
        font-size: clamp(2rem, 7vw, 5rem);
        line-height: 1.1;
    }

    /* ---------- Nav ---------- */
    .nav {
        display: flex;
        flex-wrap: wrap;                 /* links wrap on narrow screens */
        background: #1c1c1c;
    }
    .nav a {
        padding: .75rem 1.25rem;
        color: #fff;
        text-decoration: none;
    }
    .nav a:hover,.nav a[aria-current="page"] {      /* highlight the current section */
        background: #444;
    }

    /* ---------- Content ---------- */
    .content {
        flex: 1; 
        padding: clamp(1rem, 4vw, 2.5rem);
    }

    .content p {
        max-width: none;                     /* comfortable line length */
    }

    .content img {
        max-width: 100%;
        height: auto;
    }

    /* ---------- Phones ---------- */
    @media (max-width: 600px) {
        .banner::after { opacity: .4; }      /* dim the photo so the name stays readable */
    }

 /* ---------- Post list and post page: add to the end of style.css ---------- */
 
/* List of post titles on a section page */
    .post-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .post-list li {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
        padding: .5rem 0;
        border-top: 1px solid #ddd;
    }
    
    .post-date {
        color: #666;
        font-size: .9rem;
        white-space: nowrap;
    }
    
    /* Single post page */
    .post::after {              /* keeps the article as tall as the floated thumbnail */
        content: "";
        display: block;
        clear: both;
    }
    
    .post h2 {
        margin: 0;
    }

    .post p {
        max-width: none;        /* let the text run up to the thumbnail and wrap under it */
    }
    
    .post-meta {
        margin: .25rem 0 1rem;
        color: #666;
        font-size: .9rem;
    }
    
    .post-thumb {               /* thumbnail in the top right, text wraps around it */
        float: right;
        width: 300px;
        max-width: 40%;
        margin: 0 0 1rem 1.5rem;
    }
    
    .post-thumb img {
        display: block;
        width: 100%;
        height: auto;
    }
    
    .post-back {
        margin-top: 2rem;
    }
    
    /* Phones: thumbnail goes full width above the text */
    @media (max-width: 600px) {
    .post-thumb {
        float: none;
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 0 1rem;
    }
    }

    .footer {
        padding: .75rem 1rem;
        text-align: center;
        font-size: 12px;
        font-style: italic;
        color: #666;
    }

    /* ---------- Contact form ---------- */
    .contact { max-width: 560px; margin-top: 2.5rem; }
    .contact label { display: block; margin-bottom: 1rem; }
    .contact input, .contact textarea {
        display: block;
        width: 100%;
        margin-top: .25rem;
        padding: .5rem;
        border: 1px solid #aaa;
        font: inherit;
    }
    .contact button {
        padding: .6rem 1.5rem;
        border: 0;
        background: #1c1c1c;
        color: #fff;
        font: inherit;
        cursor: pointer;
    }
    .contact button:hover { background: #444; }
    .contact-extra { position: absolute; left: -9999px; }   /* hidden trap field for bots */
    .contact-ok    { padding: .6rem .9rem; background: #e3f3e3; border: 1px solid #9cc99c; }
    .contact-error { padding: .6rem .9rem; background: #fbe4e4; border: 1px solid #dba0a0; }
