.solar-panel-image img {
	background-color: #ffffff;
	border-radius: 12px !important;
}

.page-id-549 .entry-title {
	display: none;
}

.page-id-549 .entry-header {
	display: none;
}

.page-id-549 .site-main {
	padding-top: 24px;
}

.page-id-549 .entry-content {
	margin-top: 0;
}

.page-id-549 .site-title,
.page-id-549 .site-title a {
	font-size: 32px;
	line-height: 1.25;
}

.page-id-549 .wp-block-image figcaption {
	font-size: 11px;
	line-height: 1.55;
}

.page-id-549 .research-panels {
	gap: 22px;
	align-items: stretch !important;
}

.page-id-549 .research-panels > .wp-block-column {
	display: flex;
	flex-direction: column;
	border: 1px solid #DCE4E7;
	border-radius: 12px;
	overflow: hidden;
	padding: 0 0 22px;
}

.page-id-549 .research-panels > .wp-block-column > * {
	margin: 0 22px 12px;
}

.page-id-549 .research-panels > .wp-block-column > .wp-block-image {
	margin: 0 0 22px;
}

.page-id-549 .research-panels .wp-block-image img {
	display: block;
	width: 100%;
	border-radius: 0 !important;
}

.page-id-549 .research-panels figcaption {
	margin: 0;
	padding: 11px 22px 0;
	min-height: 46px;
}

.page-id-549 .research-panels > .wp-block-column > p:last-child {
	margin-top: auto;
	margin-bottom: 0;
	padding-top: 11px;
}

@media (min-width: 782px) {
	.page-id-549 #masthead {
		width: calc(100% - 48px);
		max-width: 740px;
		margin: 0 auto;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 20px;
		padding: 28px 0 23px;
		border-bottom: 1px solid #DCE4E7;
	}
	
	.page-id-549 #masthead .site-branding {
		flex: 0 1 auto;
		margin: 0;
		text-align: left;
	}
	
	.page-id-549 #masthead .site-title,
									  .page-id-549 #masthead .site-title a {
		margin: 0;
		font-size: 22px;
		line-height: 1.25;
		font-weight: 600;
		color: #172F42;
	}
	
	.page-id-549 #site-navigation {
		margin: 0;
		padding: 0;
		text-align: right;
	}
	
	.page-id-549 #site-navigation .main-menu {
		justify-content: flex-end;
		gap: 17px;
	}
	
	.page-id-549 #site-navigation .main-menu > li {
		margin: 0;
	}
	
	.page-id-549 #site-navigation .main-menu > li > a {
		padding: 8px 0;
		font-size: 12px;
		line-height: 1.6;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: none;
		color: #526471;
	}
}

@media (min-width: 782px) {
	.page-id-549 #masthead::before,
								  .page-id-549 #masthead::after {
		content: none;
		display: none;
	}
}

.page-id-549 #masthead .site-description {
	display: block;
	margin: 5px 0 0;
	font-size: 11px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: .1px;
	color: #526471;
	text-align: inherit;
}

.page-id-549 .research-panels > .wp-block-column > .wp-block-image {
	margin: 0 0 22px !important;
}

.page-id-549 .research-panels figcaption {
	box-sizing: border-box;
	min-height: 46px;
	margin: 0 !important;
	padding: 11px 22px 0 !important;
}

/* Navigation links */
#site-navigation .main-menu > li > a {
	background: transparent !important;
	color: #526471 !important;
}

#site-navigation .main-menu > li > a:hover,
#site-navigation .main-menu > li > a:focus {
	color: #006B67 !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Menu button */
#site-navigation #toggle-menu {
	background: #172F42 !important;
	color: #FFFFFF !important;
	border: 1px solid #172F42 !important;
	border-radius: 6px;
}

#site-navigation #toggle-menu:hover,
#site-navigation #toggle:focus + #toggle-menu {
	background: #006B67 !important;
	border-color: #006B67 !important;
}

/* Keyboard focus */
#site-navigation .main-menu > li > a:focus-visible,
#site-navigation #toggle:focus-visible + #toggle-menu {
	outline: 2px solid #006B67;
	outline-offset: 4px;
}

.page-id-549 #main {
	padding-top: 30px;
}

/* Shared website header */
#masthead .site-title,
#masthead .site-title a {
	font-size: 32px;
	line-height: 1.25;
}

#masthead .site-description {
	display: block;
	margin: 5px 0 0;
	font-size: 11px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: .1px;
	color: #526471;
	text-align: inherit;
}

@media (min-width: 782px) {
	#masthead {
		width: calc(100% - 48px);
		max-width: 740px;
		margin: 0 auto;
		padding: 28px 0 23px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		gap: 20px;
		border-bottom: 1px solid #DCE4E7;
	}
	
	#masthead::before,
			  #masthead::after {
		content: none;
		display: none;
	}
	
	#masthead .site-branding {
		flex: 0 1 auto;
		margin: 0;
		text-align: left;
	}
	
	#masthead .site-title,
			  #masthead .site-title a {
		margin: 0;
		font-size: 22px;
		line-height: 1.25;
		font-weight: 600;
		color: #172F42;
	}
	
	#site-navigation {
		margin: 0;
		padding: 0;
		text-align: right;
	}
	
	#site-navigation .main-menu {
		justify-content: flex-end;
		gap: 17px;
	}
	
	#site-navigation .main-menu > li {
		margin: 0;
	}
	
	#site-navigation .main-menu > li > a {
		padding: 8px 0;
		font-size: 12px;
		line-height: 1.6;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: none;
	}
}

/* About draft: hide the working title */
.page-id-646 .entry-header {
	display: none;
}

/* Space beneath the website header */
.page-id-646 #main {
	padding-top: 30px;
}

.page-id-646 .entry-content {
	margin-top: 0;
}

/* Existing About page: title and spacing */
.page-id-8 .entry-header {
	display: none;
}

.page-id-8 #main {
	padding-top: 30px;
}

.page-id-8 .entry-content {
	margin-top: 0;
}

/* Publications page title and spacing */
body:has(#tablepress-1) .entry-header {
  text-align: left;
  margin: 0 0 24px;
  padding: 0;
}

body:has(#tablepress-1) .entry-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #172F42;
  text-align: left;
  margin: 0;
}

body:has(#tablepress-1) #main {
  padding-top: 30px;
}

body:has(#tablepress-1) .entry-content {
  margin-top: 0;
}

/* Align Publications with the page content */
body:has(#tablepress-1) .entry-header {
  width: calc(100% - 48px);
  max-width: 740px;
  margin: 0 auto 24px;
  box-sizing: border-box;
}

/* Centre the publications filter panel */
body #dj-publication-filters {
  width: calc(100% - 48px);
  max-width: 740px;
  margin: 20px auto;
}

/* Publications: readable entries on phones. */
@media screen and (max-width: 767px) {
  body #dj-publication-filters {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #tablepress-1,
  #tablepress-1 tbody {
    display: block;
    width: 100% !important;
  }

  #tablepress-1 colgroup,
  #tablepress-1 thead {
    display: none;
  }

  #tablepress-1 tbody tr {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #DCE4E7;
    border-radius: 12px;
    background: #FFFFFF;
  }

  #tablepress-1 tbody td {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #tablepress-1 tbody td:first-child:not([colspan]) {
    margin-bottom: 6px;
    color: #526471;
    font-size: 12px;
  }

  #tablepress-1 tbody td:first-child:not([colspan])::before {
    content: "Year: ";
  }

  #tablepress-1 .dj-publication-title {
    font-size: 16px;
    line-height: 1.5;
  }

  #tablepress-1 tbody td:nth-child(3) {
    margin-top: 12px;
    color: #526471;
    font-size: 12px;
  }

  #tablepress-1 tbody td:nth-child(3)::before {
    content: "Research area: ";
    font-weight: 600;
  }

  #tablepress-1 tbody td:nth-child(4) {
    margin-top: 8px;
  }

  #tablepress-1 tbody td:nth-child(4) a {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    margin: 4px 8px 0 0;
    padding: 10px 12px;
    border: 1px solid #006B67;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
  }
}

/* Contact page: match the refreshed website. */
body:has(#post-7) #main {
  padding-top: 30px;
}

#post-7 .entry-header {
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 740px;
  margin: 0 auto 24px;
  padding: 0;
  text-align: left;
}

#post-7 .entry-title {
  margin: 0;
  color: #172F42;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

#post-7 .entry-content {
  margin-top: 0;
}

#post-7 .entry-content > p,
#post-7 .entry-content > .wp-block-columns {
  box-sizing: border-box;
  width: calc(100% - 48px) !important;
  max-width: 740px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#post-7 .entry-content > p {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.7;
}

#post-7 .entry-content > p:empty {
  display: none;
}

#post-7 .entry-content > .wp-block-columns {
  gap: 24px;
  margin-bottom: 36px;
}

#post-7 .entry-content > .wp-block-columns > .wp-block-column {
  box-sizing: border-box;
  min-width: 0;
  padding: 24px;
  border: 1px solid #DCE4E7;
  border-radius: 12px;
  background: #FFFFFF;
}

#post-7 .wp-block-column h2 {
  margin: 0 0 16px;
  color: #172F42;
  font-size: 22px;
  line-height: 1.3;
}

#post-7 .wp-block-jetpack-contact-info {
  font-size: 16px;
  line-height: 1.7;
}

#post-7 .wp-block-jetpack-email {
  margin-top: 16px;
}

#post-7 .wp-block-jetpack-phone {
  margin-top: 6px;
}

#post-7 .wp-block-jetpack-contact-info a {
  color: #006B67;
  text-decoration: underline;
  text-decoration-color: currentColor;
  overflow-wrap: anywhere;
  box-shadow: none;
}

#post-7 .wp-block-social-links {
  gap: 10px;
  margin: 20px 0 0;
}

#post-7 .wp-social-link {
  background-color: #006B67;
  color: #FFFFFF;
}

#post-7 .wp-block-jetpack-map {
  overflow: hidden;
  border-radius: 10px;
}

@media screen and (max-width: 767px) {
  #post-7 .entry-header,
  #post-7 .entry-content > p,
  #post-7 .entry-content > .wp-block-columns {
    width: calc(100% - 32px) !important;
  }

  #post-7 .entry-content > .wp-block-columns {
    flex-direction: column;
  }

  #post-7 .entry-content > .wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: 100%;
    padding: 20px;
  }
}