#secondary {
	display: none;
}

#content {
	margin-left: 0;
}

.entry-content {
	overflow-wrap: anywhere;
}

/* Keep blog thumbnails aligned with their category overlays. */
img.attachment-archive-thumbnail {
	display: block;
	width: 100%;
	height: auto;
}

/* Remove the right sidebar only on the four selected pages. */
.page-id-7 #tertiary,
.page-id-2714 #tertiary,
.page-id-5995 #tertiary,
.page-id-190 #tertiary {
	display: none;
}

.page-id-7 #content,
.page-id-2714 #content,
.page-id-5995 #content,
.page-id-190 #content {
	margin-right: 0;
}

/* Use one colour for all site headings and heading links. */
#page :is(h1, h2, h3, h4, h5, h6),
#page :is(h1, h2, h3, h4, h5, h6) * {
	color: #345e89 !important;
}

/* Give the site title a distinct black, bold appearance. */
#page #masthead .site-title,
#page #masthead .site-title a {
	color: #000000 !important;
	font-weight: 700;
	letter-spacing: .04em;
}

/* Keep sharing, likes and comments visible only on the homepage. */
body:not(.home) .sharedaddy,
body:not(.home) .jetpack-likes-widget-wrapper,
body:not(.home) #comments,
body:not(.home) #respond,
body:not(.home) .comments-link {
	display: none !important;
}

/* Match the homepage Follow button to the Workshops blue. */
.home #subscribe-submit button {
	background-color: #345e89 !important;
	color: #ffffff !important;
}

/* Keep Workshops button labels white. */
.page-id-5995 #content .wp-block-button__link {
	color: #ffffff !important;
}

/* Show Blog Stats on the homepage only. */
body:not(.home) #blog-stats-2 {
	display: none;
}

/* Replace the photographic header with a simple mid-grey spacer. */
#masthead .custom-header,
#masthead a:has(> img.custom-header) {
	display: none;
}

#masthead .site-description::after {
	content: "";
	display: block;
	height: 4.8px;
	margin-top: 20px;
	background: #cccccc;
}

/* Readability: slightly enlarge body copy and use the active Figtree font. */
body,
.entry-content,
.entry-summary {
  font-family: "Figtree", sans-serif;
}

.entry-content,
.entry-summary {
  font-size: 17px;
  line-height: 1.6;
}


/* Stack blog titles and excerpts on tablet and mobile. */
@media screen and (max-width: 782px) {
  #content .entry-header,
  #content .entry-summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both;
    box-sizing: border-box;
  }

  html,
  body {
    overflow-x: hidden;
  }

  #page,
  #content,
  #content .hentry {
    max-width: 100%;
    box-sizing: border-box;
  }
}