/*
Theme: Journalist (Ghost port)
Original by Lucian E. Marin
White, two columns, fixed width, minimal.
*/

body {
    background: #fff;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #222;
    padding: 0;
    margin: 0;
    line-height: 1.5;
}

* { padding: 0; margin: 0; }

a { color: #047; text-decoration: underline; }
a:hover { color: #c00; }

img { max-width: 100%; height: auto; display: block; }

/* --- Container --- */
#container {
    width: 911px;
    margin: 0 auto;
    position: relative;
}

/* --- Header --- */
#site-title {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: -1px;
    width: 600px;
    padding: 32px 0 25px 0;
}
#site-title a { color: #222; text-decoration: none; }
#site-title a:hover { color: #c00; }

/* --- Content --- */
#content {
    float: left;
    width: 700px;
}

/* --- Posts --- */
.post { margin-bottom: 10px; }

.post-title {
    font-size: 20px;
    margin: 5px 0 7px 0;
    font-weight: bold;
}
.post-title a { color: #222; text-decoration: none; }
.post-title a:hover { color: #c00; }

.post-date {
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #bbb;
    font-size: 11px;
}

.post-content { margin-bottom: 15px; }
.post-content p { line-height: 18px; margin: 0 0 15px 0; }
.post-content a { color: #047; }
.post-content a:hover { color: #c00; }
.post-content img {
    padding: 2px;
    border: 2px solid #ddd;
    margin: 0 0 15px 0;
}
.post-content a img { border-color: #0085b5; }
.post-content a:hover img { border-color: #ca0002; }
.post-content h2 { font-size: 18px; margin: 15px 0 7px; }
.post-content h3 { font-size: 16px; margin: 15px 0 7px; }
.post-content ul, .post-content ol { line-height: 18px; margin: 0 0 15px 30px; }
.post-content li { margin: 0 0 5px 0; }
.post-content blockquote {
    border-left: 3px solid #ddd;
    padding: 5px 15px;
    margin: 0 0 15px 0;
    color: #555;
    font-style: italic;
}
.post-content hr { border: none; border-top: 1px solid #bbb; margin: 20px 0; }
.post-content pre {
    background: #f6f6f6;
    padding: 10px;
    overflow-x: auto;
    font-size: 12px;
    margin: 0 0 15px 0;
    border: 1px solid #ddd;
}
.post-content code { font-size: 12px; background: #f6f6f6; padding: 1px 4px; }
.post-content pre code { background: none; padding: 0; }

/* Post featured image */
.post-featured-image { margin-bottom: 15px; }
.post-featured-image img {
    padding: 2px;
    border: 2px solid #ddd;
}
.post-featured-image figcaption {
    font-size: 11px;
    color: #555;
    font-style: italic;
    margin-top: 5px;
}

/* --- Post Meta (bottom of each post) --- */
.post-meta {
    background: #f3f3f3;
    font-size: 11px;
    line-height: 15px;
    color: #333;
    padding: 5px 10px;
    margin: 0 0 30px 0;
    border-top: 1px solid #bbb;
    overflow: hidden;
}
.post-author {
    float: left;
    padding: 0 15px 0 0;
    border-right: 1px solid #bbb;
    width: 200px;
}
.post-tags {
    float: left;
    padding: 0 0 0 15px;
    width: 440px;
}
.post-tags a { color: #047; }
.post-tags a:hover { color: #c00; }

/* --- Navigation / Pagination --- */
.navigation {
    background: #f9f9f9;
    font-size: 11px;
    padding: 5px 10px;
    margin: 0 0 20px 0;
    border-top: 1px solid #bbb;
    overflow: hidden;
}
.navigation a { color: #555; font-weight: bold; text-decoration: none; }
.navigation a:hover { color: #333; }
.navigation .page-number { color: #999; font-weight: normal; }
.navigation .older-posts { float: right; }
.navigation .newer-posts { float: left; }

/* --- Sidebar --- */
#sidebar {
    font-size: 12px;
    float: right;
    width: 180px;
    border-left: 1px solid #999;
    padding: 0 0 20px 15px;
    margin: 0 0 20px 0;
}
.sidebar-block { margin-bottom: 20px; }
.sidebar-block h3 {
    font-size: 14px;
    margin: 20px 0 5px 0;
}
.sidebar-block:first-child h3 { margin-top: 0; }
.sidebar-block p {
    line-height: 16px;
    margin: 5px 0;
}
.sidebar-block ul { list-style: none; }
.sidebar-block ul li { padding: 0 0 5px 0; }
.sidebar-block ul li a { color: #047; }
.sidebar-block ul li a:hover { color: #c00; }
.sidebar-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    border: 2px solid #ddd;
}

/* --- Archive Header --- */
.archive-header { margin-bottom: 15px; }
.archive-title { font-size: 22px; font-weight: normal; color: #1c1c1c; margin: 5px 0 5px 0; }
.archive-description { font-size: 12px; color: #555; }

/* --- Related Posts --- */
.related-posts { margin: 0 0 30px 0; }
.related-posts h3 { font-size: 14px; margin: 0 0 10px 0; }
.related-posts ul { list-style: none; }
.related-posts ul li { padding: 0 0 5px 0; }
.related-posts ul li a { color: #047; }
.related-posts ul li a:hover { color: #c00; }

/* --- Footer --- */
#footer {
    clear: both;
    font-size: 11px;
    color: #555;
    padding: 20px 0 40px 0;
    border-top: 1px solid #bbb;
    text-align: center;
}
#footer a { color: #047; }
#footer a:hover { color: #c00; }

/* --- Error Page --- */
.error-page { padding: 40px 0; text-align: center; }
.error-code { font-size: 48px; color: #c00; margin-bottom: 10px; }
.error-page p { font-size: 13px; color: #555; margin-bottom: 10px; }

/* --- Utility --- */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* --- Responsive --- */
@media (max-width: 940px) {
    #container { width: auto; padding: 0 20px; }
    #content { float: none; width: auto; }
    #sidebar {
        float: none;
        width: auto;
        border-left: none;
        border-top: 1px solid #999;
        padding: 15px 0 20px 0;
        margin: 20px 0;
    }
    #site-title { width: auto; }
}
