/* ============================================================
   robcee.net BlogClaw theme — adapted from the "simpli" WordPress theme
   Fonts: Libre Franklin (headings/UI), Noto Serif (body)
   ============================================================ */

/* ---- Base typography ---- */
body {
    background-color: #ffffff;
    font-family: "Noto Serif", serif;
    color: #303030;
    font-size: 18px;
    line-height: 1.666;
}
@media only screen and (max-width: 767px) {
    body { font-size: 16px; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Franklin", sans-serif;
    color: #303030;
    font-weight: 700;
    line-height: 1.1;
}
h1 { font-size: 50px; }
h2 { font-size: 31px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 13px; }

p {
    margin: 0 0 1em 0;
    color: #303030;
}

a, a:visited, a:focus {
    text-decoration: underline;
    color: #3030A0;
    font-weight: bold;
}
a:hover {
    background-color: #FF0;
}

blockquote {
    font-style: italic;
    margin: 45px 0 36px 35px;
}
blockquote p:first-child {
    position: relative;
}
blockquote p:first-child::before {
    content: open-quote;
    position: absolute;
    left: -12px;
    top: -5px;
}
blockquote p:first-child::after {
    content: close-quote;
    margin-left: 4px;
}
blockquote p { margin-bottom: 5px; }

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code, kbd, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 0.9375rem;
}

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

/* ---- Layout ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Content wrapper: centered, no sidebar */
.content-wrapper {
    max-width: 816px;
    margin: 0 auto;
    padding: 0 68px;
}
@media only screen and (max-width: 991px) {
    .content-wrapper { padding: 0 15px; }
}
@media only screen and (max-width: 767px) {
    .content-wrapper { padding: 0; }
}

.site-main { overflow: hidden; }
.fix { overflow: hidden; }

/* ---- Header / Nav ---- */
.site-header-bg {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin-bottom: 50px;
}
.site-header-bg h2.site-title,
.site-header-bg h2.site-title a {
    color: #ffffff;
    font-size: 36px;
}
.site-header-bg h3.site-description {
    display: none;
}

.header-container {
    padding: 68px 68px 100px;
}
@media only screen and (max-width: 991px) {
    .header-container { padding: 68px 15px 100px; }
}
@media only screen and (max-width: 767px) {
    .header-container { padding: 68px 15px 0; }
}

.site-title a {
    border: none;
    text-decoration: none;
}
.site-title a:hover {
    background-color: transparent;
}

/* ---- Top nav bar ---- */
.site-nav {
    background: rgba(0, 0, 0, 0.45);
    padding: 0 68px;
}
@media only screen and (max-width: 991px) {
    .site-nav { padding: 0 15px; }
}

.site-nav .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.site-nav .nav-menu li a {
    display: block;
    font-family: "Libre Franklin", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 10px 14px;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}
.site-nav .nav-menu li a:hover {
    background: #4A90E2;
    color: #fff;
}

/* ---- Index: post cards ---- */
.site-main .simpli-blog .normal-post {
    margin-bottom: 50px;
}

.site-main .simpli-blog .normal-post h3.entry-title {
    margin: 0;
}
.site-main .simpli-blog .normal-post h3.entry-title a {
    font-size: 41px;
    border-bottom: none;
    text-decoration: none;
}
@media only screen and (max-width: 767px) {
    .site-main .simpli-blog .normal-post h3.entry-title a { font-size: 21px; }
}
.site-main .simpli-blog .normal-post h3.entry-title a:hover {
    background: #4A90E2;
    color: #ffffff;
}

.site-main .simpli-blog .normal-post ul.post-meta {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-main .simpli-blog .normal-post ul.post-meta li {
    display: inline-block;
    margin-right: 15px;
    position: relative;
}
.site-main .simpli-blog .normal-post ul.post-meta li a,
.site-main .simpli-blog .normal-post ul.post-meta li span,
.site-main .simpli-blog .normal-post ul.post-meta li time {
    border: none;
    font-family: "Libre Franklin", sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: capitalize;
    color: #8F8F8F;
    letter-spacing: 0;
    line-height: 22px;
    margin-bottom: 0;
    display: inline-block;
    text-decoration: none;
}
.site-main .simpli-blog .normal-post ul.post-meta li a:hover {
    color: #303030;
    background-color: transparent;
}
.site-main .simpli-blog .normal-post ul.post-meta li::after {
    position: absolute;
    content: "|";
    right: -15px;
    top: 0;
    color: #8F8F8F;
}
.site-main .simpli-blog .normal-post ul.post-meta li:last-child::after {
    display: none;
}

.site-main .simpli-blog .normal-post .entry-summary {
    margin-top: 10px;
}

.site-main .simpli-blog .normal-post .entry-footer a {
    border-bottom: 3px solid #cbe4ff;
    font-weight: 400;
    text-decoration: none;
}
.site-main .simpli-blog .normal-post .entry-footer a:hover {
    background: #4A90E2;
    color: #ffffff;
}

/* Post hero image in cards */
.post-card-hero {
    margin: 20px 0;
}
.post-card-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Pagination ---- */
.site-main .simpli-blog .posts-navigation {
    margin: 30px 0;
}
.site-main .simpli-blog .posts-navigation a {
    font-size: 16px;
    border-bottom: 3px solid #cbe4ff;
    text-decoration: none;
}
.site-main .simpli-blog .posts-navigation a:hover {
    background: #4A90E2;
    color: #ffffff;
}
.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
}
.posts-navigation .nav-previous,
.posts-navigation .nav-next {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 700;
    font-size: 16px;
}
.posts-navigation .disabled a {
    color: #ccc;
    border-color: #eee;
    pointer-events: none;
}

/* ---- Single post ---- */
.single-post-article {
    margin-bottom: 30px;
}

.single-post-article .entry-meta {
    margin-bottom: 10px;
}
.single-post-article .entry-meta .posted-on time,
.single-post-article .entry-meta .posted-on a {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #8F8F8F;
    letter-spacing: 0;
    line-height: 22px;
    display: block;
    border: none;
    text-decoration: none;
}

.single-post-article .entry-title {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1.2;
    font-size: 50px;
}
@media only screen and (max-width: 767px) {
    .single-post-article .entry-title {
        font-size: 31px;
    }
}

.post-hero {
    margin: 20px 0;
}
.post-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    margin-bottom: 30px;
}
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 30px 0;
}
.post-content a {
    border-bottom: 3px solid #cbe4ff;
    text-decoration: none;
}
.post-content a:hover {
    background: #4A90E2;
    color: #ffffff;
}
.post-content img {
    max-width: 100%;
    height: auto;
}
.post-content figure {
    margin: 1.5em 0;
}
.post-content figcaption {
    font-size: 14px;
    color: #8F8F8F;
    font-family: "Libre Franklin", sans-serif;
    margin-top: 0.5em;
}

.entry-footer {
    font-weight: 900;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
    font-family: "Libre Franklin", sans-serif;
    font-size: 14px;
}
.entry-footer a {
    font-weight: 400;
    border-bottom: 3px solid #cbe4ff;
    text-decoration: none;
}
.entry-footer a:hover {
    background: #4A90E2;
    color: #ffffff;
}
.entry-footer .cat-links {
    display: inline-block;
    margin-right: 20px;
}
.entry-footer .tags-links {
    display: inline-block;
}

/* Tags from BlogClaw (div.tags > span.tag) */
.tags .tag {
    display: inline-block;
    font-family: "Libre Franklin", sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-right: 5px;
}
.tags .tag::before { content: "#"; }

/* Category badge */
.category {
    font-family: "Libre Franklin", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #8F8F8F;
    text-transform: capitalize;
}

/* Post navigation (prev/next on single posts) */
.site-main .navigation.post-navigation {
    margin: 30px 0 50px;
}
.site-main .navigation.post-navigation a {
    border-bottom: 3px solid #cbe4ff;
    text-decoration: none;
}
.site-main .navigation.post-navigation a:hover {
    background: #4A90E2;
    color: #ffffff;
}
.post-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.post-navigation .nav-previous a {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 3px solid #cbe4ff;
    text-decoration: none;
}
.post-navigation .nav-previous a:hover {
    background: #4A90E2;
    color: #ffffff;
}

/* ---- Screen reader text ---- */
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #ddd;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ---- Footer ---- */
footer.site-footer {
    padding: 70px 68px 50px;
    font-size: 14px;
    font-family: "Libre Franklin", sans-serif;
}
@media only screen and (max-width: 991px) {
    footer.site-footer { padding: 70px 15px 50px; }
}
@media only screen and (max-width: 767px) {
    footer.site-footer { padding: 0 15px 50px; }
}
footer.site-footer a {
    border: none;
    text-decoration: none;
}
footer.site-footer a:hover {
    border-bottom: 3px solid #cbe4ff;
}
.site-info {
    color: #8F8F8F;
}

/* ---- Syntax highlighting (Prism) ---- */
pre[class*="language-"] {
    border-radius: 4px;
    margin: 1.5em 0;
}
