/* Built from assets/css/core/ — run: php scripts/build_public_core_css.php */
*, *::before, *::after { box-sizing: border-box; } html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; width: 100%; } body { margin: 0; font-family: var(--font-body); font-size: 1.25rem; line-height: 1.65; color: #242424; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; max-width: 100%; overflow-wrap: break-word; } button { appearance: none; -webkit-appearance: none; font-family: inherit; cursor: pointer; } body.dark-mode { color: #e6e6e6; background: #121212; } .page-wrapper { width: 100%; max-width: 100%; overflow-x: hidden; } :root { --primary: #1a8917; --font-heading: Charter, 'Bitstream Charter', Georgia, 'Times New Roman', serif; --font-body: Charter, 'Bitstream Charter', Georgia, 'Times New Roman', serif; --content-width: 680px; --header-height: 60px; --transition: 0.2s ease; } .site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid #e6e6e6; transition: var(--transition); } body.dark-mode .site-header { background: rgba(18,18,18,0.95); border-color: #333; } .header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; } .site-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: inherit; text-decoration: none; } .site-logo:hover { color: var(--primary); } .main-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; } .main-nav a { color: inherit; text-decoration: none; font-weight: 500; } .main-nav a:hover { color: var(--primary); } .nav-dropdown { position: relative; } .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; } .nav-dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 0.5rem 0; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; z-index: 50; } body.dark-mode .nav-dropdown-menu { background: #1a1a1a; border-color: #333; } .nav-dropdown-menu a { display: block; padding: 0.5rem 1rem; } .header-actions { display: flex; align-items: center; gap: 1rem; } .search-form input { padding: 0.4rem 0.75rem; border: 1px solid #e6e6e6; border-radius: 6px; font-size: 0.9rem; min-width: 140px; } body.dark-mode .search-form input { border-color: #444; background: #222; color: #e6e6e6; } .header-actions a { color: inherit; text-decoration: none; font-size: 0.9rem; } .nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: none; background: transparent; color: inherit; } .nav-toggle-bar { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px; transition: transform 0.25s, opacity 0.25s; } .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); } .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; } .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .nav-drawer { display: flex; align-items: center; gap: 1.5rem; } .blog-page, .site-main { max-width: 100%; overflow-x: hidden; min-width: 0; } .site-main { min-height: calc(100vh - var(--header-height) - 120px); } .blog-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: 1fr; gap: 2rem; } @media (min-width: 900px) { .blog-container { grid-template-columns: 1fr 280px; } } .blog-main { min-width: 0; } .reading-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--primary); z-index: 1000; transition: width 0.1s ease-out; } .featured-post { margin-bottom: 2rem; } .featured-link { display: block; position: relative; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; min-height: 360px; } .featured-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.4s ease; } .featured-link:hover .featured-image { transform: scale(1.03); } .featured-image-placeholder { background: linear-gradient(135deg, #333 0%, #555 100%); } .featured-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.25) 75%, rgba(0,0,0,0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; } .featured-category { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.95; margin-bottom: 0.5rem; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.6); } .featured-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin: 0 0 0.5rem; line-height: 1.2; text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 2px 8px rgba(0,0,0,0.8), 0 4px 16px rgba(0,0,0,0.5); } .featured-excerpt { font-size: 1rem; opacity: 0.95; margin: 0 0 0.5rem; max-width: 600px; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.6); } .featured-meta { font-size: 0.85rem; opacity: 0.9; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.6); } .posts-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; } @media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 960px) { .posts-grid { grid-template-columns: repeat(3, 1fr); } } .post-card { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: box-shadow 0.3s, transform 0.2s; } body.dark-mode .post-card { background: #1a1a1a; } .post-card:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.12); transform: translateY(-2px); } .post-card-link { display: block; text-decoration: none; color: inherit; } .post-card-image { aspect-ratio: 16/9; background-size: cover; background-position: center; transition: transform 0.3s; } .post-card:hover .post-card-image { transform: scale(1.05); } .post-card-image-placeholder { background: linear-gradient(135deg, #eee 0%, #ddd 100%); } body.dark-mode .post-card-image-placeholder { background: linear-gradient(135deg, #333 0%, #444 100%); } .post-card-body { padding: 1.25rem; } .post-card-category { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--primary); margin-bottom: 0.5rem; } .post-card-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .post-card-excerpt { font-size: 0.95rem; color: #666; margin: 0 0 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } body.dark-mode .post-card-excerpt { color: #999; } .post-card-meta { font-size: 0.85rem; color: #888; } body.dark-mode .post-card-meta { color: #777; } .post-card-sep { margin: 0 0.25rem; } .blog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; } .sidebar { display: flex; flex-direction: column; gap: 2rem; } .sidebar-widget { background: #fafafa; border-radius: 10px; padding: 1.25rem 1.5rem; border: 1px solid #eee; } body.dark-mode .sidebar-widget { background: #1a1a1a; border-color: #333; } .sidebar-title { font-size: 0.8rem; font-weight: 700; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; font-family: system-ui, -apple-system, sans-serif; } body.dark-mode .sidebar-title { color: #94a3b8; } .category-list { list-style: none; padding: 0; margin: 0; } .category-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; } body.dark-mode .category-item { border-color: #333; } .category-item:last-child { border-bottom: none; } .category-item a { color: #334155; text-decoration: none; font-weight: 500; font-size: 0.95rem; flex: 1; min-width: 0; } .category-item a:hover { color: var(--primary); } body.dark-mode .category-item a { color: #e2e8f0; } .cat-count { font-size: 0.8rem; color: #94a3b8; background: #f1f5f9; padding: 0.2rem 0.5rem; border-radius: 6px; font-weight: 600; flex-shrink: 0; } body.dark-mode .cat-count { color: #94a3b8; background: #334155; } .popular-list { list-style: none; padding: 0; margin: 0; } .popular-list li { padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; } body.dark-mode .popular-list li { border-color: #333; } .popular-list li:last-child { border-bottom: none; } .popular-list a { color: #334155; text-decoration: none; font-weight: 500; font-size: 0.95rem; display: block; } .popular-list a:hover { color: var(--primary); } body.dark-mode .popular-list a { color: #e2e8f0; } .sidebar-posts { list-style: none; padding: 0; margin: 0; } .sidebar-posts li { margin-bottom: 0.75rem; } .sidebar-posts a { color: inherit; text-decoration: none; font-weight: 500; } .sidebar-posts a:hover { color: var(--primary); } .pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; padding: 1rem; } .pagination a { padding: 0.5rem 1rem; background: var(--primary); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 500; } .pagination a:hover { opacity: 0.9; } .pagination-info { font-size: 0.9rem; color: #666; } body.dark-mode .pagination-info { color: #999; } .post-detail { max-width: 960px; margin: 0 auto; padding: 2rem 24px; } .post-with-toc { display: grid; grid-template-columns: 1fr 260px; gap: 2rem; align-items: start; } @media (max-width: 800px) { .post-with-toc { grid-template-columns: 1fr; } .post-toc { display: none; } } .post-content-col { min-width: 0; } .post-toc { position: sticky; top: 80px; font-size: 0.95rem; line-height: 1.5; } .toc-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.75rem; color: #666; } body.dark-mode .toc-title { color: #999; } .toc-list { list-style: none; padding: 0; margin: 0; font-size: 1rem; line-height: 1.55; } .toc-list > li { margin-bottom: 0.75rem; } .toc-list > li.toc-h2 { margin-bottom: 0.5rem; font-weight: 600; } .toc-list .toc-sublist li { margin-bottom: 0.6rem; } .toc-list a { color: #444; text-decoration: none; display: block; word-wrap: break-word; white-space: normal; } .toc-list a:hover, .toc-list a.active { color: var(--primary); } body.dark-mode .toc-list a { color: #ccc; } .toc-list .toc-sublist .toc-h3 { margin-left: 1.25rem; padding-left: 1rem; border-left: 3px solid #e2e8f0; font-size: 0.92em; font-weight: 500; margin-top: 0.5rem; margin-bottom: 0.5rem; } body.dark-mode .toc-list .toc-sublist .toc-h3 { border-color: #334155; } .toc-sublist { list-style: none; padding: 0 0 0.25rem 0; margin: 0.4rem 0 0 0; border-top: 1px solid #eee; } body.dark-mode .toc-sublist { border-color: #334155; } .post-header { margin-bottom: 2rem; } .breadcrumbs { font-size: 0.9rem; margin-bottom: 1rem; } .breadcrumbs a { color: #666; text-decoration: none; } .breadcrumbs a:hover { color: var(--primary); } .breadcrumb-sep { margin: 0 0.5rem; color: #999; } .breadcrumb-current { color: inherit; } .post-category { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; } .post-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; line-height: 1.2; margin: 0 0 0.5rem; letter-spacing: -0.02em; } .post-subtitle { font-size: 1.15rem; line-height: 1.5; color: #64748b; margin: 0 0 1rem; font-weight: 400; } body.dark-mode .post-subtitle { color: #94a3b8; } .post-meta { font-size: 0.95rem; color: #666; } body.dark-mode .post-meta { color: #999; } .post-sep { margin: 0 0.5rem; } .post-featured-image { margin: 2rem 0; border-radius: 8px; overflow: hidden; } .post-featured-image img { width: 100%; height: auto; display: block; } .post-content.prose { font-size: 1.2rem; line-height: 1.75; } .post-content.prose p { margin: 0 0 1.4em; } .post-content.prose h2 { font-size: 1.5rem; margin: 2em 0 0.75em; } .post-content.prose h3 { font-size: 1.25rem; margin: 1.5em 0 0.5em; } .post-content.prose blockquote { margin: 2em 0; padding-left: 1.5em; border-left: 4px solid var(--primary); font-style: italic; color: #555; } body.dark-mode .post-content.prose blockquote { color: #aaa; } .post-content.prose pre, .post-content.prose code { background: #f5f5f5; border-radius: 6px; } body.dark-mode .post-content.prose pre, body.dark-mode .post-content.prose code { background: #2a2a2a; } .post-content.prose pre { padding: 1rem; overflow-x: auto; } .post-content.prose code { padding: 0.2em 0.4em; font-size: 0.9em; } .post-content.prose img { max-width: 100%; height: auto; border-radius: 6px; } .post-content.prose ul, .post-content.prose ol { margin: 1em 0; padding-left: 1.5em; } .post-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e6e6e6; } body.dark-mode .post-share { border-color: #333; } .share-label { font-weight: 600; margin-right: 0.75rem; } .post-share a { margin-right: 1rem; color: var(--primary); text-decoration: none; } .post-share a:hover { text-decoration: underline; } .related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e6e6e6; } body.dark-mode .related-posts { border-color: #333; } .related-title { font-size: 1.25rem; margin: 0 0 1.5rem; } .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; } .back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; border: none; font-size: 1.25rem; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; z-index: 90; } .back-to-top.visible { opacity: 1; visibility: visible; } .back-to-top:hover { opacity: 0.9; } .author-header { margin-bottom: 2rem; } .author-title { font-size: 2rem; margin: 0 0 0.25rem; } .author-meta { color: #666; margin: 0; } body.dark-mode .author-meta { color: #999; } .category-header, .search-header { margin-bottom: 2rem; } .category-title, .search-title { font-size: 2rem; margin: 0 0 0.5rem; } .category-desc, .search-results-info, .search-hint { color: #666; margin: 0; } body.dark-mode .category-desc, body.dark-mode .search-results-info, body.dark-mode .search-hint { color: #999; } .search-form-inline { display: flex; gap: 0.5rem; margin: 1rem 0; } .search-form-inline input { flex: 1; padding: 0.6rem 1rem; border: 1px solid #e6e6e6; border-radius: 6px; } body.dark-mode .search-form-inline input { border-color: #444; background: #222; color: #e6e6e6; } .search-form-inline button { padding: 0.6rem 1rem; background: var(--primary); color: #fff; border: none; border-radius: 6px; cursor: pointer; } .no-posts { font-size: 1.1rem; color: #666; padding: 2rem; } .maintenance-page, .error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; text-align: center; } .maintenance-page h1, .error-page h1 { font-size: 2rem; margin-bottom: 0.5rem; } .maintenance-page p, .error-page p { color: #666; margin-bottom: 1rem; } .maintenance-page a, .error-page a { color: var(--primary); text-decoration: none; } .maintenance-page a:hover, .error-page a:hover { text-decoration: underline; } .comments-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e6e6e6; } body.dark-mode .comments-section { border-color: #333; } .comments-title { font-size: 1.25rem; margin: 0 0 1.5rem; } .comment-form { margin-bottom: 2rem; padding: 1.5rem; background: #f9f9f9; border-radius: 8px; } body.dark-mode .comment-form { background: #1e1e1e; } .comment-form .form-row { margin-bottom: 1rem; } .comment-form label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; } .comment-form input, .comment-form textarea { width: 100%; padding: 0.6rem 1rem; border: 1px solid #e6e6e6; border-radius: 6px; font-family: inherit; } body.dark-mode .comment-form input, body.dark-mode .comment-form textarea { border-color: #444; background: #222; color: #e6e6e6; } .comment-form textarea { min-height: 100px; resize: vertical; } .comment-form .honeypot { position: absolute; left: -9999px; } .comment-form .form-actions { margin-top: 1rem; } .comment-form button { padding: 0.6rem 1.25rem; background: var(--primary); color: #fff; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; } .comment-list { list-style: none; padding: 0; margin: 0; } .comment-item { padding: 1rem 0; border-bottom: 1px solid #eee; } body.dark-mode .comment-item { border-color: #333; } .comment-item:last-child { border-bottom: none; } .comment-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; } .comment-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; } .comment-author { font-weight: 600; } .comment-date { font-size: 0.85rem; color: #888; margin-left: auto; } body.dark-mode .comment-date { color: #999; } .comment-content { margin-left: 54px; line-height: 1.6; } .comment-reply { margin-left: 2rem; margin-top: 0.5rem; padding-left: 1rem; border-left: 3px solid var(--primary); } .comment-reply-link { font-size: 0.9rem; color: var(--primary); text-decoration: none; margin-top: 0.5rem; display: inline-block; } .comment-reply-link:hover { text-decoration: underline; } .comment-success, .comment-error { padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; } .comment-success { background: #d4edda; color: #155724; } .comment-error { background: #f8d7da; color: #721c24; } body.dark-mode .comment-success { background: #1e3d24; color: #b8e0be; } body.dark-mode .comment-error { background: #3d1e1e; color: #e0b8b8; } .site-footer { margin-top: 4rem; padding: 2rem 24px 2.5rem; border-top: 1px solid #e0e0e0; background: #fafafa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 0.9375rem; } body.dark-mode .site-footer { border-color: #333; background: #0f0f0f; } .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; } .footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; } .footer-nav a { color: #374151; text-decoration: none; font-size: 0.9375rem; font-weight: 500; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--primary); } body.dark-mode .footer-nav a { color: #9ca3af; } body.dark-mode .footer-nav a:hover { color: var(--primary); } .footer-bottom { display: flex; align-items: center; gap: 1.25rem; } .footer-inner .copyright { font-size: 0.875rem; color: #6b7280; margin: 0; } body.dark-mode .copyright { color: #9ca3af; } .footer-inner .trust-signal.ssl-indicator { font-size: 0.8125rem; color: #059669; display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 500; } body.dark-mode .trust-signal.ssl-indicator { color: #34d399; } #cookie-consent.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; padding: 1.25rem 24px; background: #0f172a; color: #f8fafc; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; z-index: 9998; box-shadow: 0 -8px 32px rgba(0,0,0,0.24); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 0.9375rem; } #cookie-consent.cookie-consent p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: #e2e8f0; flex: 1; min-width: 200px; max-width: 560px; } #cookie-consent.cookie-consent .cookie-consent-btn { padding: 0.65rem 1.5rem; background: var(--primary, #6366f1); color: #fff !important; border: none; border-radius: 8px; font-weight: 600; font-size: 0.9375rem; flex-shrink: 0; transition: opacity 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4); } #cookie-consent.cookie-consent .cookie-consent-btn:hover { opacity: 0.92; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45); } .page-detail { max-width: var(--content-width, 680px); margin: 0 auto; padding: 2rem 24px; } .page-header { margin-bottom: 2rem; } .page-title { font-size: 2rem; font-weight: 700; margin: 0 0 0.5rem; } .page-content.prose { line-height: 1.7; } @media (max-width: 768px) { .nav-toggle { display: flex; } .nav-drawer { position: fixed; top: var(--header-height); right: -320px; width: min(300px, 88vw); height: calc(100vh - var(--header-height)); background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); box-shadow: -8px 0 24px rgba(0,0,0,0.12); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto; transition: right 0.3s ease, visibility 0.3s; visibility: hidden; z-index: 99; } body.dark-mode .nav-drawer { background: rgba(18,18,18,0.98); box-shadow: -8px 0 24px rgba(0,0,0,0.4); } body.nav-open .nav-drawer { right: 0; visibility: visible; } .nav-drawer .main-nav { flex-direction: column; align-items: stretch; gap: 0; } .nav-drawer .main-nav a, .nav-drawer .nav-dropdown > a { padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); } body.dark-mode .nav-drawer .main-nav a, body.dark-mode .nav-drawer .nav-dropdown > a { border-color: rgba(255,255,255,0.08); } .nav-drawer .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; border: none; padding-left: 1rem; margin-top: 0.25rem; } .nav-drawer .header-actions { flex-direction: column; align-items: stretch; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.08); } body.dark-mode .nav-drawer .header-actions { border-color: rgba(255,255,255,0.08); } .nav-drawer .search-form input { min-width: 0; width: 100%; } .header-inner { padding: 0 16px; } .blog-container { padding: 24px 16px; width: 100%; min-width: 0; box-sizing: border-box; } .featured-link, .post-card { min-width: 0; } .post-detail, .page-detail { padding: 1.5rem 16px; } .featured-post { margin-bottom: 0; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(0,0,0,0.08); } body.dark-mode .featured-post { border-color: rgba(255,255,255,0.08); } .featured-link { display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; min-height: auto; color: inherit; padding: 0; } .featured-link:hover .featured-image { transform: none; } .featured-image { position: static; width: 100px; min-width: 100px; height: 100px; flex-shrink: 0; border-radius: 8px; order: 2; } .featured-overlay { flex: 1; min-width: 0; position: static; order: 1; padding: 0; background: none !important; justify-content: flex-start; text-align: left; } .featured-overlay::before { display: none; } .featured-category, .featured-title, .featured-excerpt, .featured-meta { color: inherit; text-shadow: none; position: static; z-index: auto; } .featured-category { font-size: 0.75rem; color: var(--primary); margin-bottom: 0.35rem; } .featured-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary, #242424); margin-bottom: 0.35rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; } .featured-excerpt { font-size: 0.9rem; color: var(--text-secondary, #666); margin-bottom: 0.5rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; } body.dark-mode .featured-excerpt { color: #999; } .featured-meta { font-size: 0.8rem; color: var(--text-secondary, #888); } body.dark-mode .featured-meta { color: #777; } body.dark-mode .featured-title { color: #e6e6e6; } .posts-grid { gap: 0; } .post-card { border-radius: 0; box-shadow: none; border-bottom: 1px solid rgba(0,0,0,0.08); } body.dark-mode .post-card { border-color: rgba(255,255,255,0.08); } .post-card:hover { transform: none; box-shadow: none; } .post-card-link { display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; padding: 1.25rem 0; } .post-card-image { order: 2; width: 100px; min-width: 100px; aspect-ratio: 1; flex-shrink: 0; border-radius: 8px; } .post-card-image-placeholder { border-radius: 8px; } .post-card-body { order: 1; flex: 1; min-width: 0; padding: 0; } .post-card-category { margin-bottom: 0.35rem; } .post-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; -webkit-line-clamp: 2; } .post-card-excerpt { font-size: 0.9rem; margin-bottom: 0.5rem; -webkit-line-clamp: 2; } .post-card-meta { font-size: 0.8rem; } body { font-size: 1rem; } .post-content.prose { font-size: 1.05rem; } .post-title { font-size: clamp(1.75rem, 5vw, 2.25rem); } .post-subtitle { font-size: 1rem; } .footer-inner { flex-direction: column; align-items: flex-start; padding: 1.5rem 16px; } .footer-nav { justify-content: flex-start; } .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .site-footer { padding: 1.5rem 16px 2rem; margin-top: 3rem; } .back-to-top { bottom: 20px; right: 16px; width: 44px; height: 44px; font-size: 1.1rem; } } @media (max-width: 480px) { .header-inner { padding: 0 12px; } .blog-container { padding: 20px 12px; } .post-detail, .page-detail { padding: 1.25rem 12px; } .featured-image, .post-card-image { width: 80px; min-width: 80px; height: 80px; } .featured-title { font-size: 1.05rem; } .post-card-title { font-size: 1rem; } .post-card-body { padding: 0; } .post-card-title { font-size: 1.1rem; } #cookie-consent.cookie-consent { flex-direction: column; align-items: stretch; padding: 1rem 16px; gap: 1rem; } #cookie-consent.cookie-consent p { min-width: 0; max-width: none; } .pagination { flex-wrap: wrap; gap: 0.75rem; padding: 1rem; } .comment-content { margin-left: 0; margin-top: 0.5rem; } .comment-header { flex-wrap: wrap; } } .admin-post-preview-banner { background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); color: #f8fafc; padding: 0.75rem 1rem; margin: 0 0 1.25rem 0; border-radius: 8px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2); } .admin-post-preview-banner__inner { max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem; font-size: 0.9rem; line-height: 1.4; } .admin-post-preview-banner__meta { opacity: 0.92; text-transform: capitalize; } .admin-post-preview-banner__link { margin-left: auto; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; } .admin-post-preview-banner__link:hover { color: #e0e7ff; } @media (max-width: 600px) { .admin-post-preview-banner__link { margin-left: 0; } }
