/*
Theme Name: CelebFolio
Theme URI: https://celebfolio.com
Author: CelebFolio
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: celebfolio
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6;color:#1a1a1a;background:#fff;font-display:swap}
img,video{max-width:100%;height:auto;display:block}
a{color:#0066cc;text-decoration:none}
a:hover,a:focus{text-decoration:underline}
:focus-visible{outline:2px solid #0066cc;outline-offset:2px}
.container{max-width:800px;margin:0 auto;padding:0 16px}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{position:static;padding:8px;background:#000;color:#fff}

.site-header{background:#fff;border-bottom:1px solid #eee;padding:12px 0;position:sticky;top:0;z-index:50}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;max-width:1100px;margin:0 auto;padding:0 16px}
.site-title{font-size:1.4rem;font-weight:700;color:#111}
.site-title a{color:inherit}
.main-nav ul{display:flex;gap:20px;list-style:none}
.main-nav a{color:#333;font-size:.95rem;font-weight:500}

.post-hero{padding:28px 0 16px}
.post-title{font-size:2rem;font-weight:800;line-height:1.25;margin-bottom:12px;color:#0a0a0a}
.post-meta{font-size:.85rem;color:#666;margin-bottom:20px}
.post-meta span{margin-right:12px}
.post-featured{margin:0 0 24px;border-radius:12px;overflow:hidden}
.post-featured img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}

.facts-table{width:100%;border-collapse:collapse;margin:20px 0 28px;background:#fafafa;border:1px solid #eee;border-radius:10px;overflow:hidden;font-size:.95rem}
.facts-table th,.facts-table td{padding:12px 14px;text-align:left;border-bottom:1px solid #eee}
.facts-table th{background:#f1f1f1;font-weight:600;width:40%;color:#222}
.facts-table tr:last-child th,.facts-table tr:last-child td{border-bottom:0}

.post-body h2{font-size:1.5rem;font-weight:700;margin:28px 0 12px;color:#111;line-height:1.3}
.post-body h3{font-size:1.2rem;font-weight:700;margin:20px 0 10px;color:#222}
.post-body p{margin:0 0 16px;font-size:1.05rem;color:#222}
.post-body ul,.post-body ol{margin:0 0 16px 22px}
.post-body li{margin-bottom:6px}
.post-body blockquote{border-left:4px solid #0066cc;padding:10px 16px;margin:16px 0;background:#f7fbff;color:#333;font-style:italic}

.faq-item{background:#fafafa;border:1px solid #eee;border-radius:10px;padding:14px 16px;margin-bottom:10px}
.faq-item h3{font-size:1.05rem;margin:0 0 6px;color:#111}
.faq-item p{margin:0;font-size:.98rem}

.socials{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0 28px}
.socials a{padding:8px 14px;background:#f1f1f1;border-radius:6px;font-size:.9rem;color:#222;font-weight:500}
.socials a:hover{background:#e5e5e5;text-decoration:none}

.disclaimer{font-size:.82rem;color:#777;background:#fafafa;padding:12px 14px;border-radius:8px;margin:28px 0}

.related-posts{margin:40px 0;padding:24px 0;border-top:1px solid #eee}
.related-posts h2{font-size:1.3rem;margin-bottom:16px}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.related-card{background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;transition:box-shadow .2s}
.related-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}
.related-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.related-card .body{padding:12px 14px}
.related-card h3{font-size:1rem;font-weight:600;line-height:1.35;color:#111}
.related-card a{color:inherit}

.breadcrumbs{font-size:.82rem;color:#666;margin:16px 0 4px}
.breadcrumbs a{color:#0066cc}
.breadcrumbs span{margin:0 6px}

.site-footer{background:#111;color:#bbb;padding:32px 0;margin-top:48px;font-size:.9rem}
.site-footer .wrap{max-width:1100px;margin:0 auto;padding:0 16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px}
.site-footer a{color:#ddd}
.site-footer ul{list-style:none;display:flex;gap:18px;flex-wrap:wrap}

.archive-title{font-size:1.8rem;margin:24px 0 16px;font-weight:800}
.post-list{display:grid;gap:18px}
.post-list article{display:grid;grid-template-columns:160px 1fr;gap:16px;padding:14px;border:1px solid #eee;border-radius:10px;background:#fff}
.post-list article img{aspect-ratio:16/9;object-fit:cover;width:100%;border-radius:8px}
.post-list article h2{font-size:1.15rem;font-weight:700;margin-bottom:6px}
.post-list article a{color:#111}
.post-list article p{font-size:.9rem;color:#555}

.pagination{display:flex;justify-content:center;gap:8px;margin:28px 0}
.pagination a,.pagination span{padding:8px 14px;border:1px solid #ddd;border-radius:6px;color:#333}
.pagination .current{background:#111;color:#fff;border-color:#111}

@media (max-width:640px){
.post-title{font-size:1.5rem}
.post-body h2{font-size:1.25rem}
.post-body p{font-size:1rem}
.post-list article{grid-template-columns:1fr}
.main-nav ul{gap:12px}
.main-nav a{font-size:.85rem}
.site-title{font-size:1.15rem}
}

@media (prefers-color-scheme:dark){
body{background:#0e0e0e;color:#e8e8e8}
.site-header{background:#111;border-color:#222}
.site-title,.post-title,.post-body h2,.post-body h3,.related-card h3{color:#fff}
.main-nav a,.post-body p{color:#ddd}
.facts-table,.faq-item,.related-card,.post-list article{background:#141414;border-color:#222}
.facts-table th{background:#1c1c1c;color:#eee}
.disclaimer{background:#141414;color:#999}
.socials a{background:#1c1c1c;color:#ddd}
.archive-title{color:#fff}
}
