/*
Theme Name: Townline
Theme URI: https://pagekiwi.com/test/wrenfield/
Author: PageKiwi
Description: A plain town-council theme for Wrenfield, Vermont, PageKiwi's made-up test town. Broken on purpose.
Version: 2.3.1
Requires at least: 6.3
License: GPL-2.0-or-later
Text Domain: townline
*/
:root{--navy:#1F3A5F;--gold:#C8A24A;--ink:#222;--muted:#5d6670;--line:#dde3ea;--bg:#fff;--soft:#F3F5F8}
*{box-sizing:border-box}
body{margin:0;font:16px/1.6 -apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg)}
a{color:#1d5fa6}
img{max-width:100%;height:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.testnote{background:#111;color:#eee;font-size:13px;padding:.4rem 1rem;margin:0;text-align:center}.testnote a{color:#fff}
.util{background:var(--navy);color:#fff;font-size:14px}
.util .in,.site-header .in,.main-nav ul,.site-main,.site-footer .in{max-width:1140px;margin:0 auto;padding:0 20px}
.util .in{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;justify-content:flex-end;padding-top:.4rem;padding-bottom:.4rem}
.util a{color:#fff;text-decoration:none}.util a:hover{text-decoration:underline}
.site-header{border-bottom:1px solid var(--line)}
.site-header .in{display:flex;align-items:center;gap:1rem;padding-top:1rem;padding-bottom:1rem;flex-wrap:wrap}
.site-branding{display:flex;align-items:center;gap:.8rem;text-decoration:none;color:var(--navy)}
.site-branding img{width:56px;height:auto}
.site-title{font-family:Georgia,"Times New Roman",serif;font-size:1.9rem;font-weight:700;line-height:1;margin:0}
.site-description{margin:.2rem 0 0;color:var(--muted);font-size:.95rem}
.search-form{margin-left:auto;display:flex}
.search-form input{font:inherit;padding:.45rem .6rem;border:1px solid #b9c2cc;border-right:0;border-radius:3px 0 0 3px;width:13rem}
.search-form button{font:inherit;padding:.45rem .8rem;border:0;background:var(--navy);color:#fff;border-radius:0 3px 3px 0}
.main-nav{background:var(--soft);border-bottom:3px solid var(--gold)}
.main-nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:0}
.main-nav a{display:block;padding:.75rem 1rem;color:var(--navy);font-weight:600;text-decoration:none}
.main-nav a:hover{background:#e6eaf0}
.hero{position:relative;max-height:460px;overflow:hidden}
.hero img{display:block;width:100%;height:360px;object-fit:cover;object-position:center 15%}
.hero .caption{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(0,0,0,.65));color:#fff;padding:3rem 0 1.5rem}
.hero .caption .in{max-width:1140px;margin:0 auto;padding:0 20px}
.hero h2{font-family:Georgia,serif;font-size:2.4rem;margin:0}
.hero p{margin:.3rem 0 0;font-size:1.1rem}
.site-main{padding-top:2rem;padding-bottom:3rem}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:1rem;margin:0 0 2.5rem;padding:0;list-style:none}
.tiles a{display:block;height:100%;padding:1.1rem;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:4px;background:#fff;color:var(--navy);font-weight:700;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.tiles a span{display:block;font-weight:400;color:var(--muted);font-size:.9rem;margin-top:.3rem}
.tiles a:hover{border-color:var(--navy)}
.columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:2.5rem}
@media (max-width:800px){.columns{grid-template-columns:1fr}.search-form{margin-left:0}}
h1.entry-title,.section-title{font-family:Georgia,serif;color:var(--navy);font-size:1.7rem;margin:0 0 1rem;border-bottom:1px solid var(--line);padding-bottom:.4rem}
.post{display:grid;grid-template-columns:180px minmax(0,1fr);gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.post img{width:180px;height:120px;object-fit:cover;border-radius:3px}
.post h3{margin:0;font-family:Georgia,serif;font-size:1.2rem}.post h3 a{color:var(--navy);text-decoration:none}
.post .meta{color:var(--muted);font-size:.85rem;margin:.2rem 0}
.post p{margin:.3rem 0}
@media (max-width:560px){.post{grid-template-columns:1fr}.post img{width:100%;height:auto}}
.widget{border:1px solid var(--line);border-radius:4px;padding:1rem 1.2rem;margin-bottom:1.5rem;background:var(--soft)}
.widget h2{font-family:Georgia,serif;font-size:1.15rem;color:var(--navy);margin:0 0 .6rem}
.widget ul{margin:0;padding-left:1.1rem}
.widget li{margin:.35rem 0}
.events li{list-style:none;margin-left:-1.1rem;padding:.35rem 0;border-bottom:1px dotted #c9d1d9}
.events b{display:inline-block;min-width:3.6rem;color:var(--navy)}
.entry-content{max-width:760px}
.entry-content img{border-radius:3px}
.wp-caption-text{font-size:.85rem;color:var(--muted);margin-top:.3rem}
.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem}
.products article{border:1px solid var(--line);border-radius:4px;padding:.8rem;text-align:center}
.products h3{margin:.25rem 0;font-size:1rem}
.products .price{font-weight:700;color:var(--navy)}
.site-footer{background:#14263F;color:#dfe6ee;font-size:.95rem;margin-top:2rem}
.site-footer .in{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;padding-top:2rem;padding-bottom:1rem}
.site-footer h2{font-size:1rem;color:#fff;margin:0 0 .5rem}
.site-footer a{color:#cfe0f5}
.site-footer .bottom{border-top:1px solid #2b4466;text-align:center;font-size:.8rem;padding:.8rem 20px;color:#a9b7c6}
.small-print{color:#a8a8a8;font-size:13px}

.entry-content.wide{max-width:none}
