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


@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;
}

.text-content {
	font-family: transport; 
    display: block;
    text-align: center;
    color: #000;
    
    
    width: fit-content;
    max-width: 65vw;
    padding: 20px 40px;
}

.secondary-text { font-size: 20px; font-weight: 500; line-height: 1.2; }
.village-name { 
    font-size: 44px; font-weight: 500; line-height: 1.1; 
    padding: 15px 0; text-transform: uppercase; 
    letter-spacing:-1px;
}

/* The Ghost Meter: Lives outside the SVG to get accurate measurements */
#ghost-meter {
    position: absolute;
    visibility: hidden;
    border:1px solid blue;
}

#sign-wrapper { filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45)); padding:20px;}
svg { display: block; overflow:visible; }



@media only screen and (min-width: 0) and (max-width: 640px) {
	.village-name { 
	    font-size: 30px;
	}
	.secondary-text { font-size: 16px; }
}


@media only screen and (min-width: 0) and (max-width: 380px) {
	.village-name { 
	    font-size: 24px;
	}
	.secondary-text { font-size: 14px; }
}



	
				.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;
}