/* SYNTAX MARGIN CLOCKWISE: top right bottom left; */

/* ---------- Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Body font (default) ---------- */
body {
    font-family: "Times New Roman", Times, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.2;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: lighter;
}

/* ---------- Content wrapper (top = left padding) ---------- */
.content {
    padding: 0 6vw;
}

/* ---------- Headline ---------- */
h1 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: lighter;
    letter-spacing: 0px;
    margin: 80px 0 0px 0;
}

/* ---------- Full-width blue bar (own font) ---------- */
.blue-bar {
    width: 100%;
    background-color: #1a4fd6;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    font-size: clamp(1rem, 2.8vw, 1.3rem);
    font-weight: bolder;
    letter-spacing: 0px;
    padding: 3px 6vw;                          /* left matches content inset */
    margin: 10px 0 10px 0;                       /* space above/below */
}

/* ---------- Paragraphs ---------- */
p {
    margin-bottom: 15px;
}

.email-line {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-top: 3vw;
    margin-bottom: 3vw;
}

/* ---------- Links (own font + hover) ---------- */
a {
    font-family: Helvetica, Arial, sans-serif;   /* different from body */
    font-style: normal;
    font-weight: bolder;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    color: #1a4fd6;
    text-decoration: underline;
    text-decoration-thickness: 0.1em;;
    text-underline-offset: 0.1em;;
    transition: font-style 0.1s ease, font-family 0.1s ease, color 0.1s ease;
}

a:hover {
    font-family: "Times New Roman", serif;
    font-style: italic;
    color: #1a4fd6;
    text-decoration: underline;
    text-decoration-thickness: 0.1em;;
    text-underline-offset: 0.1em;;
}


/* ---------- Italic ---------- */
em {
    font-style: italic;
}

.copyright {
    display: none;
}


/* ---------- MOBILE (phones, narrow windows) ---------- */
@media (max-width: 600px) {

  p br {
        display: none;          /* hide the hard breaks on mobile */
    }

     /* Bigger paragraphs on mobile */
    p span {
        display: block;         /* each line becomes its own row */
        margin-bottom: 0.7em;   /* ← the gap between lines, mobile only */
    }

    body {
        font-size: 2.2rem;
        line-height: 1.0;
    }

    .content {
        padding: 0 0.7vw 0 0.7vw;
    }

    .blue-bar {
        text-align: center;
        font-size: 0.9rem;
        padding: 5px 0 5px 0;
        margin-bottom: 8vw;
    }

    /* h1 fills the page width */
    h1 {
        font-size: 2.2rem;
    }

    .content-main {
        display: flex;
        flex-direction: column;
    }

    .email-line {
        order: 2;
        text-align: center;
        color: #1a4fd6;
        text-decoration: underline;
        text-decoration-thickness: 0.1em;
        text-underline-offset: 0.15em;
        margin-top: 0;
        margin-bottom: 1vw;
    }

    .email-line a {
        font-size: 1.8rem;
        font-weight: bolder;
        text-align: center;
    }

    .content-main p:not(.email-line):not(.copyright) {
        order: 1;
    }

    a {
        font-size: 2.0rem;
        font-weight: bolder;
        text-decoration: none;
    }

    a:hover {
        font-family: Helvetica, Arial, sans-serif;
        font-style: normal;
        color: #1a4fd6;
        text-decoration: none;
    }

    .copyright {
        order: 3;
        display: block;
        text-align: center;
        font-size: 1.1rem;
        font-family: Helvetica, Arial, sans-serif;
        font-weight: bolder;
        color: #1a4fd6;
        margin-top: 2vw;
        margin-bottom: 3vw;
    }
}
