/* Custom styles for the blog (blog.html and the posts in blog/) */

/* Shared: date and author line */
.blog-meta {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #646569;
    margin-bottom: 0.5rem;
}

.blog-meta-sep {
    color: #c5050c;
    padding: 0 0.25rem;
}

/* Blog index: list of posts */
.blog-list {
    max-width: 46rem;
    padding-bottom: 3rem;
}

.blog-list-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid #e4e4e4;
}

.blog-list-item:first-child {
    padding-top: 0.5rem;
}

.blog-list-item:last-child {
    border-bottom: none;
}

.blog-list-title {
    font-size: 1.5rem;
    line-height: 1.25;
    text-transform: none;
    margin: 0 0 0.75rem 0;
}

.blog-list-title a {
    color: #282728;
}

.blog-list-title a:hover,
.blog-list-title a:focus {
    color: #c5050c;
}

.blog-list-item > :last-child {
    margin-bottom: 0;
}

/* A single post */
.blog-back {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #c5050c;
}

.blog-back:hover,
.blog-back:focus {
    text-decoration: underline;
}

.blog-post .uw-row-page-title {
    padding-bottom: 0.5rem;
}

.blog-post-title {
    font-size: 2rem;
    line-height: 1.2;
    text-transform: none;
    max-width: 46rem;
    margin-bottom: 0.75rem;
}

.blog-post-body {
    max-width: 46rem;
    padding-bottom: 4rem;
}

.blog-post-body p,
.blog-post-body li {
    font-size: 1.125rem;
    line-height: 1.625;
}

.blog-post-body p {
    margin-bottom: 1.25rem;
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    color: #282728;
    text-transform: none;
    line-height: 1.3;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.blog-post-body h1 {
    font-size: 1.625rem;
}

.blog-post-body h2 {
    font-size: 1.375rem;
}

.blog-post-body h3 {
    font-size: 1.175rem;
}

.blog-post-body h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

.blog-post-body > :first-child {
    margin-top: 0;
}

.blog-post-body a {
    border-bottom: 1px solid currentColor;
}

.blog-post-body a:hover,
.blog-post-body a:focus {
    color: #c5050c;
}

.blog-post-body strong,
.blog-post-body b {
    font-weight: 700;
}

.blog-post-body em,
.blog-post-body i {
    font-style: italic;
}

.blog-post-body u,
.blog-post-body ins {
    background: none;
    text-decoration: underline;
}

.blog-post-body s,
.blog-post-body del {
    text-decoration: line-through;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0 0 1.25rem 1.5rem;
}

.blog-post-body li {
    margin-bottom: 0.4rem;
}

.blog-post-body li > ul,
.blog-post-body li > ol {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.blog-post-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 6px;
}

.blog-post-body a img {
    border-bottom: none;
}

.blog-post-body hr {
    border: 0;
    border-top: 1px solid #e4e4e4;
    margin: 2.5rem 0;
}

.blog-post-body pre {
    overflow-x: auto;
}
