/* Basic reset */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    background: #f5f5f5;
    color: #000;
    font-family: "Times New Roman", Times, serif;
}

/* Main document/page */
.page {
    width: 96%;
    max-width: 816px;
    min-height: 1056px;
    margin: 30px auto;
    padding: 96px;
    background: #fff;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.8);
    font-size: 10pt;
    line-height: 1.35;
}

/* Navigation */
.site-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 18px;
    border: 1px solid #000;
}

.site-nav a {
    padding: 7px 10px;
    border-left: 1px solid #000;
    color: #993300;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    text-decoration: none;
}

.site-nav a:first-child {
    border-left: 0;
}

.site-nav a:hover,
.site-nav a:focus {
    text-decoration: underline;
}

/* Header */
.profile-header {
    margin-bottom: 18px;
}

.profile-header h1 {
    margin: 0;
    font-size: 14pt;
    font-weight: bold;
}

/* Contact information */
.contact-card {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    margin-bottom: 18px;
    border: 1px solid #000;
}

.contact-details,
.contact-information {
    padding: 8px 10px;
}

.contact-information {
    border-left: 1px solid #000;
    font-style: normal;
}

.contact-details p,
.contact-information {
    margin: 0;
}

.contact-details a {
    color: #551a8b;
    text-decoration: underline;
}

/* Sections */
.content-section {
    margin-top: 18px;
}

.content-section h2 {
    margin: 0 0 8px;
    color: #800000;
    font-size: 10pt;
    font-style: italic;
}

.content-section h2 span {
    font-weight: normal;
}

.news-item {
    margin: 0 0 8px;
}

.news-item h3 {
    display: inline;
    margin: 0;
    font-size: 10pt;
    font-weight: bold;
}

.news-item h3::after {
    content: " ";
}

.news-item p {
    display: inline;
    margin: 0;
}

.news-item p + p {
    display: block;
    margin-top: 6px;
}

/* Lists */
ul {
    margin: 4px 0 8px 22px;
    padding: 0;
}

.plain-list {
    list-style: none;
    margin-left: 0;
}

.plain-list li {
    margin: 2px 0;
}

.indented-list {
    margin-left: 36px;
}

li {
    margin-bottom: 5px;
}

/* Links */
a {
    color: #0000ee;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

a:visited {
    color: #551a8b;
}

/* Quotation */
blockquote {
    margin: 8px 0 8px 36px;
    color: #404040;
    font-style: italic;
}

/* Responsive layout */
@media (max-width: 700px) {
    .page {
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 30px 20px;
    }

    .site-nav {
        grid-template-columns: 1fr;
    }

    .site-nav a {
        border-top: 1px solid #000;
        border-left: 0;
    }

    .site-nav a:first-child {
        border-top: 0;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-information {
        border-top: 1px solid #000;
        border-left: 0;
    }
}