/* kontextmaschine shrine — matching the original Tumblr theme */

/* === GLOBAL === */
body {
    background-color: #2b2b2b;
    font: 12px/20px "Lucida Grande", Arial, sans-serif;
    color: #f2e3c6;
    text-shadow: 1px 1px 2px black;
    margin: 0;
    padding: 0;
}

.clear {
    clear: both;
}

#container {
    width: 770px;
    margin: 40px auto;
    padding: 0 40px 40px 40px;
}

a {
    color: #F11010;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border: 3px solid #000;
    margin: 0 auto 8px auto;
    display: block;
}

blockquote {
    margin: 0;
    padding: 0 0 0 1em;
    border-left: 3px solid #555;
}

blockquote p {
    font: 14px/20px Palatino, Georgia, serif;
    color: #f2e3c6;
}

pre,
code {
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
    font-size: 11px;
    background: #333;
    padding: 2px 4px;
}

pre {
    padding: 1em;
    overflow-x: auto;
}

/* === HEADER === */
#header {
    padding: 10px 0;
    margin-bottom: 20px;
}

#header h1 {
    margin: 10px 0;
    text-align: right;
    text-transform: uppercase;
    font-size: 46px;
    font-weight: bold;
    line-height: 40px;
    letter-spacing: -2px;
    font-family: Helvetica, Arial, sans-serif;
}

#header h1 a {
    text-decoration: none;
    color: #F11010;
}

#header h1 a:hover {
    text-decoration: none;
}

/* === LEFT COLUMN (Nav links, description, search) === */
#meta-column {
    width: 150px;
    float: left;
}

#meta-column ul#navigation {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#meta-column ul#navigation li {
    display: block;
    padding: 0 0 5px 0;
}

#meta-column ul#navigation li a {
    text-decoration: none;
    color: #F11010;
    font-weight: bold;
}

#meta-column .description {
    color: #f2e3c6;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    font-family: Helvetica, Arial, sans-serif;
    margin-top: 15px;
}

/* === SEARCH === */
#meta-column .search {
    margin-top: 15px;
}

#meta-column .search input.term {
    width: 150px;
    padding: 4px 6px;
    font: 12px/20px "Lucida Grande", Arial, sans-serif;
    background: #333;
    border: 1px solid #555;
    color: #f2e3c6;
    outline: none;
}

#meta-column .search input.term:focus {
    border-color: #F11010;
}

#meta-column .search input.term::placeholder {
    color: #8a8070;
}

/* Search results overlay */
#search-results-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px;
}

#search-results-overlay.active {
    display: block;
}

#search-results-container {
    max-width: 600px;
    margin: 0 auto;
}

#search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

#search-results-header h2 {
    margin: 0;
    font: 14px/20px Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    color: #f2e3c6;
}

#search-close {
    color: #F11010;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

#search-status {
    color: #8a8070;
    font-size: 11px;
    margin-bottom: 20px;
}

/* === MAIN CONTENT COLUMN === */
#content-column {
    width: 500px;
    float: right;
}

/* === POST === */
.post {
    border-bottom: none;
    padding-bottom: 30px;
    margin-bottom: 60px;
}

.post a {
    color: #F11010;
    font-weight: bold;
    text-decoration: none;
}

.post .date {
    float: left;
    font: 10px/16px Helvetica, Arial, sans-serif;
    padding: 0;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post .date a {
    color: #F11010;
    text-decoration: none;
}

.post .type {
    float: right;
    font: 10px/16px Helvetica, Arial, sans-serif;
    color: #f2e3c6;
    padding: 0;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post h2 {
    margin: 0px 0 10px 0;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    clear: both;
}

.post h2 a {
    color: #F11010 !important;
    text-decoration: none;
}

.post p {
    margin: 0;
    padding: 0 0 10px 0;
}

.post .post-body {
    clear: both;
}

.post .post-body p {
    margin: 0;
    padding: 0 0 10px 0;
}

/* === TAGS === */
.post p.tags {
    font-style: italic;
    font-size: 11px;
}

.post p.tags a {
    padding: 0 5px 0 0;
    color: #F11010;
}

/* Tag cloud page */
.tag-cloud {
    line-height: 2.5;
}

.tag-item {
    display: inline;
    padding: 0 10px 0 0;
    font-size: 12px;
}

.tag-item .tag-name {
    color: #F11010;
    font-weight: bold;
}

.tag-item .tag-count {
    color: #8a8070;
    font-size: 10px;
    font-weight: normal;
}

/* === POST NAVIGATION (prev/next) === */
.post-nav {
    display: flex;
    justify-content: space-between;
    font: 10px/16px Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    margin-top: 20px;
}

.post-nav a {
    color: #F11010;
}

/* === PAGINATION === */
#pagination {
    font: 12px/14px Helvetica, Arial, sans-serif;
    font-style: italic;
    clear: both;
}

#pagination a {
    text-decoration: none;
    color: #F11010;
    font-weight: bold;
}

#pagination #pages {
    float: left;
}

#pagination #nav-pages {
    float: right;
}

/* === INDEX HEADER === */
.index-header h1 {
    font: 14px/20px Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.index-header h1 small {
    font-weight: normal;
    text-transform: none;
    color: #8a8070;
}

/* === FOOTER === */
#footer {
    clear: both;
    padding-top: 40px;
    text-align: center;
    font-size: 11px;
    color: #8a8070;
}

#footer a {
    color: #F11010;
}

.search-snippet {
    color: #c0b090;
    font-style: italic;
    margin: 0.3em 0;
}

/* === SEARCH PAGE === */
.search-page-container {
    max-width: 100%;
}

.search-page-container #search-input {
    width: 100%;
    padding: 8px 10px;
    font: 12px/20px "Lucida Grande", Arial, sans-serif;
    background: #333;
    border: 1px solid #555;
    color: #f2e3c6;
    outline: none;
    margin-bottom: 10px;
}

.search-page-container #search-input:focus {
    border-color: #F11010;
}

/* === RESPONSIVE === */
@media (max-width: 850px) {
    #container {
        width: auto;
        margin: 20px;
        padding: 0 20px 20px 20px;
    }

    #meta-column {
        width: 100%;
        float: none;
        margin-bottom: 30px;
    }

    #meta-column ul#navigation li {
        display: inline;
        padding-right: 15px;
    }

    #content-column {
        width: 100%;
        float: none;
    }

    #header h1 {
        font-size: 32px;
        line-height: 32px;
        text-align: left;
    }
}
