/* ============================================================
   INNER PAGE STYLES — single, page, archive, search, 404
   ============================================================ */

/* Push content below fixed navbar */
.inner-page-main {
    background-color: #000;
    min-height: 70vh;
}

/* ── Entry / Post Styles ─────────────────────────────────── */
.entry-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 12px;
}

.entry-content {
    color: #c8c8c8;
    font-size: 16px;
    line-height: 1.8;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #fff;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: #32cd32; }
.entry-content a:hover { color: #4efc1a; }
.entry-content ul,
.entry-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
    color: #c8c8c8;
}
.entry-content blockquote {
    border-left: 4px solid #32cd32;
    padding: 16px 24px;
    margin: 24px 0;
    background: #161b22;
    border-radius: 0 12px 12px 0;
    color: #b4bcd0;
    font-style: italic;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.entry-content pre,
.entry-content code {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 13px;
    color: #79c0ff;
}
.entry-content pre { padding: 20px; overflow-x: auto; }

/* ── Post Card (archive / home / search) ─────────────────── */
.post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.post-card__thumb img:hover { transform: scale(1.04); }

/* ── Archive / Search Header ─────────────────────────────── */
.archive-title,
.search-title,
.page-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}

/* ── Pagination ──────────────────────────────────────────── */
.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #161b22;
    border: 1px solid #30363d;
    color: #c8c8c8;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s;
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
    background: #32cd32;
    border-color: #32cd32;
    color: #000;
}
.nav-links .prev,
.nav-links .next {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
}

/* ── Post Navigation (prev/next) ─────────────────────────── */
.post-navigation .btn { font-size: 13px; }

/* ── Sidebar Widgets ─────────────────────────────────────── */
.widget-area .widget { margin-bottom: 24px; }
.widget-area .widget ul { list-style: none; padding: 0; }
.widget-area .widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #30363d;
    color: #b4bcd0;
    font-size: 14px;
}
.widget-area .widget ul li a {
    color: #b4bcd0;
    text-decoration: none;
    transition: color 0.25s;
}
.widget-area .widget ul li a:hover { color: #32cd32; }

/* ── Comments ────────────────────────────────────────────── */
.comments-area .comment-list { padding: 0; }
.comments-area .comment-list li { list-style: none; }
.comments-area .children {
    padding-left: 32px;
    margin-top: 16px;
}

/* ── 404 Page ────────────────────────────────────────────── */
.error-404 { padding: 80px 0; }

/* ── Search Form ─────────────────────────────────────────── */
.search-form .text-field-form { max-width: 100%; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .entry-title { font-size: 26px; }
    .archive-title,
    .search-title,
    .page-title { font-size: 30px; }
    .error-code { font-size: 80px !important; }
    .comments-area .children { padding-left: 16px; }
}
