/*
Theme Name: Beautiful Programming
Theme URI: https://beautifulprogramming.com/
Author: wp-pilot
Description: Restored blankslate look for beautifulprogramming.com.
Version: 1.0.0
*/
.latest-posts-box {
    clear: both;
    margin: 2em auto;
    max-width: 640px;
    padding: 1em 1.25em;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    text-align: left;
}
.latest-posts-box ul {
    margin: 0.75em 0;
    padding-left: 1.25em;
    list-style: disc;
}
.latest-posts-box li {
    margin: 0.35em 0;
}
.latest-posts-more {
    margin: 0.5em 0 0;
}
.blog-meta {
    margin: 0.5em 0 1em;
    font-size: 0.9em;
    color: #666;
}
.blog-index .blog-list-item {
    margin-bottom: 2em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid #e2e2e2;
}
.blog-index .blog-list-item .entry-title {
    margin-bottom: 0.25em;
}

/* Blog article typography (scoped — sketch posts keep gallery/canvas styles) */
article.blog-article .entry-content {
    color: #4C422F;
    font-family: CaslonRegular, Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
}

article.blog-article .entry-content p {
    margin-bottom: 1.25em;
    text-align: justify;
}

article.blog-article .entry-content h2 {
    font-family: DidotItalic, Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: normal;
    color: #4C422F;
    margin: 2em 0 0.75em;
    line-height: 1.25;
}

article.blog-article .entry-content h3 {
    font-family: DidotItalic, Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: normal;
    color: #4C422F;
    margin: 1.5em 0 0.5em;
    line-height: 1.3;
}

article.blog-article .entry-content a {
    color: #4C422F;
    text-decoration: underline;
}

article.blog-article .entry-content a:hover {
    color: #282215;
}

article.blog-article .entry-content strong {
    font-weight: bold;
}

article.blog-article .entry-content .wp-block-image,
article.blog-article .entry-content figure.wp-block-image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.5em 0 2em;
}

article.blog-article .entry-content .wp-block-image img,
article.blog-article .entry-content figure.wp-block-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border: 10px solid #EEE8DF;
    box-sizing: border-box;
}

article.blog-article .entry-content p > .wp-block-image,
article.blog-article .entry-content p > figure.wp-block-image {
    margin: 0;
}

article.blog-article .entry-content ul,
article.blog-article .entry-content ol {
    list-style-position: outside;
    margin: 0 0 1.25em 1.75em;
    padding: 0;
}

article.blog-article .entry-content ul {
    list-style-type: disc;
}

article.blog-article .entry-content ol {
    list-style-type: decimal;
}

article.blog-article .entry-content li {
    margin-bottom: 0.65em;
    line-height: 1.65;
    padding-left: 0.35em;
}

article.blog-article .entry-content .table-responsive {
    width: 100%;
    margin: 1.25em 0 1.75em;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

article.blog-article .entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: #FBF8F3;
    margin-bottom: 0;
}

article.blog-article .entry-content table th,
article.blog-article .entry-content table td {
    border: 1px solid #B5B1A9;
    padding: 10px 14px;
    vertical-align: top;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
    color: #4C422F;
}

article.blog-article .entry-content table thead th {
    background: #4C422F;
    color: #FBF8F3;
    font-family: DidotItalic, Georgia, serif;
    font-size: 16px;
    font-weight: normal;
    border-color: #4C422F;
    white-space: nowrap;
}

article.blog-article .entry-content table tbody tr:nth-child(even) {
    background: #F5F1EA;
}

article.blog-article .entry-content table tbody tr:hover {
    background: #EEE8DF;
}

article.blog-article .entry-content table tbody td:first-child {
    font-weight: bold;
    min-width: 120px;
}

article.blog-article .entry-content h2 + p strong:first-child {
    font-family: DidotItalic, Georgia, serif;
    font-size: 17px;
}
