/* Header House - A Free Design by Bryant Smith (bryantsmith.com)
   Every colour, border and space on the page is gathered here.
   Look for the section headings below to find what you want to change. */


/* ---- RESET: small tidy-up so every browser starts the same ---- */

* {
    margin: 0;
    padding: 0;
}

body {
    background: #f5f1e8;
    color: #33322e;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.7;
}


/* ---- HEADER: the tall, full-width band across the top ---- */

#header {
    background: #22372f;
    background-image: linear-gradient(160deg, #2c473b 0%, #1a2a24 100%);
    border-bottom: 4px solid #c76b3f;
    color: #f3efe4;
    padding: 80px 0 56px 0;
}

.header-inner {
    margin: 0 auto;
    max-width: 960px;
    padding: 0 32px;
}

.eyebrow {
    color: #d8a97e;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

#header h1 {
    color: #fbf8f0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 58px;
    font-weight: normal;
    letter-spacing: -1px;
    line-height: 1.05;
}

.tagline {
    color: #b9c4bd;
    font-size: 18px;
    margin-top: 16px;
    max-width: 46ch;
}


/* ---- MENU: the row of links under the name ---- */

#menu {
    border-top: 1px solid #3d574d;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 40px;
    padding-top: 24px;
    text-transform: uppercase;
}

#menu a,
#menu a:visited {
    border-bottom: 2px solid transparent;
    color: #e6e1d3;
    margin-right: 28px;
    padding-bottom: 4px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#menu a:hover {
    border-bottom: 2px solid #c76b3f;
    color: #f0b48c;
}


/* ---- WRAP: the centred column that all content sits inside ---- */

.wrap {
    margin: 0 auto;
    max-width: 960px;
    padding: 0 32px;
}


/* ---- LAYOUT: the compact two-column content area ---- */

#content {
    align-items: flex-start;
    display: flex;
    padding-top: 56px;
}

.column {
    flex: 1 1 0;
    min-width: 0;
}

.column-main {
    padding-right: 48px;
}

.column-side {
    border-left: 1px solid #ded7c8;
    padding-left: 48px;
}


/* ---- TEXT: paragraphs, links and headings in the main column ---- */

p {
    margin-bottom: 18px;
}

.lead {
    color: #403e37;
    font-size: 20px;
    line-height: 1.65;
    margin-bottom: 28px;
}

#content a,
#content a:visited {
    border-bottom: 1px solid #e2b89c;
    color: #9c4a24;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#content a:hover {
    border-bottom: 1px solid #6f3418;
    color: #6f3418;
}

h2 {
    border-bottom: 1px solid #e0dacb;
    color: #22372f;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2.5px;
    margin: 40px 0 16px 0;
    padding-bottom: 10px;
    text-transform: uppercase;
}

h2::before {
    background: #c76b3f;
    content: "";
    display: inline-block;
    height: 3px;
    margin-right: 10px;
    vertical-align: middle;
    width: 18px;
}


/* ---- QUOTE: the indented passage with a coloured bar ---- */

blockquote {
    border-left: 3px solid #c76b3f;
    color: #5a574d;
    font-size: 18px;
    font-style: italic;
    margin: 28px 0;
    padding: 4px 0 4px 20px;
}

blockquote p {
    margin: 0;
}


/* ---- ENTRIES: the dated list of writing ---- */

.entries {
    list-style: none;
}

.entries li {
    border-bottom: 1px solid #e6e0d1;
    padding: 12px 0;
}

.entries li:last-child {
    border-bottom: none;
}

.entries .date {
    color: #8f8b7f;
    display: inline-block;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 120px;
}

.entries a {
    font-size: 18px;
}


/* ---- PANELS: the little boxes stacked in the side column ---- */

.panel {
    background: #fffdf8;
    border: 1px solid #e2dccd;
    border-top: 3px solid #22372f;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    margin-bottom: 28px;
    padding: 24px 24px 20px 24px;
}

.panel h3 {
    color: #22372f;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.panel p {
    color: #4b4942;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 12px;
}

.panel p:last-child {
    margin-bottom: 0;
}

.panel ul {
    list-style: none;
}

.panel li {
    border-bottom: 1px dotted #ddd6c6;
    color: #4b4942;
    font-size: 15px;
    padding: 8px 0 8px 18px;
    position: relative;
}

.panel li:last-child {
    border-bottom: none;
}

.panel li::before {
    color: #c76b3f;
    content: "\2022";
    left: 0;
    position: absolute;
}

.panel-contact {
    border-top-color: #c76b3f;
}


/* ---- FOOTER: the required credit link ---- */

#footer {
    border-top: 1px solid #ded7c8;
    color: #8a877c;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 64px;
    padding: 24px 0 40px 0;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    border-bottom: 1px solid #cfc8b8;
    color: #6f6c62;
    text-decoration: none;
}

#footer a:hover {
    border-bottom-color: #9c4a24;
    color: #9c4a24;
}


/* ---- SMALL SCREENS: stack the rooms on phones ---- */

@media (max-width: 640px) {
    #header {
        padding: 48px 0 36px 0;
    }

    .header-inner,
    .wrap {
        padding: 0 20px;
    }

    #header h1 {
        font-size: 38px;
    }

    .tagline {
        font-size: 16px;
    }

    #menu a,
    #menu a:visited {
        display: block;
        margin: 0 0 12px 0;
        padding-bottom: 2px;
    }

    #content {
        display: block;
        padding-top: 36px;
    }

    .column {
        flex: none;
    }

    .column-main {
        padding-right: 0;
    }

    .column-side {
        border-left: none;
        border-top: 1px solid #ded7c8;
        margin-top: 32px;
        padding: 32px 0 0 0;
    }

    .lead {
        font-size: 18px;
    }

    .entries .date {
        display: block;
        width: auto;
    }
}


/* ---- PRINT: a clean sheet, no roof colour ---- */

@media print {
    body {
        background: #ffffff;
    }

    #header {
        background: #ffffff;
        border-bottom: 1px solid #000000;
        color: #000000;
        padding: 0 0 16px 0;
    }

    #header h1 {
        color: #000000;
        font-size: 32px;
    }

    .eyebrow,
    .tagline {
        color: #444444;
    }

    #menu {
        display: none;
    }

    .panel {
        box-shadow: none;
    }

    #footer {
        margin-top: 24px;
    }
}
