.transparent-header #wrapper #masthead {
    background: #F5F3EF;
}
.post__toc {
	display: none;
}

.entry-taxonomies {
    margin-bottom: 0.5em;
    letter-spacing: .05em;
    font-size: 70%;
    text-transform: uppercase;
    margin-top: 1.6em;
}

/* Styled jump link menu for accessibility and clarity */
.jump-links {
  text-align: center;
  margin: 1.5em 0;
  font-size: 1.1rem; /* Increased from 1rem */
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.a-to-z-jump-links a {
  display: inline-block;
  background: #e2e8f0;
  padding: 0.3em 0.6em;
  margin: 0.2em;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  color: #2B6CB0;
}

.a-to-z-jump-links a:hover {
  background: #cbd5e0;
  color: #1A4A80;
}
/* Nearby Counties Box */
.nearby-counties {
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  padding: 1em;
  margin: 1.5em 0;
  font-size: 1em;
  line-height: 1.6;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.nearby-counties a {
  color: #005a9c;
  text-decoration: underline;
}
.nearby-counties a:hover {
  text-decoration: none;
}
.free-books {
    border-left-color: #2B6CB0;
    border-left-width: 0.5em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .4);
}
center.hdisclaim {
    font-size: small;
}
.home .hdisclaim {
  display: none;
}
a.thirstylink::after {
  content: "*";
  font-size: 0.9em;
  color: inherit;
}

.wp-block-details summary {
    cursor: pointer;
    font-size: 22px;
    color: #215387;
    background-color: #faf9f7;
    padding-left: 0.5em;
	  margin: 6px;
}
.wp-block-rank-math-toc-block {
    display: none;
}
#ez-toc-container {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.parishmouse-intro {
  margin: 2em auto;
  padding: 1em 2em;
  text-align: center;
  max-width: 800px;
  background-color: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* subtle lift */
  line-height: 1.6;                       /* easier reading */
}
/* Free Parish Registers */
.free-registers {
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  padding: 1em;
  margin: 1.5em 0;
  font-size: 1em;
  line-height: 1.6;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.free-registers a {
  color: #005a9c;
  text-decoration: underline;
}
.free-registers a:hover {
  text-decoration: none;
}
.adsense-auto-ads-ignore {
       google-auto-ads: ignore;
}
center.pmads {
    padding: 15px;
    margin: 22px;
	font-size: 12px;
	color: lightgray;
}
.pm-affiliate-disclaimer {
	background-color: #faf9f7;
	padding: 10px;
}
/* Book Adverts Boxes with description */
.pm-lasso-box {
  border: 1px solid #ddd;
  padding: 16px;
  margin: 24px 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.pm-lasso-box:hover {
  box-shadow: 0 0 0 2px #0073aa;
}

.pm-lasso-text {
  flex: 2;
  font-size: 16px;
  line-height: 1.8;
	color: black;
	margin-top: auto;
	margin-bottom: auto;
}

.pm-lasso-title {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 8px;
}

.pm-lasso-quote {
  font-style: italic;
  margin-top: 8px;
}

.pm-lasso-button {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  color: #0073aa;
  text-decoration: none;
  border-radius: 3px;
  font-size: 20px;
}

.pm-lasso-button:hover {
  background: #005f8a;
}

.pm-lasso-image-wrap {
  flex: 1;
  max-width: 150px;
  overflow: hidden;
}

.pm-lasso-image-wrap img {
  width: 100%;
  display: block;
}

/* Mobile stacking with image FIRST */
@media (max-width: 600px) {
  .pm-lasso-box {
    flex-direction: column;
  }
  .pm-lasso-image-wrap {
    order: -1;
    max-width: 100%;
  }
	.pm-lasso-image-wrap img {
    width: 180px;
    display: block;
    margin: auto;
}
}
/* Small Book Advert (no description) */

.pm-lasso-box-small {
	border: 1px solid #ddd;
  padding: 12px;
  margin: 24px 0;
	margin-left: auto;
  margin-right: auto;
	max-width: 800px;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.pm-lasso-box-small:hover {
  box-shadow: 0 0 0 2px #0073aa;
}

.pm-lasso-title-small {
  font-weight: 600;
  font-size: 20px;
	line-height: 1.9;
  margin-bottom: 8px;
}

.pm-lasso-text-small {
  flex: 2;
  font-size: 16px;
  line-height: 1.8;
	color: black;
	margin-top: auto;
	margin-bottom: auto;
}

.pm-lasso-button-small {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  color: #0073aa;
  text-decoration: none;
  border-radius: 3px;
  font-size: 20px;
	font-weight: 600
}

.pm-lasso-image-wrap-small {
  flex: 1;
    max-width: 120px;
	  max-height: 200px;
    overflow: hidden;
    
}
  overflow: hidden;
}

.pm-lasso-image-wrap-small img {
  border-radius: 4px;
}

/* Mobile override */
@media (max-width: 600px) {
  .pm-lasso-box-small {
    flex-direction: column;
  }

  .pm-lasso-image-wrap-small {
    order: -1;
    max-width: 100%;
  }
	
	/* Centre book cover images on mobile */ 
	.pm-lasso-image-wrap-small img { 
		display: block; 
		margin-left: auto; 
		margin-right: auto;
		max-width: 90px;
		aspect-ratio: 2 / 3 auto;
	}

  .pm-lasso-title-small {
    font-size: 16px;
    text-align: center;
  }
	
	.pm-lasso-text-small {
  display: none;
}

  .pm-lasso-button-small {
    display: block;
    margin: 12px auto 0;
    font-size: 18px;
		text-align: center;
  }
}