/*
Theme Name: TGD Base v1.8
Theme URI: https://thegladstonedaily.com
Author: The Gladstone Daily
Description: Desktop nuclear pin (center logo/title; right-pinned city+weather). Mobile kept perfect. Blue header/footer.
Version: 1.9
Text Domain: tgd
*/
:root{--tgd-blue:#0A76FF;--tgd-text:#111827;--tgd-white:#ffffff;}
html,body{margin:0;padding:0;color:var(--tgd-text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;}
a{color:#0A66C2;text-decoration:none}a:hover{text-decoration:underline}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.tgd-bar{background:var(--tgd-blue);color:var(--tgd-white)}
footer.tgd-foot{background:var(--tgd-blue);color:var(--tgd-white);padding:14px 0;text-align:center;font-weight:700}
.tgd-header{display:grid;grid-template-columns:1fr;align-items:center;gap:8px;min-height:84px;padding:12px 0;}
.tgd-center{text-align:center}
.tgd-logo img{max-height:48px;height:auto;width:auto;object-fit:contain;display:block;margin:0 auto}
.tgd-title{margin-top:6px;color:#fff;font-weight:800;font-size:1.1rem;line-height:1.1;white-space:nowrap}
.tgd-right{width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}
.tgd-right .city{font-size:1.05rem;letter-spacing:.2px}
.tgd-right .state{font-size:.95rem}
.tgd-weather{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.tgd-weather .icon{width:24px;height:24px;display:inline-block}
.tgd-weather a{color:#fff;font-weight:700}
@media (min-width:1024px){
 .tgd-bar .wrap .tgd-header,.tgd-bar .tgd-header{position:relative !important;display:block !important;min-height:96px !important;padding:14px 320px 14px 16px !important;}
 .tgd-bar .tgd-header .tgd-center{position:absolute !important;left:50% !important;top:50% !important;transform:translate(-50%,-50%) !important;text-align:center !important;margin:0 !important;max-width:640px !important;z-index:1 !important;}
 .tgd-bar .tgd-header .tgd-logo img{max-height:56px !important}
 .tgd-bar .tgd-header .tgd-title{font-size:1.2rem !important}
 .tgd-bar .tgd-header .tgd-right{position:absolute !important;right:16px !important;top:50% !important;transform:translateY(-50%) !important;display:flex !important;flex-direction:column !important;align-items:flex-end !important;text-align:right !important;gap:4px !important;min-width:260px !important;max-width:40vw !important;white-space:nowrap !important;}
 .tgd-bar .tgd-header .tgd-weather .icon{width:26px;height:26px}
}
main.wrap{padding:18px 0 40px}
.entry{margin:0 0 24px 0;padding:0 0 16px 0;border-bottom:1px solid #e5e7eb}
.entry h2{margin:0 0 8px 0}

/* TGD patch v1.9: ensure the_content() is rendered on pages */
