/*
Theme Name: Smart Geek Reader
Template: twentytwentyfive
Version: 0.1.0
Text Domain: smart-geek-reader
*/
:root{--sg-ink:#18252f;--sg-muted:#52616b;--sg-accent:#185baf}
body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--sg-ink);background:#fff;font-size:18px;line-height:1.65}
.sg-header{max-width:1160px;margin-inline:auto!important;padding:22px 24px!important;border-bottom:1px solid #e2e7eb;gap:18px}
.sg-header .wp-block-site-title{font-size:26px!important;font-weight:750;letter-spacing:-.8px;margin:0!important}
.sg-header .wp-block-site-title a{text-decoration:none}
.sg-nav{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:15px;line-height:1.4}
.sg-nav a{text-decoration:none;color:var(--sg-muted);padding:7px 0}
.sg-nav a:hover,.sg-nav a[aria-current]{color:var(--sg-accent);text-decoration:underline}
.sg-main{box-sizing:border-box;max-width:828px!important;margin:0 auto!important;padding:38px 24px 56px!important}
.sg-main .wp-block-post-title{font-size:clamp(30px,4vw,46px)!important;line-height:1.14!important;letter-spacing:-.025em;font-weight:720;margin:0 0 16px!important}
.sg-meta{font-size:14px!important;color:var(--sg-muted);display:flex;gap:16px;flex-wrap:wrap;margin:0 0 26px!important}
.sg-meta a{color:inherit}
.sg-main .wp-block-post-content{font-size:18px!important;line-height:1.7!important;margin-top:0!important}
.sg-main .wp-block-post-content>*{max-width:none}
.sg-main .wp-block-post-content p{margin:0 0 18px}
.sg-main .wp-block-post-content h2{font-size:28px;line-height:1.25;font-weight:700;margin:32px 0 14px;letter-spacing:-.015em}
.sg-main .wp-block-post-content h3{font-size:22px;line-height:1.35;font-weight:650;margin:24px 0 12px}
.sg-main .wp-block-post-content ul,.sg-main .wp-block-post-content ol{padding-left:1.45em;margin:0 0 22px}
.sg-main .wp-block-post-content li{padding-left:3px;margin-bottom:10px}
.sg-main a{color:var(--sg-accent);text-underline-offset:3px}
.sg-main img{height:auto;max-width:100%}
.sg-main table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:16px}
.sg-main td,.sg-main th{border:1px solid #dbe1e6;padding:10px;min-width:120px;text-align:left}
.sg-main :where(pre,code){overflow-wrap:anywhere}
.sg-footer{max-width:1160px;margin:0 auto!important;border-top:1px solid #e2e7eb;padding:24px!important;color:var(--sg-muted);font-size:14px}
.sg-footer p{margin:0}
.sg-list .wp-block-post{padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid #e2e7eb}
.sg-list .wp-block-post-title{font-size:27px!important}
.sg-header .wp-block-shortcode{margin:0!important}
@media(max-width:600px){body{font-size:17px}.sg-header{padding:18px!important;align-items:flex-start!important;flex-direction:column!important}.sg-nav{gap:8px 16px;font-size:14px}.sg-main{padding:26px 18px 38px!important}.sg-main .wp-block-post-content{font-size:17px!important}.sg-main .wp-block-post-content h2{font-size:24px}.sg-meta{margin-bottom:20px!important}.sg-footer{padding:20px 18px!important}}

/* Smart Geek editorial covers v1 */
.sg-main.sg-list{max-width:1120px!important}
.sg-list .wp-block-post{display:grid;grid-template-columns:300px minmax(0,1fr);column-gap:30px;row-gap:12px;align-items:start;padding:28px 0;margin:0}
.sg-list .wp-block-post>.sg-card-image{grid-column:1;grid-row:1/4;margin:0!important}
.sg-list .wp-block-post>.wp-block-post-title,.sg-list .wp-block-post>.wp-block-post-excerpt{grid-column:2;margin:0!important}
.sg-card-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.sg-main .sg-hero-image{margin:0 0 28px!important}
.sg-hero-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px}
.sg-cover-caption{font-size:12px;line-height:1.5;color:#52616b;margin:8px 0 0}
@media(max-width:700px){.sg-list .wp-block-post{display:block}.sg-list .wp-block-post>.sg-card-image{margin:0 0 18px!important}.sg-list .wp-block-post>.wp-block-post-title{margin-bottom:12px!important}.sg-list .wp-block-post-title{font-size:25px!important}.sg-hero-image img{border-radius:10px}}