.blog .page-header,
.blog .archive-header,
.blog .page-title-section,
.blog .header-style-1,
.blog .custom-page-header {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.blog #primary, 
.blog main#main {
	padding-top: 20px !important;
}

.entry-header {
	background-color: white !important;
	color: #434343 !important;
}

.main-navigation ul {
	background-color: white !important;
}

.main-navigation .menu-item {
	background-color: white !important;
	margin: .1px;
	border-radius: 25px !important;
}

@media (min-width: 1000px) {
	.main-navigation .menu-item-5145 {
		width: calc(19% + 2px) !important;
	}
}

.main-navigation .menu-item a:hover {
	background-color: #163BB5 !important;
	color: white !important;
}

.wp-block-search button {
	background-color: #163BB5 !important;
}

.entry-breadcrumbs {
	background-color: white !important;
}

.entry-breadcrumbs 	.current-page {
	color: #434343 !important;
}

body.single .hentry .entry-title span {
	color: #000000 !important;
}
.entry-meta, .post-thumbnail {
	background-color: white !important;
}

.site-main {
	width: 100;
	Margin-right: 0px;
}

@media (min-width: 1000px) {
	.category .site-main {
		margin-right: 25% !important;
	}
}

.single-post .widget-area {
	position: relative;
	z-index: -1;
}


.sharedaddy {
	display: none !important;
}

.post-template-default {
	.sharedaddy {
		display: block !important;
	}
}

h1, h1 strong {
	font-size: 28px;
	letter-spacing: 5px;
}
.wp-block-latest-posts__post-excerpt .more-link {
  margin-left: 0.3em !important;
}
h1, h1 strong {
	font-size: 42px;
	letter-spacing: 1px;
}
.site-title,
.site-title a {
	letter-spacing: 1px !important;
}/* Limit height of the main post photo */
.single .wp-post-image,
.single .wp-block-post-featured-image img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}.postid-1234 .wp-post-image,
.postid-1234 .wp-block-post-featured-image img {
  object-fit: contain;
  background: #ffffff;
}
.wp-block-latest-posts__featured-image img {
  width: 220px !important;
  height: 160px !important;
  max-width: none !important;
  object-fit: cover;
	}
h2.wp-block-heading {
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}

ul.wp-block-latest-posts {
  margin-top: 0 !important;
  padding-top: 0 !important;
	}
.wf-active h1.entry-title { font-size: 1.6em !important; }

/* Colour used by the A–Z — change this one value to recolour everything */
.az-nav, .contributors-az { --az: #333; }

/* A–Z bar */
.az-nav { display:flex; flex-wrap:wrap; gap:.3rem; margin:1.5rem 0 2rem; }
.az-nav a, .az-nav span {
  display:inline-block; min-width:1.9rem; padding:.25rem 0;
  text-align:center; font-weight:600; border-radius:4px;
  border:1px solid var(--az); color:var(--az); text-decoration:none;
}
.az-nav a:hover { background:var(--az); color:#fff; }
.az-nav span { border-color:#e3e3e3; color:#ccc; }

/* Columns */
.contributors-az { column-count:3 !important; column-gap:2rem; }
@media (max-width:700px) { .contributors-az { column-count:2 !important; } }
@media (max-width:420px) { .contributors-az { column-count:1 !important; } }

/* Letter groups */
.az-group { break-inside:avoid; page-break-inside:avoid; margin:0 0 1.2rem; }
.az-group h2 {
  font-size:1.5rem; line-height:1; margin:0 0 .4rem; padding:0 0 .25rem;
  border-bottom:1px solid #cfd8ea; color:var(--az);
  scroll-margin-top:5rem;
}
.az-group ul { list-style:none !important; margin:0 !important; padding:0 !important; }
.az-group li { padding:.15rem 0; margin:0; line-height:1.35; font-size:.95em; }
.az-group li::before { content:none !important; }
.az-group a { text-decoration:none; }
.az-group a:hover { text-decoration:underline; }
/* ===== Latest posts as cards ===== */

/* ===== Latest posts as cards ===== */

/* Image: fills the card, 3:2 shape */
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image,
.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image a {
  display:block !important; float:none !important;
  width:100% !important; max-width:100% !important;
  margin:0 0 .7rem !important;
}
.wp-block-latest-posts.is-grid li img {
  display:block !important;
  width:100% !important; max-width:100% !important;
  height:auto !important; max-height:none !important;
  aspect-ratio:3/2; object-fit:cover !important;
}

/* Title */
.wp-block-latest-posts.is-grid li > a {
  display:block; font-weight:600; font-size:1.15rem; line-height:1.35;
  margin-bottom:.3rem;
}

/* Date */
.wp-block-latest-posts__post-date {
  font-size:.8rem; color:#777; margin-bottom:.4rem;
}

/* Excerpt: max 4 lines */
.wp-block-latest-posts__post-excerpt {
  font-size:1rem; line-height:1.5; color:#444;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Space between cards */
.wp-block-latest-posts.is-grid li { margin-bottom:2rem !important; }
/* Centre the page title on the homepage only */
.home .entry-title,
.home .page-title,
.home .entry-header h1 {
  text-align:center;
}
/* Homepage title: match "Latest posts" */
.home .entry-title,
.home .page-title,
.home .entry-header h1 {
  text-align:center;
  font-weight:700;
  font-size:2rem;
}/* Centre all page titles */
.page .entry-title,
.page .page-title {
  text-align:center;
} /* Browse by topic: categories in columns */
.wp-block-categories-list {
  column-count:3; column-gap:2rem;
  list-style:none !important; padding:0 !important; margin:1.5rem 0 !important;
}
@media (max-width:700px) { .wp-block-categories-list { column-count:2; } }
@media (max-width:420px) { .wp-block-categories-list { column-count:1; } }
.wp-block-categories-list li {
  break-inside:avoid; padding:.3rem 0; margin:0;
  border-bottom:1px solid #eee;
}
.wp-block-categories-list li::before { content:none !important; }
.wp-block-categories-list a { text-decoration:none; }
.wp-block-categories-list a:hover { text-decoration:underline; }
/* ===== Browse by topic ===== */
/* ===== Browse by topic: one card per main category ===== */
.wp-block-categories-list {
  display:grid !important; grid-template-columns:repeat(2, 1fr); gap:1.8rem;
  columns:auto !important; column-count:auto !important;
  list-style:none !important; padding:0 !important; margin:2rem 0 !important;
}
@media (max-width:700px) { .wp-block-categories-list { grid-template-columns:1fr; } }

.wp-block-categories-list li::before { content:none !important; }
.wp-block-categories-list ul { list-style:none !important; padding:0 !important; margin:0 !important; }

/* Cards: white, soft shadow, coloured top edge */
.wp-block-categories-list > li {
  --accent:#3b5a9a;
  background:#fff; border:1px solid #e6e8ee; border-top:5px solid var(--accent);
  border-radius:6px; box-shadow:0 2px 10px rgba(0,0,0,.05);
  padding:1.3rem 1.5rem; margin:0 !important;
  color:#999;                                   /* post counts in grey */
}
.wp-block-categories-list > li:nth-child(1) { --accent:#3b5a9a; }  /* Subjects: slate blue */
.wp-block-categories-list > li:nth-child(2) { --accent:#2a7377; }  /* Themes: teal */
.wp-block-categories-list > li:nth-child(3) { --accent:#6b7f3a; }  /* Regions: olive */
.wp-block-categories-list > li:nth-child(4) { --accent:#b07a2a; }  /* News & Events: amber */

/* Section headings: serif, like the page titles */
.wp-block-categories-list > li > a {
  display:block; font-family:Merriweather, Georgia, serif;
  font-size:1.5rem; font-weight:700; color:var(--accent); text-decoration:none;
  padding-bottom:.5rem; margin-bottom:.9rem; border-bottom:1px solid #eee;
}

/* Topics */
.wp-block-categories-list > li > ul { columns:2 12rem; column-gap:1.8rem; }
.wp-block-categories-list > li > ul > li {
  break-inside:avoid; padding:.25rem 0; margin:0 0 .45rem; font-size:1.05rem;
}
.wp-block-categories-list > li > ul > li > a { font-weight:600; color:#1f2d4d; text-decoration:none; }

/* Sub-topics (e.g. countries) */
.wp-block-categories-list ul ul {
  padding-left:.8rem !important; margin:.25rem 0 .3rem !important;
  border-left:2px solid #eee;
}
.wp-block-categories-list ul ul li { padding:.12rem 0; font-size:.98rem; }
.wp-block-categories-list ul ul a { color:#3a4a6b; text-decoration:none; }

.wp-block-categories-list a:hover { text-decoration:underline !important; color:var(--accent) !important; }
.wp-block-categories-list .cat-item-1 { display:none; }
/* Brand look: solid blue heading band on each card */
.wp-block-categories-list > li,
.wp-block-categories-list > li:nth-child(n) { --accent:#1a3bb0; }

.wp-block-categories-list > li {
  padding:0 0 1.2rem !important; border-top:0 !important; overflow:hidden;
}
.wp-block-categories-list > li > a {
  background:var(--accent); color:#fff !important;
  padding:.75rem 1.5rem; margin:0 0 1rem; border:0; font-size:1.35rem;
}
.wp-block-categories-list > li > a:hover { color:#fff !important; opacity:.9; }
.wp-block-categories-list > li > ul { padding:0 1.5rem !important; }
/* Browse by topic: bigger, cleaner topics */
.wp-block-categories-list > li > ul > li {
  font-size:1.2rem !important; margin-bottom:.6rem !important;
}
.wp-block-categories-list ul ul li {
  font-size:1.05rem !important; padding:.15rem 0 !important;
}
/* Remove the thin lines between items for a calmer look */
.wp-block-categories-list ul li { border-bottom:0 !important; }
/* Warm cream cards */
.wp-block-categories-list > li {
  background:#fbf8f1 !important;
  border-color:#ece5d6 !important;
}
.wp-block-categories-list ul ul { border-left-color:#e6dcc8 !important; }
.wp-block-categories-list > li,
.wp-block-categories-list > li:nth-child(n) { --accent:#26344f; }
.wp-block-categories-list > li { padding:1.3rem 1.5rem !important; }
.wp-block-categories-list > li > a {
  background:none !important; color:var(--accent) !important;
  padding:0 0 .5rem !important; margin:0 0 1rem !important;
  border-bottom:2px solid #c9b68f !important;
}
.wp-block-categories-list > li > ul { padding:0 !important; }
.wp-block-categories-list a:visited { color:#26344f !important; }/* Post counts: quiet grey */
.wp-block-categories-list li { color:#a09a8c !important; font-weight:400 !important; }
/* ===== Contributors: match Browse by topic ===== */
.az-nav, .contributors-az { --az:#26344f; }

/* One cream panel around the A–Z */
.contributors-az {
  background:#fbf8f1; border:1px solid #ece5d6; border-radius:6px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  padding:1.6rem 1.8rem;
}

/* Letters: navy serif with gold line */
.az-group h2 {
  font-family:Merriweather, Georgia, serif; font-weight:700;
  border-bottom:2px solid #c9b68f !important;
}

/* Names: same navy and weight as the topics */
.az-group li { font-size:1.05rem !important; }
.az-group a, .az-group a:visited { color:#26344f !important; font-weight:600; }

/* A–Z bar: cream buttons, gold border, navy on hover */
.az-nav a {
  background:#fbf8f1; border-color:#c9b68f !important; color:#26344f !important;
}
.az-nav a:hover { background:#26344f !important; color:#fff !important; }