* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px;
    font-family: Arial, Calibri, "Times New Roman", sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #111111;
    background: #ffffff;
}

main {
    max-width: 820px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 14px;
}

h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
}

.contact {
    font-size: 13px;
}

.contact-line {
    margin: 0;
}

section {
    margin-top: 12px;
}

h2 {
    margin: 0 0 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid #00000051;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.flex-row h3 {
    flex: 1;
}

p {
    margin: 0;
}

.cert-title {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.entry {
    margin-bottom: 10px;
    page-break-inside: avoid;
    break-inside: avoid;
}

.meta {
    margin: 2px 0 4px;
    color: #222222;
    text-align: right;
    font-size: 13px;
    white-space: nowrap;
}

.flex-row .meta {
    margin: 0;
}

.subline {
    margin: 0 0 4px;
    text-align: left;
}

.emphasis {
    font-weight: 700;
}

ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

li {
    margin: 2px 0;
}

a {
    color: #111111;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@page {
    size: A4;
    margin: 12mm;
}

@media print {
    body {
        margin: 0;
        padding: 0;
        font-size: 11pt;
        line-height: 1.35;
    }

    main {
        max-width: none;
        margin: 0;
    }

    header,
    section,
    .entry {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}