/* ukip_aylesbury_com_4aYJTojq — diversify_v4 (parametric layouts) */
/* palette=steel_gray typo=playfair_inter cols=3,hero=first_full,gap=14x18,mw=1180,decor=plain,align=left header=15 nav=12 entry=5 footer=2 radius=0 density=compact */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --heading:"Playfair Display", Georgia, serif;
  --body:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg:#f8f9fa;
  --surface:#ffffff;
  --surface-alt:#eceff2;
  --text:#18212e;
  --muted:#495057;
  --border:#dee2e6;
  --accent:#343a40;
  --accent-dark:#212529;
  --accent-soft:#e9ecef;
  --radius:0;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:var(--body);font-size:16px;line-height:1.65;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:#343a40;text-decoration:none}
a:hover{color:#212529;text-decoration:underline}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{font-family:var(--heading);color:#18212e;line-height:1.28;margin:1.25em 0 .5em;font-weight:700;letter-spacing:-0.005em}
h1{font-size:2.2em}h2{font-size:1.7em}h3{font-size:1.35em}h4{font-size:1.12em}
p{margin:0 0 1.15em}
blockquote{margin:1.4em 0;padding:.5em 1.2em;border-left:4px solid #343a40;background:#eceff2;color:#495057;font-style:italic}
blockquote p{margin:0}
hr{border:0;border-top:1px solid #dee2e6;margin:2em 0}
code,kbd,samp{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:.92em;background:#eceff2;padding:.12em .38em;border-radius:3px}
pre{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;background:#eceff2;padding:14px 16px;overflow-x:auto;border-radius:0;font-size:.92em;line-height:1.55}
pre code{background:transparent;padding:0}
ul,ol{padding-left:1.4em;margin:0 0 1.15em}
ul li,ol li{margin-bottom:.4em}
table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.95em}
th,td{padding:.55em .8em;border-bottom:1px solid #dee2e6;text-align:left}
th{background:#eceff2;font-weight:600;color:#18212e}
::selection{background:#e9ecef;color:#18212e}

.site-header{background:#ffffff;color:#18212e;padding:42px 24px 30px;text-align:center;border-bottom:1px solid #dee2e6}
.site-header .wrap{max-width:880px;margin:0 auto}
.site-header .wrap::before{content:"";display:block;width:48px;height:2px;background:#343a40;margin:0 auto 16px}
.site-title{font-family:var(--heading);font-size:2em;margin:0;font-weight:700;letter-spacing:-0.012em}
.site-title a{color:#18212e;text-decoration:none}
.site-tagline{margin:10px 0 0;color:#495057;font-size:.95em;letter-spacing:.04em}

.site-nav{background:#ffffff;border-bottom:1px solid #dee2e6}
.site-nav .wrap{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;flex-wrap:wrap}
.site-nav .nav-links{display:flex;flex-wrap:wrap;align-items:center}
.site-nav a{color:#18212e;padding:14px 14px;font-size:.9em;font-weight:600;text-decoration:none;border-bottom:3px solid transparent}
.site-nav a:hover{color:#343a40;border-bottom-color:#343a40;text-decoration:none}
.site-nav form{margin-left:auto;position:relative}
.site-nav input[type=search]{padding:7px 14px;border:1px solid #dee2e6;background:#ffffff;color:#18212e;border-radius:999px;font-size:.88em;width:200px;font-family:inherit}
.site-nav input[type=search]:focus{outline:none;border-color:#343a40;box-shadow:0 0 0 3px #e9ecef}

.container{max-width:820px;margin:0 auto;padding:48px clamp(20px,4vw,40px) 60px;background:#ffffff}

.archive-container{max-width:1180px;margin:0 auto;padding:64px clamp(16px,3vw,40px) 60px;text-align:left}
.post-list{display:grid;grid-template-columns:repeat(3,1fr);row-gap:14px;column-gap:18px}
.post-list > .entry:first-child{grid-column:1/-1;padding-bottom:22px;margin-bottom:4px;border-bottom:2px solid #dee2e6}
.post-list > .entry:first-child .entry-title{font-size:1.9em}
.post-list > .entry:first-child .excerpt{font-size:1.04em;max-width:760px}
@media (max-width:980px){.post-list{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.post-list{grid-template-columns:1fr}}

.entry{padding:22px 24px;margin:0;background:#eceff2;border:1px solid transparent;border-radius:0;transition:border-color .2s,background .2s}
.entry:hover{border-color:#dee2e6;background:#ffffff}
.entry .cat,.cat-eyebrow{display:inline-block;color:#343a40;font-size:.72em;font-weight:700;text-transform:uppercase;letter-spacing:.16em;margin-bottom:10px}
.entry .cat a,.cat-eyebrow a{color:#343a40;text-decoration:none}
.entry-title{font-family:var(--heading);font-size:1.4em;line-height:1.28;margin:0 0 10px;font-weight:700}
.entry-title a{color:#18212e;text-decoration:none}
.entry-title a:hover{color:#343a40;text-decoration:none}
.entry-meta{color:#495057;font-size:.85em;margin-bottom:12px}
.entry-meta a{color:#495057}.entry-meta a:hover{color:#343a40}
.excerpt{color:#18212e;opacity:.84;margin-bottom:12px;font-size:.95em}
.more{display:inline-block;color:#343a40;font-weight:600;font-size:.88em;text-decoration:none}
.more:hover{color:#212529;text-decoration:underline}

.archive-title{font-family:var(--heading);font-size:1.7em;color:#18212e;margin:0 0 1.2em;padding-bottom:.55em;border-bottom:1px solid #dee2e6;font-weight:700}
.archive-title span{color:#343a40}

.pagination{margin:3em 0 0;text-align:center;font-size:.92em}
.pagination a,.pagination span{display:inline-block;margin:0 3px 6px;padding:8px 14px;border:1px solid #dee2e6;background:#ffffff;color:#18212e;border-radius:0;text-decoration:none}
.pagination .current{background:#343a40;color:#ffffff;border-color:#343a40}
.pagination a:hover{background:#343a40;color:#ffffff;border-color:#343a40;text-decoration:none}

body.single-post .container{background:#ffffff;padding:52px clamp(20px,4vw,52px) 64px;margin:0 auto;max-width:820px}
/* Safety reset for single-post pages: cancel any archive-card layout that
   leaks via shared selectors (e.g. .cat-eyebrow absolute positioning). */
body.single-post article.post{display:block;position:static;background:transparent;border:0;padding:0;margin:0;grid-template-columns:none}
body.single-post article.post::before{content:none}
body.single-post .cat-eyebrow{display:inline-block;position:static;top:auto;right:auto;left:auto;bottom:auto;grid-column:auto;align-self:auto;background:transparent;color:#343a40;padding:0;margin:0 0 14px;font-size:.78em;font-weight:700;text-transform:uppercase;letter-spacing:.16em;border:0;border-radius:0;width:auto;height:auto;text-align:left}
body.single-post .cat-eyebrow::before,body.single-post .cat-eyebrow::after{content:none}
body.single-post .cat-eyebrow a{color:#343a40;text-decoration:none}
body.single-post .cat-eyebrow a:hover{color:#212529}
.post-title{font-family:var(--heading);font-size:2.3em;margin:0 0 14px;line-height:1.22;font-weight:700;letter-spacing:-0.012em;color:#18212e}
.post-meta{color:#495057;font-size:.88em;margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid #dee2e6}
.post-meta a{color:#495057}.post-meta a:hover{color:#343a40}
.post-body{font-size:17px;line-height:1.78;color:#18212e}
.post-body p{margin:0 0 1.4em}
.post-body h2{font-size:1.55em;margin-top:1.6em}
.post-body h3{font-size:1.25em;margin-top:1.4em}
.post-body img{display:block;margin:1.4em auto;border-radius:0}
.post-body figure{margin:1.8em 0;text-align:center}
.post-body figcaption{font-size:.86em;color:#495057;margin-top:.4em;font-style:italic}
.post-body a{color:#343a40;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.post-body a:hover{color:#212529}
.post-body ul,.post-body ol{margin-bottom:1.4em}

.search-panel{background:#ffffff;border:1px solid #dee2e6;border-radius:0;padding:28px 30px;margin-bottom:24px}
.search-panel h1{margin:0 0 8px}.search-panel p{color:#495057;margin:0 0 16px}
.search-panel form{display:flex;gap:8px;flex-wrap:wrap}
.search-panel input[type=search]{flex:1;min-width:200px;padding:11px 14px;border:1px solid #dee2e6;background:#ffffff;color:#18212e;border-radius:0;font-size:1em;font-family:inherit}
.search-panel input[type=search]:focus{outline:none;border-color:#343a40;box-shadow:0 0 0 3px #e9ecef}
.search-panel button{padding:11px 22px;border:0;background:#343a40;color:#ffffff;border-radius:0;font-weight:600;cursor:pointer;font-family:inherit}
.search-panel button:hover{background:#212529}
.search-empty{color:#495057;font-style:italic;text-align:center;margin:20px 0}
.search-summary{color:#495057;margin:0 0 14px}
.search-results-list{list-style:none;padding:0;margin:0}
.search-results-list li{padding:12px 0;border-bottom:1px dotted #dee2e6}
.search-results-list li:last-child{border-bottom:0}
.search-results-list a{color:#18212e;font-weight:600;text-decoration:none}
.search-results-list a:hover{color:#343a40}
mark{background:#e9ecef;color:#18212e;padding:0 2px;border-radius:2px}

.search-dropdown{position:absolute;top:100%;right:0;background:#ffffff;border:1px solid #dee2e6;min-width:300px;max-height:380px;overflow-y:auto;z-index:200;box-shadow:0 10px 28px rgba(15,23,42,0.12);display:none;margin-top:6px;border-radius:0}
.search-dropdown.open{display:block}.site-nav form.has-dropdown{position:relative}
.search-dropdown a{display:block;padding:11px 14px;color:#18212e;border-bottom:1px solid #dee2e6;font-size:.9em;text-decoration:none}
.search-dropdown a:hover{background:#eceff2;color:#343a40}
.search-dropdown .see-all{background:#eceff2;color:#343a40;text-align:center;font-weight:700;text-transform:uppercase;font-size:.78em;letter-spacing:.06em}
.search-dropdown .see-all:hover{background:#343a40;color:#ffffff}
.search-dropdown .none{padding:14px;color:#495057;font-style:italic;text-align:center;font-size:.9em}

body.single-post .container{max-width:1140px;padding:48px clamp(20px,4vw,40px) 64px}

.post-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}
.post-layout > article.post{min-width:0}

.related-posts{margin:0;padding:22px 22px 24px;background:#eceff2;border:1px solid #dee2e6;border-radius:0;position:sticky;top:24px}
.related-posts h3{font-family:var(--heading);font-size:.82em;margin:0 0 16px;color:#18212e;text-transform:uppercase;letter-spacing:.18em;font-weight:700;padding-bottom:12px;border-bottom:2px solid #343a40}
.related-posts ul{list-style:none;padding:0;margin:0;display:block}
.related-posts li{margin:0;padding:12px 0;border-bottom:1px solid #dee2e6}
.related-posts li:last-child{border-bottom:0;padding-bottom:0}
.related-posts li:first-child{padding-top:0}
.related-posts li a{display:block;color:#18212e;font-family:var(--heading);font-size:.96em;font-weight:600;line-height:1.38;text-decoration:none;transition:color .15s}
.related-posts li a:hover{color:#343a40;text-decoration:none}

.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:56px 0 0;padding-top:32px;border-top:1px solid #dee2e6}
.post-nav a{display:flex;flex-direction:column;gap:6px;padding:18px 20px;background:#ffffff;border:1px solid #dee2e6;border-radius:0;text-decoration:none;color:#18212e;transition:border-color .15s,background .15s,transform .15s}
.post-nav a:hover{border-color:#343a40;background:#eceff2;text-decoration:none;transform:translateY(-1px)}
.post-nav-prev{text-align:left}
.post-nav-next{text-align:right;grid-column:2}
.post-nav .label{font-size:.74em;color:#495057;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.post-nav .title{font-family:var(--heading);font-size:1.02em;font-weight:600;line-height:1.32;color:#18212e}
.post-nav-next .title,.post-nav-next .label{text-align:right}

.site-footer{background:#eceff2;color:#18212e;padding:36px 24px;text-align:center;font-size:.9em;margin-top:60px;border-top:2px solid #dee2e6}
.site-footer a{color:#343a40;font-weight:500}.site-footer a:hover{color:#212529}

@media (max-width:1024px){
  .archive-container,.container{padding-left:20px;padding-right:20px}
}
@media (max-width:980px){
  .post-layout{grid-template-columns:1fr;gap:36px}
  .related-posts{position:static}
}
@media (max-width:640px){
  .post-nav{grid-template-columns:1fr;gap:10px}
  .post-nav-next{grid-column:1;text-align:left}
  .post-nav-next .title,.post-nav-next .label{text-align:left}
}
@media (max-width:700px){
  body{font-size:15.5px}
  .post-title{font-size:1.75em}
  .entry-title{font-size:1.3em}
  .site-nav .wrap{flex-direction:column;align-items:stretch;padding:6px 16px;gap:0}
  .site-nav .nav-links{justify-content:flex-start;width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  .site-nav .nav-links a{white-space:nowrap}
  .site-nav form{margin:8px 0;width:100%}
  .site-nav input[type=search]{width:100%}
  .search-dropdown{position:fixed;left:8px;right:8px;top:auto;width:auto;min-width:0}
  .post-body{font-size:16px;line-height:1.72}
  .site-footer > div{flex-direction:column;text-align:center}
  .site-footer a + a{margin-left:0}
}
