/*
Theme Name: Quiet Grid Press
Author: OpenAI
Description: Lightweight editorial WordPress theme with right sidebar, centered compact logo, full posts and customizable colors.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: quiet-grid-press
*/
:root{--qg-accent:#d15e50;--qg-ink:#253142;--qg-bg:#f7f8fa;--qg-paper:#fff;--qg-line:#e5e8ed;--qg-nav:#253142}*{box-sizing:border-box}body{margin:0;background:var(--qg-bg);color:var(--qg-ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.75}a{color:var(--qg-accent)}img{max-width:100%;height:auto}.wrap{max-width:1140px;margin:auto;padding:0 22px}.masthead{background:var(--qg-paper);border-bottom:1px solid var(--qg-line)}.masthead-inner{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:112px}.brand{display:flex;align-items:center;gap:12px}.custom-logo{max-width:280px;max-height:90px;width:auto;height:auto;object-fit:contain}.site-title{font-weight:850;font-size:26px;text-decoration:none;color:var(--qg-ink)}.site-description{font-size:12px;color:#78838e;margin:0}.nav-menu{display:flex;gap:7px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.nav-menu a{display:block;padding:9px 13px;color:var(--qg-nav);text-decoration:none;font-weight:700;font-size:13px;border-radius:5px}.nav-menu a:hover,.current-menu-item>a{background:var(--qg-accent);color:white}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px;padding-top:38px;padding-bottom:60px}.post-card{background:var(--qg-paper);border:1px solid var(--qg-line);margin-bottom:22px;padding:32px 35px;border-radius:4px}.post-card h1,.post-card h2{font-family:Georgia,serif;line-height:1.25;margin:5px 0 12px;overflow-wrap:anywhere}.post-card h2{font-size:30px}.post-card h1{font-size:35px}.post-card h2 a{text-decoration:none;color:var(--qg-ink)}.post-card h2 a:hover{color:var(--qg-accent)}.meta{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#78838e}.post-thumb{margin:20px 0}.post-thumb img{width:100%;display:block}.entry-content{overflow-wrap:anywhere}.entry-content h2,.entry-content h3{line-height:1.35}.entry-content iframe{max-width:100%}.entry-content blockquote{border-left:3px solid var(--qg-accent);padding-left:18px;margin-left:0}.sidebar .widget{background:var(--qg-paper);border:1px solid var(--qg-line);padding:22px;margin-bottom:20px;border-radius:4px}.sidebar .widget-title,.sidebar .wp-block-heading{font-size:15px;line-height:1.4;margin:0 0 16px;padding-bottom:12px;border-bottom:2px solid var(--qg-accent);text-transform:uppercase;letter-spacing:.5px}.sidebar ul{list-style:none;padding:0;margin:0}.sidebar li{padding:9px 0;border-bottom:1px solid var(--qg-line)}.sidebar li:last-child{border-bottom:0}.sidebar a{text-decoration:none;color:var(--qg-ink)}.sidebar a:hover{color:var(--qg-accent)}input[type=search],input[type=text]{width:100%;padding:11px;border:1px solid var(--qg-line);border-radius:4px}button,input[type=submit]{border:0;background:var(--qg-accent);color:white;padding:10px 14px;border-radius:4px;cursor:pointer}.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{display:inline-block;background:white;padding:7px 13px;border:1px solid var(--qg-line);text-decoration:none;border-radius:4px}.page-numbers.current,.page-numbers:hover{background:var(--qg-accent);color:white}.site-footer{background:var(--qg-ink);color:#fff;padding:24px 0;text-align:center;font-size:13px}.back-to-top{position:fixed;bottom:22px;right:22px;background:#111;color:white;width:43px;height:43px;border-radius:5px;display:grid;place-items:center;text-decoration:none;font-size:22px;z-index:50}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{position:static;clip:auto;width:auto;height:auto}.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{max-width:100%}.wp-caption-text{font-size:13px;color:#78838e}.sticky{border-top:3px solid var(--qg-accent)}.gallery-caption{font-size:13px}.bypostauthor{font-weight:inherit}@media(max-width:850px){.masthead-inner{flex-direction:column;padding:20px 0;gap:12px}.layout{grid-template-columns:1fr}.nav-menu{justify-content:center}.sidebar{width:100%}}@media(max-width:560px){.wrap{padding:0 14px}.post-card{padding:21px 19px}.post-card h1{font-size:28px}.post-card h2{font-size:25px}.custom-logo{max-width:240px}.layout{gap:20px;padding-top:20px}}
