/*
Theme Name: Projecto
Version: 1.0.2
Text Domain: projecto
Description: Modern SaaS-style project management and productivity blog theme with clean indigo design.
Author: Developer
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

:root {
    --prj-primary: #6366f1;
    --prj-secondary: #1e1b4b;
    --prj-accent: #10b981;
    --prj-text: #1f2937;
    --prj-text-light: #6b7280;
    --prj-bg: #ffffff;
    --prj-bg-alt: #f9fafb;
    --prj-border: #e5e7eb;
    --prj-font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --prj-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --prj-transition: 0.2s ease;
    --prj-radius: 0.5rem;
    --prj-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --prj-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--prj-font-body); font-size: 1rem; line-height: 1.6; color: var(--prj-text); background: var(--prj-bg); }
a { color: var(--prj-primary); text-decoration: none; transition: color var(--prj-transition); }
a:hover { color: var(--prj-secondary); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--prj-font-heading); font-weight: 700; line-height: 1.25; margin: 0 0 0.5em; color: var(--prj-secondary); }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1.25em; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 5px; left: 5px; width: auto; height: auto; padding: 15px 23px; clip: auto; font-size: 0.875rem; font-weight: 700; background: #f1f1f1; color: #21759b; z-index: 100000; }
.prj-skip-link { position: absolute; top: -100px; left: 0; padding: 1rem 1.5rem; background: var(--prj-primary); color: #fff; font-weight: 600; z-index: 99999; transition: top var(--prj-transition); border-radius: 0 0 var(--prj-radius) 0; }
.prj-skip-link:focus { top: 0; color: #fff; }

.prj-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.prj-header { background: var(--prj-bg); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--prj-border); }
.prj-header-scrolled { box-shadow: var(--prj-shadow); }
.prj-header-hidden { transform: translateY(-100%); }
.prj-header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.prj-logo { font-size: 1.5rem; font-weight: 800; color: var(--prj-secondary); display: flex; align-items: center; gap: 0.5rem; }
.prj-logo:hover { color: var(--prj-primary); }
.prj-logo img { height: 2.5rem; width: auto; }
.prj-logo-icon { width: 2rem; height: 2rem; background: linear-gradient(135deg, var(--prj-primary), var(--prj-accent)); border-radius: 0.375rem; display: flex; align-items: center; justify-content: center; }
.prj-logo-icon svg { width: 1.25rem; height: 1.25rem; fill: #fff; }

.prj-nav { display: flex; align-items: center; gap: 0.5rem; }
.prj-nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.25rem; }
.prj-nav-menu a { display: block; padding: 0.5rem 1rem; color: var(--prj-text); font-size: 0.9375rem; font-weight: 500; border-radius: var(--prj-radius); }
.prj-nav-menu a:hover { color: var(--prj-primary); background: var(--prj-bg-alt); }
.prj-nav-menu .current-menu-item > a { color: var(--prj-primary); background: rgba(99, 102, 241, 0.1); }
.prj-menu-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--prj-text); border-radius: var(--prj-radius); }
.prj-menu-toggle:hover { background: var(--prj-bg-alt); }
.prj-menu-toggle svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; }

.prj-search-toggle { background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--prj-text-light); border-radius: var(--prj-radius); }
.prj-search-toggle:hover { color: var(--prj-primary); background: var(--prj-bg-alt); }
.prj-search-toggle svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; }
.prj-search-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(30,27,75,0.9); z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding-top: 20vh; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.prj-search-overlay.prj-search-open { opacity: 1; visibility: visible; }
.prj-search-form { width: 100%; max-width: 600px; padding: 2rem; }
.prj-search-form input[type="search"] { width: 100%; padding: 1rem 1.5rem; font-size: 1.25rem; border: none; border-radius: var(--prj-radius); background: var(--prj-bg); color: var(--prj-text); outline: none; }
.prj-search-form input[type="search"]::placeholder { color: var(--prj-text-light); }
.prj-search-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; }
.prj-search-close:hover { opacity: 1; }

.prj-content { padding: 2rem 0; min-height: 50vh; }
.prj-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.prj-layout.right-sidebar { grid-template-columns: 1fr 320px; }
.prj-layout.left-sidebar { grid-template-columns: 320px 1fr; }
.prj-layout.left-sidebar .prj-sidebar { order: -1; }
.prj-main { min-width: 0; }

.prj-breadcrumbs { padding: 0.75rem 0; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--prj-text-light); }
.prj-breadcrumbs-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.prj-breadcrumbs-list li::after { content: "/"; margin-left: 0.5rem; color: var(--prj-border); }
.prj-breadcrumbs-list li:last-child::after { display: none; }
.prj-breadcrumbs a { color: var(--prj-text-light); }
.prj-breadcrumbs a:hover { color: var(--prj-primary); }

.prj-article-card { display: flex; flex-direction: column; background: var(--prj-bg); border: 1px solid var(--prj-border); border-radius: var(--prj-radius); overflow: hidden; transition: all var(--prj-transition); }
.prj-article-card:hover { box-shadow: var(--prj-shadow-lg); border-color: transparent; transform: translateY(-2px); }
.prj-article-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.prj-article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.prj-article-card:hover .prj-article-thumb img { transform: scale(1.05); }
.prj-article-category { position: absolute; top: 1rem; left: 1rem; background: var(--prj-primary); color: #fff; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: 9999px; }
.prj-article-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.prj-article-meta { display: flex; gap: 0.75rem; font-size: 0.8125rem; color: var(--prj-text-light); margin-bottom: 0.75rem; }
.prj-article-meta svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; margin-right: 0.25rem; vertical-align: -2px; }
.prj-article-title { font-size: 1.125rem; margin-bottom: 0.75rem; line-height: 1.4; flex-grow: 1; }
.prj-article-title a { color: var(--prj-secondary); }
.prj-article-title a:hover { color: var(--prj-primary); }
.prj-article-excerpt { color: var(--prj-text-light); font-size: 0.9375rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.prj-article-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--prj-border); }
.prj-article-author { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.prj-article-author img { width: 1.75rem; height: 1.75rem; border-radius: 50%; }
.prj-article-read-more { color: var(--prj-primary); font-size: 0.875rem; font-weight: 600; }
.prj-article-read-more:hover { color: var(--prj-secondary); }
.prj-sticky-badge { display: inline-flex; align-items: center; gap: 0.375rem; background: linear-gradient(135deg, var(--prj-primary), var(--prj-accent)); color: #fff; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: 9999px; margin-bottom: 0.75rem; }
.prj-sticky-badge svg { width: 0.875rem; height: 0.875rem; fill: currentColor; }

.prj-articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.prj-articles-grid.grid-3col { grid-template-columns: repeat(3, 1fr); }
.prj-articles-grid.grid-2col { grid-template-columns: repeat(2, 1fr); }
.prj-articles-grid.grid-list { grid-template-columns: 1fr; }
.prj-articles-grid.grid-list .prj-article-card { flex-direction: row; }
.prj-articles-grid.grid-list .prj-article-thumb { flex: 0 0 300px; aspect-ratio: 16/10; }
.prj-articles-grid.grid-list .prj-article-body { flex: 1; }
.prj-featured-article { margin-bottom: 2rem; }
.prj-featured-article .prj-article-card { flex-direction: row; }
.prj-featured-article .prj-article-thumb { flex: 0 0 50%; aspect-ratio: auto; }
.prj-featured-article .prj-article-thumb img { height: 100%; min-height: 320px; }
.prj-featured-article .prj-article-body { padding: 2rem; justify-content: center; }
.prj-featured-article .prj-article-title { font-size: 1.75rem; }
.prj-featured-article .prj-article-excerpt { -webkit-line-clamp: 3; }

.prj-single-header { margin-bottom: 2rem; }
.prj-single-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.prj-single-category { display: inline-block; background: rgba(99, 102, 241, 0.1); color: var(--prj-primary); padding: 0.25rem 0.75rem; font-size: 0.8125rem; font-weight: 600; border-radius: 9999px; }
.prj-single-category:hover { background: var(--prj-primary); color: #fff; }
.prj-single-title { font-size: 2.5rem; margin-bottom: 1.25rem; line-height: 1.2; }
.prj-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: 0.9375rem; color: var(--prj-text-light); padding-bottom: 1.5rem; border-bottom: 1px solid var(--prj-border); }
.prj-single-meta a { color: var(--prj-text); font-weight: 500; }
.prj-single-meta a:hover { color: var(--prj-primary); }
.prj-single-meta svg { width: 1.125rem; height: 1.125rem; stroke: currentColor; fill: none; margin-right: 0.375rem; vertical-align: -3px; }
.prj-single-thumbnail { margin: 2rem 0; border-radius: var(--prj-radius); overflow: hidden; }
.prj-single-thumbnail img { width: 100%; }
.prj-single-thumbnail figcaption { font-size: 0.875rem; color: var(--prj-text-light); margin-top: 0.75rem; text-align: center; font-style: italic; }

.prj-entry-content { font-size: 1.0625rem; line-height: 1.8; }
.prj-entry-content p { margin-bottom: 1.5em; }
.prj-entry-content h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prj-entry-content h3 { font-size: 1.375rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.prj-entry-content a { color: var(--prj-primary); text-decoration: underline; text-decoration-color: rgba(99, 102, 241, 0.3); text-underline-offset: 2px; }
.prj-entry-content a:hover { text-decoration-color: var(--prj-primary); }
.prj-entry-content blockquote { margin: 2rem 0; padding: 1.5rem 2rem; border-left: 4px solid var(--prj-primary); background: var(--prj-bg-alt); border-radius: 0 var(--prj-radius) var(--prj-radius) 0; font-size: 1.125rem; font-style: italic; color: var(--prj-text); }
.prj-entry-content ul, .prj-entry-content ol { margin: 1.5em 0; padding-left: 1.5em; }
.prj-entry-content li { margin-bottom: 0.5em; }
.prj-entry-content img { margin: 2rem 0; border-radius: var(--prj-radius); }
.prj-entry-content pre { background: var(--prj-secondary); color: #e5e7eb; padding: 1.5rem; overflow-x: auto; font-size: 0.875rem; border-radius: var(--prj-radius); }
.prj-entry-content code { background: var(--prj-bg-alt); padding: 0.125rem 0.375rem; font-size: 0.875em; border-radius: 0.25rem; }
.prj-entry-content pre code { background: transparent; padding: 0; }

.prj-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--prj-border); }
.prj-tags-label { font-size: 0.875rem; font-weight: 600; margin-right: 0.75rem; color: var(--prj-text); }
.prj-tag { display: inline-block; padding: 0.375rem 0.75rem; background: var(--prj-bg-alt); color: var(--prj-text-light); font-size: 0.8125rem; border-radius: 9999px; margin: 0.25rem; }
.prj-tag:hover { background: var(--prj-primary); color: #fff; }

.prj-share { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1.25rem; background: var(--prj-bg-alt); border-radius: var(--prj-radius); }
.prj-share-label { font-size: 0.875rem; font-weight: 600; color: var(--prj-text); }
.prj-share-link { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; background: var(--prj-bg); color: var(--prj-text-light); border-radius: 50%; transition: all var(--prj-transition); }
.prj-share-link:hover { background: var(--prj-primary); color: #fff; }
.prj-share-link svg { width: 1rem; height: 1rem; fill: currentColor; }

.prj-author-box { margin-top: 2rem; padding: 1.5rem; background: var(--prj-bg-alt); border-radius: var(--prj-radius); display: flex; gap: 1.25rem; }
.prj-author-avatar img { width: 80px; height: 80px; border-radius: 50%; }
.prj-author-info { flex: 1; }
.prj-author-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.prj-author-name a { color: var(--prj-secondary); }
.prj-author-name a:hover { color: var(--prj-primary); }
.prj-author-bio { font-size: 0.9375rem; color: var(--prj-text-light); line-height: 1.6; }

.prj-post-nav { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.prj-post-nav-item { padding: 1.25rem; background: var(--prj-bg-alt); border-radius: var(--prj-radius); transition: all var(--prj-transition); }
.prj-post-nav-item:hover { background: var(--prj-bg); box-shadow: var(--prj-shadow); }
.prj-post-nav-next { text-align: right; }
.prj-post-nav-label { display: block; font-size: 0.8125rem; color: var(--prj-text-light); margin-bottom: 0.375rem; }
.prj-post-nav-title { font-size: 1rem; font-weight: 600; color: var(--prj-secondary); line-height: 1.4; }
.prj-post-nav-item:hover .prj-post-nav-title { color: var(--prj-primary); }

.prj-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--prj-border); }
.prj-related-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--prj-secondary); }
.prj-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prj-related-item { background: var(--prj-bg); border: 1px solid var(--prj-border); border-radius: var(--prj-radius); overflow: hidden; transition: all var(--prj-transition); }
.prj-related-item:hover { box-shadow: var(--prj-shadow); border-color: transparent; }
.prj-related-thumb { overflow: hidden; }
.prj-related-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.3s ease; }
.prj-related-item:hover .prj-related-thumb img { transform: scale(1.05); }
.prj-related-item-body { padding: 1rem; }
.prj-related-item-title { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--prj-secondary); }
.prj-related-item:hover .prj-related-item-title { color: var(--prj-primary); }

.prj-sidebar { font-size: 0.9375rem; }
.prj-widget { background: var(--prj-bg); border: 1px solid var(--prj-border); padding: 1.25rem; margin-bottom: 1.5rem; border-radius: var(--prj-radius); }
.prj-widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--prj-primary); color: var(--prj-secondary); }
.prj-widget ul { list-style: none; margin: 0; padding: 0; }
.prj-widget li { padding: 0.5rem 0; border-bottom: 1px solid var(--prj-border); }
.prj-widget li:last-child { border-bottom: none; }
.prj-widget a { color: var(--prj-text); }
.prj-widget a:hover { color: var(--prj-primary); }

.prj-pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--prj-border); }
.prj-pagination a, .prj-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem; font-weight: 500; font-size: 0.9375rem; border-radius: var(--prj-radius); border: 1px solid var(--prj-border); }
.prj-pagination a:hover { border-color: var(--prj-primary); color: var(--prj-primary); }
.prj-pagination .current { background: var(--prj-primary); color: #fff; border-color: var(--prj-primary); }

.prj-archive-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--prj-border); }
.prj-archive-title { font-size: 2rem; margin-bottom: 0.5rem; }
.prj-archive-description { color: var(--prj-text-light); font-size: 1rem; }

.prj-search-header { margin-bottom: 2rem; padding: 1.5rem; background: var(--prj-bg-alt); border-radius: var(--prj-radius); }
.prj-search-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.prj-search-title span { color: var(--prj-primary); }
.prj-search-count { color: var(--prj-text-light); font-size: 0.9375rem; }
.prj-no-posts { text-align: center; padding: 3rem 2rem; background: var(--prj-bg-alt); border-radius: var(--prj-radius); }
.prj-no-posts h2 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.prj-no-posts p { color: var(--prj-text-light); margin-bottom: 1.5rem; }
.prj-search-form-inline { display: flex; max-width: 400px; margin: 0 auto; }
.prj-search-form-inline .prj-search-input { flex: 1; padding: 0.75rem 1rem; border: 1px solid var(--prj-border); border-right: none; border-radius: var(--prj-radius) 0 0 var(--prj-radius); font-size: 1rem; }
.prj-search-form-inline .prj-search-input:focus { border-color: var(--prj-primary); outline: none; }
.prj-search-form-inline .prj-search-submit { padding: 0.75rem 1.25rem; background: var(--prj-primary); color: #fff; border: none; border-radius: 0 var(--prj-radius) var(--prj-radius) 0; font-weight: 600; cursor: pointer; }
.prj-search-form-inline .prj-search-submit:hover { background: var(--prj-secondary); }

.prj-404 { text-align: center; padding: 4rem 2rem; }
.prj-404-code { font-size: 8rem; font-weight: 800; background: linear-gradient(135deg, var(--prj-primary), var(--prj-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 1rem; }
.prj-404-title { font-size: 1.75rem; margin-bottom: 1rem; }
.prj-404-message { color: var(--prj-text-light); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.prj-404-home { display: inline-block; padding: 0.875rem 2rem; background: var(--prj-primary); color: #fff; font-weight: 600; border-radius: var(--prj-radius); margin-top: 1rem; }
.prj-404-home:hover { background: var(--prj-secondary); color: #fff; }

.prj-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--prj-border); }
.prj-comments-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--prj-secondary); }
.prj-comments-list { list-style: none; margin: 0; padding: 0; }
.prj-comment { padding: 1.25rem 0; border-bottom: 1px solid var(--prj-border); }
.prj-comment:last-child { border-bottom: none; }
.prj-comment-body { display: flex; gap: 1rem; }
.prj-comment-avatar img { width: 48px; height: 48px; border-radius: 50%; }
.prj-comment-content { flex: 1; }
.prj-comment-meta { margin-bottom: 0.5rem; }
.prj-comment-author { font-weight: 600; font-size: 0.9375rem; color: var(--prj-secondary); }
.prj-comment-date { font-size: 0.8125rem; color: var(--prj-text-light); margin-left: 0.75rem; }
.prj-comment-text { font-size: 0.9375rem; line-height: 1.6; }
.prj-comment-actions { margin-top: 0.5rem; font-size: 0.8125rem; }
.prj-comment-actions a { color: var(--prj-text-light); margin-right: 1rem; }
.prj-comment-actions a:hover { color: var(--prj-primary); }
.prj-comment-awaiting { background: #fef3c7; padding: 0.5rem 0.75rem; font-size: 0.8125rem; border-radius: var(--prj-radius); margin-bottom: 0.75rem; color: #92400e; }
.prj-comment-form { margin-top: 2rem; }
.prj-comment-form label { display: block; font-weight: 600; margin-bottom: 0.375rem; font-size: 0.875rem; color: var(--prj-text); }
.prj-comment-form input[type="text"], .prj-comment-form input[type="email"], .prj-comment-form input[type="url"], .prj-comment-form textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--prj-border); font-size: 1rem; margin-bottom: 1rem; border-radius: var(--prj-radius); font-family: var(--prj-font-body); }
.prj-comment-form textarea { min-height: 150px; resize: vertical; }
.prj-comment-form input:focus, .prj-comment-form textarea:focus { border-color: var(--prj-primary); outline: none; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.prj-comment-form input[type="submit"] { background: var(--prj-primary); color: #fff; border: none; padding: 0.875rem 2rem; font-size: 1rem; font-weight: 600; cursor: pointer; border-radius: var(--prj-radius); }
.prj-comment-form input[type="submit"]:hover { background: var(--prj-secondary); }
.prj-comments-closed { background: var(--prj-bg-alt); padding: 1rem; text-align: center; color: var(--prj-text-light); font-size: 0.9375rem; border-radius: var(--prj-radius); }

.prj-footer { background: var(--prj-secondary); color: #fff; margin-top: 3rem; }
.prj-footer-widgets { padding: 3rem 0; }
.prj-footer-widgets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.prj-footer-widget { font-size: 0.9375rem; }
.prj-footer-widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--prj-primary); color: #fff; }
.prj-footer-widget ul { list-style: none; margin: 0; padding: 0; }
.prj-footer-widget li { padding: 0.375rem 0; }
.prj-footer-widget a { color: rgba(255,255,255,0.7); }
.prj-footer-widget a:hover { color: #fff; }
.prj-footer-nav { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
.prj-footer-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.prj-footer-menu a { color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 500; }
.prj-footer-menu a:hover { color: #fff; }
.prj-footer-bottom { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.prj-copyright { font-size: 0.875rem; color: rgba(255,255,255,0.5); }

.prj-scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 3rem; height: 3rem; background: var(--prj-primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all var(--prj-transition); z-index: 999; border-radius: 50%; box-shadow: var(--prj-shadow-lg); }
.prj-scroll-top.prj-scroll-top-visible { opacity: 1; visibility: visible; }
.prj-scroll-top:hover { background: var(--prj-secondary); transform: translateY(-3px); }
.prj-scroll-top svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; }

@media (max-width: 1024px) {
    .prj-layout.right-sidebar, .prj-layout.left-sidebar { grid-template-columns: 1fr; }
    .prj-layout.left-sidebar .prj-sidebar { order: 0; }
    .prj-sidebar { order: 2; }
    .prj-footer-widgets-grid { grid-template-columns: repeat(2, 1fr); }
    .prj-related-grid { grid-template-columns: repeat(2, 1fr); }
    .prj-featured-article .prj-article-card { flex-direction: column; }
    .prj-featured-article .prj-article-thumb { flex: none; }
    .prj-featured-article .prj-article-thumb img { min-height: auto; }
}

@media (max-width: 768px) {
    .prj-nav-menu { display: none; position: fixed; top: 4rem; left: 0; right: 0; background: var(--prj-bg); flex-direction: column; padding: 1rem; box-shadow: var(--prj-shadow-lg); border-top: 1px solid var(--prj-border); }
    .prj-nav-menu.prj-nav-open { display: flex; }
    .prj-nav-menu a { padding: 0.75rem 1rem; border-radius: var(--prj-radius); }
    .prj-menu-toggle { display: block; }
    .prj-articles-grid, .prj-articles-grid.grid-3col, .prj-articles-grid.grid-2col { grid-template-columns: 1fr; }
    .prj-single-title { font-size: 1.75rem; }
    .prj-footer-widgets-grid { grid-template-columns: 1fr; }
    .prj-related-grid { grid-template-columns: 1fr; }
    .prj-post-nav { grid-template-columns: 1fr; gap: 1rem; }
    .prj-post-nav-next { text-align: left; }
    .prj-author-box { flex-direction: column; text-align: center; }
    .prj-share { flex-wrap: wrap; justify-content: center; }
    .prj-single-meta { gap: 1rem; }
    .prj-sidebar { display: none !important; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .prj-container { padding: 0 1rem; }
    .prj-single-title { font-size: 1.5rem; }
    .prj-404-code { font-size: 5rem; }
    .prj-footer-menu { flex-direction: column; align-items: center; gap: 0.75rem; }
}

:focus { outline: 2px solid var(--prj-primary); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--prj-primary); outline-offset: 2px; }

/* Interlinking Section */
.proj-interlinking {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.proj-interlinking-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.proj-interlinking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.proj-interlinking-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}
.proj-interlinking-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--proj-color-primary, #333);
}
.proj-interlinking-list a {
    color: var(--proj-color-primary, #333);
    text-decoration: none;
}
.proj-interlinking-list a:hover {
    text-decoration: underline;
}
