.property-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:stretch;margin:0;padding:0; margin-bottom:16px;}
.property-card,.property-card-address{grid-column:span 12;list-style:none;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:16px;transition:box-shadow .2s,transform .2s}
@media (min-width:640px){
.property-card-address{grid-column:span 6}
.property-card{grid-column:span 3}
}
@media (min-width:1024px){
.property-card-address{grid-column:span 6}
.property-card{grid-column:span 3}
}
.property-title, .property-title h2{color:#470a68;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0 0 6px}
.property-text{margin:0;font:400 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#222}
@media (prefers-color-scheme:dark) {
.property-card,.property-card-address{background:#000;border-color:#22252a;box-shadow:0 2px 10px #0006} /* #101214 #470a68 */
.property-title{color:#f6f7f9}
.property-text{color:#e6e7ea}
}

.service-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:stretch;margin:0;padding:0}
.service-card{grid-column:span 12;list-style:none;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:16px;transition:box-shadow .2s,transform .2s}
.service-card-links{display:grid;grid-auto-rows:max-content;align-content:space-between;height:100%;grid-column:span 12;list-style:none;background:#fff;border:0px;}
.service-card-links a {text-decoration:none; color:#222 }
.service-card-links p {margin: .5rem .5rem .5rem; line-height:1.2em;}
.service-card-links .collectionLink:hover {border-color:#470a68;}
.service-card-links a:focus, .service-card-links a:active {outline:none;box-shadow:none; }
@media (min-width:640px) {
.service-card, .service-card-links{grid-column:span 6} /* 6 (2 columns) */
}
@media (min-width:1024px) {
.service-card, .service-card-links{grid-column:span 4} /* 4 (3 columns) */
}
.service-images{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.service-images img{display:block;width:70px;height:70px;object-fit:contain;background:#f6f7f9;border:1px solid #ececf0;border-radius:10px;}
.service-title{color:#470a68;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0 0 6px}
.service-next,.service-prev,.service-schedule{margin:0;font:400 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#222}
.service-next strong,.service-prev strong{font-weight:600;color:#470a68;}
.service-next strong::after,.service-prev strong::after{content:""}
.service-next, .service-prev {padding-top:16px;}
time::before {content: "\a";white-space: pre;}
/*.collectionLink {background-color:#f0f0f0;border:2px dotted #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d; padding:12px;margin-bottom:6px;   }*/


.collectionLink {
    display: flex;
    gap: 4px;
    align-items: center;
    background-color: #fff;
    border: 2px dotted #ececf0;/**/
    border-radius: 10px;
    /*box-shadow: 0 2px 8px #0000000d;*/
    padding-top: 10px;
    padding-bottom: 10px;
    font:400 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    margin-bottom: 4px;
    min-height:55px;
    color:#222;
}

.icon-left {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
    margin-left:8px;
    background:#f6f7f9;
    border-radius:6px;
    padding:2px;
    border: 1px solid #ececf0;
}
@media (max-width:640px) {
	.collectionLink {}
}

.service-card-links:has(a:nth-of-type(5)) {
padding:0px;
}
.highlight {border:2px dotted #470a68 !important}

@media (prefers-color-scheme:dark) {
.collectionLink {background-color:#000;border:1px solid #22252a;border-radius:12px;box-shadow:0 2px 8px #0000000d; padding:12px;margin-bottom:6px;   }
.collectionLink p {color:#f6f7f9;}
.collectionLink .icon-left {background:#333333;border-radius:6px;padding:6px;margin-left:2px;border: 1px solid #555;}
.service-card{background:#000;border-color:#22252a;box-shadow:0 2px 10px #0006}
.service-card-links{background:none;}
.service-images img{background:#333333;border-color:#555}
.service-title, .collectionLink a {color:#f6f7f9}
.service-next,.service-prev, .service-schedule, .service-card a, .service-images{color:#e6e7ea}
.service-next strong,.service-prev strong{color:#f6f7f9}
}
.simpleTitle {border:1px solid #CCCCCC;margin-bottom:5px;margin-right:5px;padding:5px;border-radius:5px;-webkit-border-radius: 5px;-moz-border-radius: 5px; background-color:#f0f0f0; font-weight: bold;}
.service-prev i {color:red}

.councillor-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:stretch;margin:0;padding:0;padding-bottom:16px;}
.councillor-card{grid-column:span 12;list-style:none;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:16px;transition:box-shadow .2s,transform .2s}
@media (min-width:640px) {
.councillor-card{grid-column:span 6} /* 6 (2 columns) */
}
@media (min-width:1024px) {
.councillor-card{grid-column:span 4} /* 4 (3 columns) */
}
.councillor-images{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.councillor-images img{width:80px;height:105px;background:#f6f7f9;border:2px solid #470a68;border-radius:10px;padding:6px; object-fit:cover;object-position:center;}
.councillor-name{color:#470a68;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0 0 6px}
.councillor-phone,.councillor-email,.councillor-party,.councillor-rep{margin:0;font:400 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#222}
.councillor-phone strong,.councillor-email strong,.councillor-party strong,.councillor-rep strong{font-weight:600;color:#470a68;}
.councillor-phone strong::after,.councillor-email strong::after,.councillor-party strong::after,.councillor-rep strong::after{content:""}
.councillor-phone a {text-decoration:none;color:#222222}
@media (prefers-color-scheme:dark) {
.councillor-card{background:#000;border-color:#22252a;box-shadow:0 2px 10px #0006}
.councillor-images img{background:#333333;border-color:#1b1e24}
.councillor-name,.councillor-phone strong,.councillor-email strong,.councillor-party strong,.councillor-rep strong{color:#f6f7f9}
.councillor-phone,.councillor-phone a,.councillor-email,.councillor-party,.councillor-rep,.councillor-email a {color:#e6e7ea}

}

/* Base grid and cards */
.ctax-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:stretch;margin:0;padding:0}
.ctax-card{grid-column:span 12;list-style:none;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:16px;transition:box-shadow .2s,transform .2s}

@media (min-width:640px){.ctax-card{grid-column:span 6}}
@media (min-width:1024px){.ctax-card{grid-column:span 6}}

.ctax-text{color:#222;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;margin:0 0 6px}
.ctax-text li{margin:0;font:400 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#222}
.ctax-text li.fh{margin:0;font:400 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#470a68}
.ctax-text strong{color:#222;font:600 2rem/1.8}

/* First card centre layout and big amount */
.ctax-card--center{display:flex;flex-direction:column;align-items:center;text-align:center; justify-content:center;}
.ctax-amount{  font-weight:800;  font-size:clamp(1.5rem,2.5vw,2.5rem);  line-height:1.05;  color:#470a68;  margin:2px 0 6px;  letter-spacing:-0.02em;}

/* Second card, faux table grid */
.ctax-split{  list-style:none;  margin:8px 0 0;  padding:0;  display:grid;  grid-template-columns:1fr auto;  column-gap:12px;  row-gap:8px;}
.ctax-split li{display:contents}
.ctax-split li.fh span {background:#f0f0f0; margin:0;font:500 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#470a68;border:1px solid #e6e6e9;border-radius:5px;padding-left:6px;margin-left:-7px}
.ctax-split li.fh em {background:#f0f0f0; margin:0;font:700 .95rem/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#470a68;border:1px solid #e6e6e9;border-radius:5px;padding-left:4px;padding-right:4px;margin-right:-5px}
.ctax-split span{  font:400 .98rem/1.4 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:#222;}
.ctax-split em{  font-style:normal;  font-weight:700;  color:#111;  text-align:right;  font-size:1rem;  white-space:nowrap;}

/* Dark mode */
@media (prefers-color-scheme:dark){
.ctax-card{background:#000;border-color:#22252a;box-shadow:0 2px 10px #0006}
.ctax-text{color:#f6f7f9}
.ctax-text li{color:#e6e7ea}
.ctax-text strong{color:#e6e7ea}
.ctax-amount{color:#e6e7ea}
.ctax-split span{color:#e6e7ea}
.ctax-split em{color:#f6f7f9}
.ctax-split li.fh span, .ctax-split li.fh em {background:#470a68;font:700;color:#fff}
}


/* Base grid and cards */
.nhs-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:start;margin:0;padding:0}
.nhs-card{grid-column:span 12;list-style:none;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:16px;transition:box-shadow .2s,transform .2s}
.nhs-card--center{display:flex;flex-direction:column;align-items:center;text-align:center}
@media (min-width:640px){.nhs-card{grid-column:span 4}}
@media (min-width:1024px){.nhs-card{grid-column:span 2}}
.nhs-text {margin:.75rem 0 .75rem;}
.nhs-text a {text-decoration:none; color:#470a68;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
/* Dark mode */
@media (prefers-color-scheme:dark){
.nhs-card,.nhs-card--center{background:#000 /*470a68*/;border-color:#22252a;box-shadow:0 2px 10px #0006}
.nhs-text a{color:#e6e7ea}
}

/* Base grid and cards */
.cpz-cards{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:stretch;margin:0;padding:0; padding-bottom:16px}
.cpz-card,.cpz-card-ico{grid-column:span 12;list-style:none;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:16px;transition:box-shadow .2s,transform .2s}
.cpz-card--center{display:flex;flex-direction:column;align-items:center;text-align:center; justify-content:center;}
@media (min-width:640px){
.cpz-card-ico{grid-column:span 4}
.cpz-card{grid-column:span 8}
}
@media (min-width:1024px){
.cpz-card-ico{grid-column:span 2}
.cpz-card{grid-column:span 4}
}
.cpz-text {margin:.75rem 0 .75rem;}
.cpz-ico-text {color:#470a68;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
.cpz-text a {text-decoration:none; color:#470a68;font:600 1.125rem/1.3 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
/* Dark mode */
@media (prefers-color-scheme:dark){
.cpz-card,.cpz-card-ico,.cpz-card--center{background:#000;border-color:#22252a;box-shadow:0 2px 10px #0006}
.cpz-text,.cpz-ico-text,.cpz-text a{color:#e6e7ea}
}

.tabs{color:#470a68;width:100%;margin:auto;background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;transition:box-shadow .2s,transform .2s}
.tab-buttons{display:flex;border-bottom:1px solid #ddd;}
.tab-buttons button{color:#470a68;flex:1;padding:8px;cursor:pointer;border:none;border-right:1px solid #ccc; background:#f1f1f1;transition:background .2s;font-size:14px;}
.tab-buttons button:first-child{border:1px solid #f1f1f1;border-top-left-radius:12px;border-right:1px solid #ccc;}
.tab-buttons button:last-child{border:1px solid #f1f1f1;border-top-right-radius:12px;}
.tab-buttons button.active{background:#fff;border-bottom:2px solid #470a68; font-weight:700}
.tab-buttons button:hover{font-weight:700}
.tab-content{padding:20px;min-height:280px}
.tab-content[hidden] { display: none; }
.tab-content.active{display:block}
.tabs::before{background:none;}
[tabindex]:focus {outline:0px;}
.tab-buttons [role="tab"] { outline-offset: 2px; }
.tab-buttons [role="tab"][aria-selected="true"] { }

@media (prefers-color-scheme:dark) {
.tab-buttons button,.tab-buttons button.active, .tab-buttons button:first-child, .tab-buttons button:last-child{background:#000;border:1px solid #333;color:#e6e7ea}
.tabs{background:#333333; border-color:#999}
.tab-buttons button.active{border-bottom:2px solid #470a68;}
.tab-content{background:#333333;}
.site{background:#333333;}
.container, .container h1, .container h2, .tab-content, .container p, li.list__item a {color:#ffffff !important;}
}

.loading {color:#470a68;}
.highlightGreen {background:#009900;color:#fff;padding-left:4px; padding-right:4px;}

.submit-btn {  background-color: #470A68;  color: #fff;   border: none;  padding: 0.4em 1em;  font-size: 1rem;  border-radius: 4px;  cursor: pointer;  transition: background-color 0.2s ease;}
.submit-btn:hover {  background-color: #5d0c89; }
.submit-btn:focus {  outline: 2px solid #ccc;  outline-offset: 2px;}

input, select {
  appearance: menulist;
  -webkit-appearance: menulist-button;
  -moz-appearance: menulist;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 2px 1px;
  height: 32px;
  font-size: .8em;
  background-color: #fff;
  box-sizing: border-box;
}
select:focus, input:focus  {
  outline: none;
  border-color: #7B1FA2; /* your purple theme color */
  box-shadow: 0 0 0 2px rgba(123, 31, 162, 0.2);
}
input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  }
  
#panel-polling-station img{background:#fff;border:1px solid #e6e6e9;border-radius:12px;box-shadow:0 2px 8px #0000000d;padding:10px;transition:box-shadow .2s,transform .2s}


@media (prefers-color-scheme:dark) {
#panel-polling-station img{background:none;}
.submit-btn, input, select{  background-color: #000; color:#fff; border: 1px solid #555;}
}

.site {position:relative;background-size: cover;}
.site::before{content: '';position:absolute;inset:0;background-size:inherit;background-position:inherit;background-repeat:inherit;opacity:0.3;z-index:1;}
.site > * {position:relative;z-index:2;}
@media (min-width:640px) {
.site::before{opacity:0.3;}
}
option.PP {font-style: italic;}