body { 
    font-family: "Helvetica Neue", Arial, sans-serif; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    
    background: #ddd; padding: 0 40px 40px; 
    box-sizing: border-box;
}

.site-header {
  width: 100%;
  margin: 0 0 28px;
  background: #fff;
  border-bottom: 3px solid #075a61;
  box-shadow: 0 3px 12px rgba(0, 45, 49, .08);
  box-sizing: border-box;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 12px 16px;
  box-sizing: border-box;
  color: #123b3f;
  text-decoration: none;
}
.site-brand:hover, .site-brand:focus-visible { background: #edf6f4; }
.site-brand:focus-visible { outline: 2px solid #075a61; outline-offset: 2px; }
.site-logo { display: block; width: 52px; height: 52px; flex: none; }
.site-brand-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.site-brand-text strong { font-size: 1.35rem; letter-spacing: -.02em; }
.site-brand-text small { margin-top: 4px; color: #4e6464; font-size: .87rem; }


@font-face {
  font-family: 'transport'; /* This is the name you'll use later */
  src: url('/assets/fonts/transport-heavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.council-welcome {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 20px clamp(16px, 5vw, 40px);
  border: 5px solid #000;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,.25);
  color: #000;
  font: clamp(14px, 3vw, 20px)/1.2 transport, Arial, sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
}
header.council-welcome h1 {
  margin: 12px 0;
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}
svg { display: block; overflow: visible; }


				.parish{
					border:1px solid black;
				}
	
				.parish td{
					border:1px solid black;
				}
	
				.parish  tr > td:nth-of-type(1){
					color:red;
					text-align:right;
				}
				
				
				
				
/* 1. Set up the Grid Container (Mobile First) */
.parish-links-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  
  /* Defaults to 1 column for mobile screens */
  grid-template-columns: 1fr; 
}

/* 2. Tablet View: Switch to 2 columns */
@media (min-width: 600px) {
  .parish-links-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3. Desktop View: Cap at 3 columns */
@media (min-width: 900px) {
  .parish-links-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 4. Style the Links (Same as before) */
.parish-links-list a {
  display: block;
  padding: 16px;
  background-color: #f4f4f9;
  color: #333;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.parish-links-list a:hover {
  background-color: #e2e2ea;
  border-color: #ccc;
  transform: translateY(-2px);
}

.parish-links-list a.active {
  background-color: #0056b3; /* A stronger color */
  color: white;              /* White text for contrast */
  border-color: #004494;
  font-weight: bold;
  pointer-events: none;      /* Optional: prevents clicking the link you're already on */
}



hr {
  width: 60%;
  border: 0;
  border-top: 1px solid #aaa;
  margin: 10px 0;
}

/* Country selector on the homepage. */
.country-home {
  width: min(100%, 1000px);
  text-align: center;
}
.country-home h1 { margin: 0 0 10px; line-height: 1.15; }
.country-home-intro { margin: 0 auto 20px; max-width: 38rem; line-height: 1.5; }
.parish-search { max-width: 600px; margin: 0 auto 22px; text-align: left; }
.parish-search label { display: block; font-weight: 700; margin-bottom: 7px; }
.parish-search-fields { display: flex; gap: 8px; }
.parish-search input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #8da9a5;
  border-radius: 8px;
  font: inherit;
}
.parish-search button {
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #075a61;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.parish-search input:focus-visible, .parish-search button:focus-visible {
  outline: 2px solid #075a61;
  outline-offset: 2px;
}
.parish-search-results {
  max-width: 600px;
  margin: 0 auto 22px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  text-align: left;
}
.parish-search-results h2 { margin: 0 0 10px; font-size: 1.2rem; }
.parish-search-results ul { margin: 0; padding-left: 20px; max-height: 340px; overflow: auto; }
.parish-search-results li { margin: 7px 0; }
.parish-search-results li span { color: #52615f; font-size: .9em; }
.parish-search-results a { color: #075a61; }
.country-map-panel {
  margin: 0 auto;
  padding: 16px;
  max-width: 530px;
  background: #f5f8f7;
  border: 1px solid #b9cbc8;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 45, 49, .1);
}
.uk-country-map { display: block; width: 100%; height: auto; }
.uk-country {
  fill: #77b2a8;
  stroke: #fff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill .18s ease;
}
.uk-country-map a:hover .uk-country,
.uk-country-map a:focus .uk-country { fill: #116f73; }
.uk-country-map a:focus { outline: none; }
.uk-country-map a:focus .uk-country { stroke: #042e39; stroke-width: 3; }
.country-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.country-links a {
  display: block;
  padding: 13px 8px;
  color: #075a61;
  background: #fff;
  border: 1px solid #abc4c1;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}
.country-links a:hover, .country-links a:focus-visible {
  background: #dcefeb;
  outline: 2px solid #075a61;
  outline-offset: 2px;
}
.country-map-credit { font-size: 12px; line-height: 1.4; color: #4a5554; margin: 20px auto; }
.country-map-credit a { color: #075a61; }
@media (max-width: 640px) {
  body { padding: 0 20px 20px; }
  .country-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parish-search-fields { flex-direction: column; }
}

.country-map-tooltip {
  position: fixed;
  z-index: 10;
  max-width: min(18rem, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 8px;
  background: #143f3c;
  color: #fff;
  box-shadow: 0 4px 12px #001c2840;
  font-size: .875rem;
  line-height: 1.4;
  text-align: left;
  pointer-events: none;
}
.country-map-tooltip strong { display: block; margin-bottom: 3px; }
.country-map-stats { max-width: 562px; margin: 22px auto 0; text-align: left; }
.country-map-stats h2 { margin: 0 0 5px; font-size: 1.2rem; }
.country-map-stats p { margin: 0 0 10px; }
.country-map-stats table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.country-map-stats th, .country-map-stats td { padding: 7px 8px; border-bottom: 1px solid #dce7e5; vertical-align: top; }
.country-map-stats a { color: #075a61; }

.sitemap-page{width:min(100%,960px);padding-bottom:24px}
.sitemap-page h1{margin:0 0 8px;color:#123b3f}
.sitemap-page h2{margin:24px 0 12px;color:#123b3f}
.sitemap-page p{margin:0 0 18px;line-height:1.5}
.sitemap-page a{color:#075a61}
.sitemap-countries{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.sitemap-countries a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;background:#fff;border:1px solid #abc4c1;border-radius:8px;padding:8px 14px;font-weight:700;text-decoration:none}
.sitemap-countries a:hover{background:#eff6f4}
.sitemap-countries a[aria-current]{background:#075a61;border-color:#075a61;color:#fff}
.sitemap-page a:focus-visible,.sitemap-group summary:focus-visible{outline:2px solid #075a61;outline-offset:2px}
.sitemap-group{background:#fff;border:1px solid #abc4c1;border-radius:8px;margin:0 0 8px}
.sitemap-group summary{cursor:pointer;padding:12px 14px;color:#123b3f;font-weight:700;line-height:1.4}
.sitemap-group summary:hover{background:#eff6f4;border-radius:8px}
.sitemap-group summary span{float:right;color:#4e6464;margin-left:10px;font-size:.875rem}
.sitemap-group ul{columns:16rem;column-gap:28px;margin:0;padding:8px 18px 12px 36px;border-top:1px solid #dce7e5}
.sitemap-group li{break-inside:avoid;padding:4px 0;overflow-wrap:anywhere}
.sitemap-page .sitemap-xml{margin:18px 0 0}
