/** TODO Clean this file **/
/** TODO Clean this file and refactor with customizer.css **/

/**
 * Header
 */ 
 .site-header .wrapper {
	width: 100%;
}

/* Primary Menu */
.site-header .nav1 .main-menu > li > a {
	color: #000;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.035em;
	padding-top: 0;
	padding-bottom: 0;
}

.site-header .nav1 .main-menu > li:hover > .submenu-expand svg {
	transform: rotate( 180deg );
}

.h-stk.h-db .bottom-header-contain {
	border-color: var(--neutral-100);
}

.site-header .dd-menu .sub-menu {
	box-shadow: 0 3px 4px rgba(0,0,0,0.1);
}

.site-header .dd-menu .sub-menu a {
	background: #fff;
	color: #000;
	transition: background 150ms ease-in-out;
}

.site-header .dd-menu .sub-menu a:hover,
.site-header .dd-menu .sub-menu a:focus,
.site-header .dd-menu .sub-menu a:active {
	background: #efefef;
	color: #000;
}

.site-header .dd-menu .menu-item-has-children:hover > .sub-menu, 
.site-header .dd-menu .menu-item-has-children > .submenu-expand.open-dropdown + .sub-menu {
	width: 10rem;
}

.site-header .dd-menu > ul > li > .sub-menu {
	padding-top: 0;
}

.site-header .dd-menu > ul > li > .sub-menu::before { 
	display: none;	
}

.h-cl.h-dh .site-header .nav1 .main-menu.main-menu > li:last-child {
	border-bottom: 3px solid var(--houston-blue);
	padding-bottom: calc(0.5rem - 3px);
	transition: all 0.25s linear;
}
	.h-cl.h-dh .site-header .nav1 .main-menu.main-menu > li:last-child:hover {
		    opacity: 0.75;
	}
.h-cl.h-dh .site-header .nav1 .main-menu.main-menu > li:last-child a {
	padding-right: 0.5rem;
	color: var(--houston-blue);
}

/* Logo */
@media (max-width: 1199px) {
	body.h-stk.h-cl:not(.h-sub) .site-header .custom-logo {
  	max-width: 200px;
	}
	
	.site-description {
		display: none;
	}
}

/* Tagline */
.site-description {
	color: #000;
	font-style: normal;
	font-size: 0.7rem;
	margin-top: -15px;
	padding: 0;
	white-space: nowrap;
}

/* Tertiary Menu */
.site-header .nav3 li:nth-child(n+2) {
	margin-left: 0.5rem;
}

.menu-highlight a { 
	background: var(--pink-500) !important;
	border-radius: 20px;
/*	border: 2px solid #000000 !important;*/
	color: var(--neutral-0) !important;
	font-size: 1em;
	line-height: 1.1;
	padding: 9px 16px !important;
	text-align: left;
}

.menu-highlight-alt a { 
	background: var(--houston-golden-yellow) !important;
	border-color: var(--houston-golden-yellow) !important;
	color: var(--neutral-1100) !important;
}

.menu-highlight a:hover { 
	background: var(--neutral-1100) !important;
/*	border: 2px solid #000 !important;*/
	color: var(--neutral-0) !important;
	opacity: 1;
}

/* Switch to the mobile header "sooner" */
@media (min-width: 1200px) {
	.site-header .custom-logo-link {
		max-width: 225px;
	}
	.site-header .custom-logo-link img {
		width: unset;
	}
}
@media (max-width: 1100px) {
	.h-cl.h-dh .site-header .custom-logo-link {
		text-align: left;
	}
	
	.site-header .desktop-only,
	.h-dh .site-header .desktop-menu-toggle {
		display: none;
	}
	
	.h-cl.h-dh .site-header .middle-header-contain .wrapper .site-branding {
		justify-content: flex-start;
		width: auto;
	}
	
	.h-dh .site-header .mobile-menu-toggle, 
	.h-dh .site-header .mb-cta {
		display: inherit;
	}
}

@media only screen and (min-width: 782px) {
  .h-cl.h-dh .site-header .middle-header-contain .wrapper .site-branding {
		flex-direction: column;
  }
}
@media only screen and (max-width: 599px) {
  .h-cta .site-header .custom-logo-link {
    max-width: none;
  }
}
@media only screen and (min-width: 782px) {
.h-stk.h-dh:not(.h-sub) .middle-header-contain .wrapper {
    padding: 0.75rem 0 0.5rem;
}
}

/* Mobile & Desktop Hamburger Menus */
.mobile-menu-toggle,
.desktop-menu-toggle,
.search-toggle {
	border-radius: 0;
}

.mobile-sidebar {
	background: #fff;
}

.mobile-sidebar .nav1,
.mobile-sidebar .widget:not(.widget_block) {
	font-size: 1em;
}

.mobile-sidebar nav + nav, 
.mobile-sidebar nav + .widget, 
.mobile-sidebar .widget + .widget {
	border: 0;
}

.desktop-menu-toggle svg,
.mobile-menu-toggle svg {
	height: 34px;
	width: 34px;
}

.desktop-sidebar .desktop-menu-toggle,
.mobile-menu-toggle {
	overflow: hidden;
	text-indent: -9999em;
	width: 34px;
	display: block;
	position: relative;
	height: 34px;
}
.desktop-sidebar .desktop-menu-toggle svg,
.mobile-menu-toggle svg {
	position: absolute;
	right: 0;
	top: 0;
}

.desktop-sidebar .widget {
	border-top: 0;
}

.desktop-sidebar .widget:not(.widget_block) {
	font-size: 1.4rem;
}

.desktop-sidebar a:hover,
.mobile-sidebar a:hover {
	color: #000;
	opacity: 1 !important;
}

/* Mobile CTA */
.site-header .mb-cta {
	padding-left: 1.25em;
	padding-right: 1.25em;
}
.button.mb-cta {
	line-height: 1.5;
}



/**
 * Content
 */ 

.entry .entry-content > .alignfull:first-of-type {
	margin-top: 0;
}

@media (max-width: 782px) {
	.entry-content h1 {
		font-size: 2.7rem !important; /* important to override inline font sizes */
	}
}

.type-post .entry-content a:hover {
	text-decoration: underline !important;
	text-decoration-color: var(--newspack-cta-color) !important;
	color: inherit !important;
}

/* Accent header */
.accent-header:not(.widget-title)::before,
.article-section-title::before,
.cat-links::before,
.page-title::before,
.site-breadcrumb .wrapper > span::before {
	display: none;	
}

.accent-header:not(.widget-title),
div.wpnbha .article-section-title span {
	color: #000;
	display: inline-block;
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.5rem;
	position: relative;
	width: auto;
	z-index: 1;
}

.wp-block-group.is-nowrap.is-layout-flex .accent-header {
	white-space: nowrap;
}

.wp-block-group.is-nowrap.is-layout-flex .accent-header + .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	border-top: 1px solid var(--neutral-1100);
	max-width: 100%;
	width: 100%; 
}

/* Post Elements */
.entry-meta,
.entry-meta a,
.entry-meta .byline a, 
.entry-meta .byline a:visited {
	color: #000;
}

.cat-links a {
	background: var(--neutral-100);
	color: #000;
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	padding: 0.25em 0.5em;
	width: auto;
}

.has-header-with-line {
	border-top: 1px solid #000;
}
.has-header-with-line h2 span {
	font-size: 16px !important;
	text-transform: uppercase;
	letter-spacing: 0.02rem;
	background: none !important;
	padding: 0 !important;
	font-weight: 800 !important;
}
.has-header-with-line div[data-posts] >  h2 {
	margin-bottom: 0 !important;	
}
h2.has-header-with-line {
	font-size: 16px !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	padding-top: 1rem;
}

.accent-header:not(.widget-title):not(.has-background),
div.wpnbha .article-section-title span {
	background-color: var(--neutral-100);
}

.category-politics-government .wpnbha .article-section-title span, 
.category-politics-government .entry-header .cat-links a {
	color: var(--neutral-1100);
	background-color: var(--houston-golden-yellow);
}
.tag-top-stories .wpnbha .article-section-title span {
	color: var(--neutral-1100);
	background-color: var(--houston-orange);
}
.category-public-safety .wpnbha .article-section-title span, 
.category-public-safety .entry-header .cat-links a {
	color: var(--neutral-1100);
	background-color: var(--houston-orange);
}
.category-columns .wpnbha .article-section-title span, 
.category-columns .entry-header .cat-links a {
	color: var(--neutral-1100);
	background-color: var(--houston-light-blue);
}
.category-diverse-communities .cat-links a, 
.category-around-the-region .cat-links a, 
.category-diverse-communities  .entry-header .cat-links a,
.category-around-the-region .entry-header .cat-links a {
	color: var(--neutral-0);
	background-color: var(--houston-deep-teal);
}
.category-investigations .entry-header .cat-links a {
	color: var(--neutral-0);
	background-color: var(--neutral-1100);
}
.category-education .entry-header .cat-links a {
	color: var(--neutral-1100);
	background-color: var(--houston-bright-red);
}
.category-environment .entry-header .cat-links a {
	color: var(--neutral-1100);
	background-color: var(--houston-green);
}
.category-explainers-guides .entry-header .cat-links a {
	color: var(--neutral-1100);
	background-color: var(--neutral-100);
}
.category-es .entry-header .cat-links a {
	color: var(--neutral-0);
	background-color: var(--houston-blue);
}

/**
 * Blocks
 */

figcaption {
	color: #000;
	letter-spacing: 0.025em;
}
.wp-block-image figcaption {
	font-size: 0.7em;
	line-height: 1.29;
}
.wp-block-gallery.has-nested-images figcaption {
	text-align: left !important;
  padding-left: calc(var(--houston-base-grid) * 2);
  padding-right: calc(var(--houston-base-grid) * 2);
}
@media screen and (min-width: 800px) {
  .wp-block-gallery.has-nested-images figcaption {
    padding-left: 0;
    padding-right: 0;
  }
  .wp-block-gallery.alignfull.has-nested-images figcaption{
    margin-left: calc((100vw - 780px) / 2) !important;
    margin-right: calc((100vw - 780px) / 2) !important;
  }
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	right: 0;
}

.wpnbha .byline {
	letter-spacing: 0.05em;
}
div.wp-block-columns {
	gap: 24px;
}
div.wp-block-columns:is(.colgap-2) {
	gap: var(--wpnbha-col-gap);
}


/* Blocks - Homepage Posts */
.wpnbha article {
	position: relative;
}

div.wpnbha.is-style-borders article {
	border-color: rgba(0,0,0,0.2);
	margin-bottom: 0.9rem;
	padding-bottom: 0.9rem;
}
.wpnbha.is-style-borders article:last-of-type:not(:first-of-type) {
	margin-bottom: 0;
}
.home .tag-top-stories > div:first-child {
	margin-bottom: 0;
}
.home .tag-top-stories > div:last-child {
	margin-top: 0;
}
.home .tag-top-stories > div:last-child p {
	margin-bottom: 0.2rem;
	margin-top: 0;
}
.tag-top-stories .wp-block-separator {
	margin-bottom: 0.9rem;
	margin-top: 0;
}
.wpnbha .entry-date {
	width: 100%;
}

.wpnbha article .entry-meta {
	font-size: 0.65rem !important;
}

@media only screen and (min-width: 782px) {
	.wpnbha article .avatar {
		width: 35px !important;
		height: 35px !important;
	}
}

.wpnbha.show-image.image-aligntop article.post-has-image .cat-links {
	position: absolute;
	left: -10px;
	top: -10px;
}

div.wpnbha.image-alignbehind .post-has-image .entry-wrapper .cat-links a,
div.wpnbha.image-alignbehind .post-has-image .entry-wrapper .cat-links a:visited {
	background: #fff;
	color: #000;
}

.entry-content > .wpnbha.image-alignbehind.alignfull {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

div.wpnbha.image-alignbehind.alignfull .post-has-image .entry-wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 90vw;
	padding-left: 0;
	padding-right: 0;
	width: 1200px;
}

div.wpnbha.image-alignbehind .post-has-image .post-thumbnail::after {
/*	background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 55%);*/
	content: unset;
}
	div.wpnbha.image-alignbehind .post-has-image .post-thumbnail > a:has(img) {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
	div.wpnbha.image-alignbehind .post-has-image .post-thumbnail > a:has(img):after {
		content: " ";
		position: absolute;
		z-index: 1;
		inset: 0;
		background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 55%);
	}

.wpnbha p {
	line-height: 1.4;
}

.wpnbha.ts-4 article .entry-title {
	font-size: 1.7rem;
	margin-bottom: 0.25rem;
	line-height: 1.1;
}
.wpnbha.ts-4 article p {
	font-size: 0.9rem;
}
.wpnbha.ts-3 article .entry-title {
	font-size: 1.1rem !important;
	font-weight: 600;
	line-height: 1.27;
} 
.wpnbha.ts-2 article .entry-title {
	font-weight: 600;
	font-family: unset;
	font-size: var(--newspack-theme-font-size-base) !important;
	line-height: 1.3;
}

@media only screen and (min-width: 782px) {
	.home .ts-4 .tag-top-stories h3.entry-title {
    font-size: 1.4em;
	}
}

.has-three-columns .wp-block-column .show-image > div:first-child {
	position: relative;
}
.has-three-columns .wp-block-column .show-image .article-section-title {
	position: absolute;
	top: -10px;
  left: -10px;
}

.has-three-columns .wp-block-column .wpnbha:not(.show-image) article {
	border-top: 1px solid #bbb8b2;
	padding-top: 1em;
	margin-bottom: 1em;
	min-height: 150px;
}

/* Blocks - Buttons */
.wp-block-buttons {
  gap: 0.7rem;
}

.wp-block-button__link {
	padding: 0.7rem 1.25rem;
	width: auto;
  height: auto;
}

.wp-block-button .wp-block-button__link.is-style-outline, 
.wp-block-button.is-style-outline > .wp-block-button__link,
.gform_button.button {
	padding: calc(0.7rem - 2px) calc(1.25rem - 2px);
}

.wp-block-button__link, 
.wp-block-search__button,
.button, 
.button.mb-cta,
.nav3 a,
button, 
input[type="button"],
input[type="reset"], 
input[type="submit"] {
  border-radius: 2em;	
}

.gform_button.button {
	border: 2px solid #000;
	background: #fff;
	color: #000;
}

.gform_button.button:hover,
.wp-block-button .wp-block-button__link:not(.has-white-color):hover {
	border-color: #111 !important;
}

.wp-block-button .wp-block-button__link.has-white-color:not(.has-background):hover {
	background-color: var(--neutral-0) !important;
	color: var(--neutral-1100) !important;
}

/* Group Block */
:where(.wp-block-group.has-background) {
	padding: 1rem;
}

@media (min-width: 782px) {
	:where(.wp-block-group.has-background) {
		padding: 2rem;
	}
}

.entry .entry-content > .wp-block-group.alignleft,
.entry .entry-content > .wp-block-group.alignright {
	font-family:  'Publish Gothic Expanded', sans-serif;
}

.wp-block-group.alignleft > div > *:not(:first-child),
.wp-block-group.alignright > div > *:not(:first-child) {
	margin-top: 16px;
}

.wp-block-group.alignleft > div > *:not(:last-child),
.wp-block-group.alignright > div > *:not(:last-child) {
	margin-bottom: 16px;
}

/* Block - Author */
.wp-block-newspack-blocks-author-profile__job-title,
.wp-block-newspack-blocks-author-profile__employment{
	font-family: 'Publish Gothic Expanded', sans-serif;
}

/* Blocks - Columns */
@media (max-width: 1100px) {
   .wp-block-column:empty {
      display: none;
   }
}

/* Blocks - Pullquote */
.wp-block-pullquote p {
	font-style: normal;
}

.wp-block-pullquote blockquote::before, .wp-block-pullquote blockquote::after {
top: 2.5rem;
}

.wp-block-pullquote blockquote p:first-of-type::before {
	left: calc(50% - 0.25em);
}

/* Block - Accordion */
.gb-block-accordion {
	font-family: 'Publish Gothic Expanded', sans-serif;
	padding: 1rem 0;
}

.gb-block-accordion details > summary {
  list-style: none;
}

.gb-block-accordion + .gb-block-accordion {
	border-top: 1px solid #000;
	margin-top: -32px;
}

.gb-block-accordion .gb-accordion-title {
	background: transparent;
	cursor: pointer;
	font-family: 'Publish Gothic Expanded', sans-serif;
	font-weight: bold;
	font-size: 1.4rem;
	padding-left: 0;
	position: relative;
}

.gb-block-accordion .gb-accordion-title:after {
	background: url('/wp-content/uploads/2023/04/icon-caret.png' ) center center no-repeat;
	background-size: contain;
	content: '';
	display: inline-block;
	height: .8em;
	right: 0;
	transform: rotate(180deg);
	position: absolute;
	top: calc( 50% - 5px );
	width: 1em;
}

.gb-block-accordion details[open] .gb-accordion-title:after {
	transform: rotate(0);
}

/* Blocks - Newsletter */
.newspack-newsletters-subscribe .newspack-newsletters-email-input {
	position: relative;
}

.newspack-newsletters-subscribe .newspack-newsletters-email-input input[type="email"] {
	border: 2px solid #000;
	border-radius: 30px;
	padding-right: 60px;
	background-color: #fff;
	font-size: 0.8rem;
	padding-top: 0.25rem;
  padding-bottom: 0.25rem;
} 
@media screen and (min-width: 414px) {
  .newspack-newsletters-subscribe .newspack-newsletters-email-input input[type="email"] {
    flex: unset;
    width: unset;
  }
}
aside .alignright .newspack-newsletters-subscribe {
	margin-top: 1.25rem !important;
}

.is-style-border-left {
	border-left: 1px solid var(--neutral-1100);
	padding-left: 1.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.is-style-border-top-bottom {
	border-top: 1px solid var(--neutral-1100);
	border-bottom: 1px solid var(--neutral-1100);
	padding: 1.5rem 1.75rem;
}
.is-style-border-top-bottom h3 {
	margin-top: 1rem !important;
}
.is-style-border-top-bottom p {
	margin-bottom: 1rem !important;
	margin-top: 0.5rem !important;
}
.is-style-border-top-bottom p:last-child {
	margin-bottom: 0 !important;
}
.is-style-border-top-bottom .newspack-newsletters-subscribe {
	margin-top: 0;
	margin-bottom: 0;
}

.newspack-newsletters-subscribe .newspack-newsletters-email-input input[type="submit"], 
.newspack-newsletters-subscribe .newspack-newsletters-email-input button[type="submit"] {
	right: 0;

	position: static;
	text-indent: unset;
	width: auto;
	background: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.7px;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	flex: unset;
}
.newspack-newsletters-subscribe:not(.houston-custom-newsletter-style-a, .houston-custom-newsletter-style-b) .newspack-newsletters-email-input input[type="submit"]:not(.has-background-color), 
.newspack-newsletters-subscribe:not(.houston-custom-newsletter-style-a, .houston-custom-newsletter-style-b) .newspack-newsletters-email-input button[type="submit"]:not(.has-background-color) {
	color: #000;
	background-color: var(--houston-golden-yellow) !important;
}

/* Blocks - full width + vertical spacing */
.wp-block-cover.alignfull + .wp-block-cover.alignfull,
.wp-block-cover.alignfull + .wp-block-group.has-background.alignfull,
.wp-block-group.has-background.alignfull + .wp-block-cover.alignfull {
	margin-top: -32px;
}

/**
 * Form elements
 */ 
label {
	font-family: 'Publish Gothic Expanded', sans-serif; 
}

input[type="text"], 
input[type="email"], 
input[type="url"], 
input[type="password"], 
input[type="search"], 
input[type="number"], 
input[type="tel"], 
input[type="range"],
input[type="date"], 
input[type="month"], 
input[type="week"],
input[type="time"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="zip"], 
input[type="color"], 
textarea, 
select {
	border-radius: 10px;
	font-family: 'Publish Gothic Expanded', sans-serif;
}

.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"], 
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"], 
.gform_wrapper.gravity-theme input[type="email"], 
.gform_wrapper.gravity-theme input[type="month"], 
.gform_wrapper.gravity-theme input[type="number"], 
.gform_wrapper.gravity-theme input[type="password"], 
.gform_wrapper.gravity-theme input[type="search"], 
.gform_wrapper.gravity-theme input[type="tel"], 
.gform_wrapper.gravity-theme input[type="text"], 
.gform_wrapper.gravity-theme input[type="time"], 
.gform_wrapper.gravity-theme input[type="url"], 
.gform_wrapper.gravity-theme input[type="week"], 
.gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
	font-size: 1rem;
	padding: 16px;
}

/**
 * Home Page
 */ 

.newspack-front-page .site-content {
	margin-top: 0;
}

.newspack-front-page .entry-content > div.alignfulhidden-if-emptyl:first-of-type {
	margin-top: 0;
}

/* Around the Region - Navigation Block */
.home .wp-block-navigation__container {
	display: block;
	font-weight: bold;
}

.home .wp-block-navigation__container li a {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}

.home .wp-block-navigation__container li a::after {
	background: url('/wp-content/uploads/2023/04/icon-arrow.png') center center no-repeat;
	background-size: contain;
	content: '';
	display: inline-block;
	height: 1em;
	margin-left: 0.5em;
	width: 1.25rem;
}

@media (min-width: 782px) {
	.home .wp-block-navigation__container {
		columns: 2rem 2;
		font-size: 1.4rem;
	}
}

@media (min-width: 1100px) {
	.home .wp-block-navigation__container {
		columns: 2rem 3;
	}
}

/* Homepage - hidden Cover block
 * 
 * LF Edited to add: do we still need this? 
 */
.hidden-if-empty.wp-block-cover {
	min-height: 0;
	padding: 0;
}

.hidden-if-empty .wp-block-cover__inner-container {
	justify-content: center;
	display: flex;
	flex-direction: column;
	min-height: 450px;
}

.hidden-if-empty .wp-block-cover__inner-container > * {
	width: 100%;
}

.hidden-if-empty .wp-block-cover__inner-container:empty {
	display: none;
}


/**
 * Single Posts
 */ 

.entry-header .cat-links a {
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	font-weight: 600;
	margin-right: 0.5em;
	padding: 0.3em 1.25em 0.25em;
}

.entry-header .cat-links .sep {
	display: none;
}

.single .entry-title {
 font-size: 1.6em;
}

@media only screen and (min-width: 600px) {
  .single .entry-title {
    font-size: 1.8em;
  }
}

@media only screen and (min-width: 782px) {
  .single .entry-title {
    font-size: 2.2em;
  }
}

@media only screen and (min-width: 1168px) {
  .single .entry-title {
    font-size: 2.6em;
  }
}

.entry-header .entry-meta {
	display: block;
}

.entry-meta .byline .author {
	font-weight: normal;
}

/* Share buttons */
div.sd-social-icon .sd-content ul li[class*="share-"] a.sd-button {
	background: #000 !important;
	color: #fff !important;
}

/* Featured image behind */
.single .featured-image-behind .cat-links a,
.single .featured-image-behind .cat-links a:visited {
	background: #fff;
	color: #000;
}

.single .featured-image-behind::before {
	background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 55%);
}

.single .featured-image-behind div.sd-social-icon .sd-content ul li[class*="share-"] a.sd-button {
	background: #fff !important;
	color: #000 !important;
}

/* Featured image behind */
.h-db .featured-image-beside {
	background-color: transparent;
}

/* Featured image above */
.featured-image-above img {
	display: block;
}

/* Article Summary (Key Facts) */

.article-summary {
	background: #2b5a59;
	border-radius: 1rem;
	color: #fff;
	display: block;
	font-family:  'Publish Gothic Expanded', sans-serif;
	font-size: 0.85em;
	line-height: 1.2;
	padding: 1.5rem;
}

.article-summary .article-summary-title {
	font-size: 1.5rem;
}

@media (min-width: 782px) {
	.article-summary 
	{
		float: right;
		margin-left: 1rem !important;
		width: 280px;
	}
}

/* Related Stories */
#jp-relatedposts.jp-relatedposts .jp-relatedposts-headline {
	font-size: 1.3rem;
}
#jp-relatedposts.jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post .jp-relatedposts-post-title a {
	font-weight: 600;
}

/* Author Bio */
.author-bio .accent-header {
	background: transparent !important;
	font-weight: 700;
	font-size: 1rem;
	padding: 0;
}

.author-meta,
.author-social-links a,
.author-social-links a:visited {
	color: #000;
}

/* Republish this story */
section.widget.republication_tracker_tool {
	align-items: center;
	border: solid #000;
	border-width: 1px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;
	max-width: 100%;
	padding: 2rem 0;
	text-align: center;
}

@media (min-width: 782px) {
			section.widget.republication_tracker_tool {
		flex-wrap: nowrap;
		gap: 2rem;
		text-align: left;
	}
}

section.widget.republication_tracker_tool p {
	margin: 0;
}

section.widget.republication_tracker_tool button.republication-tracker-tool-button {
	background: transparent;
	border: 2px solid #000;
	border-radius: 2rem;
	color: #000;
	font-size: 0.8rem;
	margin: 0;
	padding: 0.7rem 2rem;
	text-shadow: none;
	white-space: nowrap;
}

section.widget.republication_tracker_tool button.republication-tracker-tool-button:hover {
	background: #000;
	color: #fff;
}

section.widget.republication_tracker_tool .license .license {
	display: none;
}

section.widget.republication_tracker_tool .message {
	font-size: 1rem;
}

/**
 * Pages
 */
.hide-page-title .site-content {
	margin-top: 0;
}

.page .featured-image-behind .wrapper {
	margin-bottom: auto;
}

.page .featured-image-behind .wrapper .entry-header h1 {
	line-height: .9em;
}

.page .featured-image-behind::before{
	display: none;
}

.page .featured-image-behind {
	min-height: calc(46vh - 110px);
}

body.page .entry-title,
.archive:not(.author) .page-description {
	font-size: 3rem;
}

@media (min-width: 782px) {
	.page .featured-image-behind .wrapper .entry-header {
		width: 70%;
		margin-left: 0;
	}

	body.page .entry-title,
	.archive:not(.author) .page-description {
		font-size: 4.2rem;
	}
	
	/* Shrink down 'category' page titles */
	.page.page-id-4058 .entry-title,
	.page.page-id-656 .entry-title,
	.page.page-id-4071 .entry-title,
	.page.page-id-4075 .entry-title,
	.page.page-id-4799 .entry-title,
	.page.page-id-6774 .entry-title, 
	.page.page-id-6804 .entry-title, 
	.page.page-id-7511 .entry-title, 
	.page.page-id-9657 .entry-title,
	.page.page-id-16860 .entry-title,
	.page.page-id-19920 .entry-title,
	.page.page-id-21137 .entry-title,
	.page.page-id-23523 .entry-title,
	.page.page-id-39774 .entry-title {
		font-size: 2.5rem;
	}
}

/**
 * Archives
 */ 
.archive .page-description,
.blog .page-description,
.search .page-header {
	font-family: 'Publish Gothic Expanded', sans-serif;
	font-weight: 900;
}

.archive:not(.author) .page-header, 
.blog .page-header, 
.search .page-header {
	margin-bottom: 0rem;
}
.pagination .nav-links a {
	color: #000;
}

.pagination .nav-links > .current {
	background: var(--houston-light-blue);
	color: #000;
}

.taxonomy-description {
	font-family: 'Publish Gothic Expanded', sans-serif;
	font-style: normal;
}

/**
 * 404
 */ 
.error-404 .page-title {
	color: #000;
	font-family: 'Publish Gothic Expanded', sans-serif;
	font-weight: 900;
	margin-top: 2rem;
}

@media (min-width: 782px) {
	.error-404 .page-title {
		font-size: var(--newspack-theme-font-size-xxl);
	}
}

@media (min-width: 960px) {
	.error-404 .page-title {
		font-size: var(--newspack-theme-font-size-xxxl);
	}
}


@media (min-width: 1200px) {
	.error-404 .page-title {
		font-size: var(--newspack-theme-font-size-xxxxl);
	}
}

/**
 * Footer
 */ 
.site-footer {
	padding-top: 1rem;
}

/* Footer - Nav blocks */
@media (min-width: 960px) {
	.site-footer .widget_nav_menu ul {
		columns: 2rem 2;
		margin: 0;
	}
}

.site-footer .widget_nav_menu ul ul {
	display: none;
}

.site-footer .widget.widget_block {
	margin-bottom: 24px;
}

.site-footer .wp-block-separator {
	border-color: rgba(255,255,255,0.1);
	margin: 24px 0;
}

.site-footer .menu-primary-navigation-container {
	font-weight: bold;
}

/* Footer - button blocks */
.site-footer .wp-block-button .wp-block-button__link:hover {
	background: #fff !important;
	border-color: #fff !important;
	color: #000 !important;
	opacity: 1;
}
.site-footer .wp-block-social-links {
	justify-content: flex-end;
}

/* Dan added CSS */
/*
h1,h2,h3,h4,h5,h6 {
	letter-spacing: -.03em;
}
*/



/* HL added CSS — TESTING SEARCH ICON POS */
@media screen and (min-width: 1100px) {
	.middle-header-contain .wrapper {
		position: relative;
	}
	.middle-header-contain .header-search-contain {
		position: absolute;
    left: 39px;
	}
}
@media only screen and (min-width: 782px) {
	.header-search-contain #header-search {
			left: 0;
			right: auto;
	}
}

/* HL custom CSS classes */
.hl-has-round-corners {
	border-radius: 17px;
}
.is-custom-hl-contact {
	justify-content: space-between;
	margin-bottom: 70px !important;
}
.is-custom-hl-contact .gform_wrapper.gravity-theme .gfield_label {
	font-size: 23px;
}
.is-custom-hl-contact .gform_heading {
	display: none;
}
.is-custom-hl-contact select {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	z-index: 1;
	background-color: transparent;
	border: 0;
}
.is-custom-hl-contact .ginput_container_select {
	position: relative;
	background-color: #fff;
	border-radius: 10px;
}
.is-custom-hl-contact .ginput_container_select:after {
  content: '\2304';
  font-size: 24px;
  line-height: 24px;
	position: absolute;
	top: 50%;
	margin-top: -20px;
	right: 16px;
	z-index: 0;
}
.is-custom-hl-contact input[type="submit"] {
	background: transparent;
	padding-left: 48px;
	padding-right: 48px;
}
.is-custom-hl-form.wp-block-column > * {
	margin-bottom: 0;
}
.gform_wrapper.gravity-theme .gform_footer {
	padding-bottom: 0;
}

.is-custom-hl-contact-intro.wp-block-column > h2 {
	margin-bottom: 24px;
}
.is-custom-hl-contact-intro.wp-block-column > h3 {
	margin-bottom: 12px;
}
.is-custom-hl-contact-intro.wp-block-column > p {
	margin-top: 0;
}

.is-custom-hl-jumpto a {
	font-family: var(--newspack-theme-font-heading);
	font-weight: 700;
	font-size: 20px;
	text-decoration: none;
	display: inline-flex;
	gap: 15px;
	transition: gap 0.2s;
}
.is-custom-hl-jumpto a:hover {
	gap: 20px;
}
.is-custom-hl-jumpto a:after {
	content: url("data:image/svg+xml,%3Csvg width='23' height='16' viewBox='0 0 23 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.7403 7.23663L17.1884 0.433698C16.7289 -0.0852238 15.9926 -0.134631 15.5091 0.264816C15.0255 0.664264 14.9459 1.47156 15.342 1.95949L19.2954 6.79927H1.18974C0.53278 6.79927 0 7.33689 0 7.99987C0 8.66285 0.532759 9.20047 1.18974 9.20047H19.2954L15.342 14.0403C14.9461 14.5279 15.0352 15.324 15.5091 15.7349C15.9978 16.1587 16.7926 16.054 17.1884 15.566L22.7403 8.76312C23.1019 8.25033 23.0709 7.73338 22.7403 7.2373V7.23663Z' fill='black'/%3E%3C/svg%3E%0A");;
	display: inline-block;
}

.wp-block-newspack-blocks-author-profile__social-links li {
	background-color: #000;
	border-radius: 50%;
	padding: 4px;
	margin: 0 6px 0 0 !important;
	width: 30px;
	height: 30px;
	overflow: hidden;
	display: flex;
	align-content: center;
	justify-content: center;
}
.wp-block-newspack-blocks-author-profile__social-links li svg {
	fill: #fff;
	max-width: 100%;
	max-height: 100%;
}
.is-custom-hl-contact .wp-block-newspack-blocks-author-profile__bio {
	border-top: 1px solid #dbdbdb;
	padding-top: 1em;
}
.is-custom-hl-contact .wp-block-newspack-blocks-author-profile h3 {
	font-size: 20px;
	margin-bottom: 5px;
}
.is-custom-hl-contact .wp-block-newspack-blocks-author-profile p {
	font-size: 1em !important;
}
.is-custom-hl-contact .wp-block-newspack-blocks-author-profile__social-links {
	margin: 1em 0 0 0;
}
.is-custom-hl-contact .wp-block-newspack-blocks-author-profile__social-links li {
	width: 24px;
	height: 24px;
}
.is-custom-hl-contact > h2 {
	margin-bottom: 32px;
}
.is-custom-hl-contact > p {
	max-width: 895px;
}

@media screen and (max-width: 1024px) {
	.wp-block-newspack-blocks-author-list .columns-4 {
		-moz-column-count: 2 !important;
		column-count: 2 !important;
	}
}
@media screen and (max-width: 600px) {
	.wp-block-newspack-blocks-author-list .columns-4 {
		-moz-column-count: 1 !important;
		column-count: 1 !important;
	}
}

.avatar, .entry-content .wpnbha .avatar {
	border-radius: 50%;
}
@media only screen and (min-width: 782px) {
	.site-content {
    margin-top: 2rem;
	}
}

.survey-header h2, .survey-header p {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}

.no-headings h2 {
	display: none;
}

.key-facts {
	border-radius: 20px;
	margin-right: 1rem !important;
}

@media screen and (max-width: 784px) {
	.hl-flip-on-mobile {
		flex-direction: column-reverse;
	}
	.support-page-contact {
		border-bottom: 1px solid var(--newspack-theme-color-border);
		padding-bottom: 32px;
	}
	.support-page-contact hr {
		display: none;
	}
}

.hl-sticky.newspack-lightbox.newspack-lightbox-size-full-width .newspack-popup__content-wrapper {
	max-width: unset !important;
}
.hl-sticky div.wp-block-columns {
	gap: 16px;
}
.hl-sticky.newspack-lightbox .newspack-popup__content  {
	padding: 0 !important;
}
.hl-sticky .newspack-popup__content p {
	line-height: 1.25;
}
.hl-sticky :where(.wp-block-columns.has-background) {
	padding-top: 8px;
	padding-bottom: 8px;
}
.hl-sticky .wp-block-button__link {
	padding: 8px 16px;
	font-weight: 600;
}
.hl-sticky.newspack-lightbox .newspack-lightbox__close {
	left: 3px;
  top: 3px;
}
.hl-sticky .newspack-newsletters-subscribe .newspack-newsletters-email-input input[type="email"] {
	border-color: var(--neutral-0);
	color: var(--neutral-0);
	font-weight: 600;
}
	.hl-sticky .newspack-newsletters-subscribe .newspack-newsletters-email-input input[type="email"]::placeholder {
		color: var(--neutral-0);
	}
.hl-sticky .newspack-newsletters-subscribe .newspack-newsletters-email-input input[type="submit"] {
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='18' viewBox='0 0 22 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.7372 8.36676L13.6048 0.261951C13.2544 -0.087317 12.6853 -0.087317 12.3348 0.261951C11.9843 0.611219 11.9843 1.17841 12.3348 1.52768L18.9335 8.10407L0.898601 8.10407C0.401375 8.10407 0 8.50408 0 8.99963C0 9.49517 0.401375 9.89519 0.898601 9.89519L18.9335 9.89519L12.3348 16.4716C11.9843 16.8208 11.9843 17.388 12.3348 17.7373C12.5115 17.9134 12.7392 18 12.9698 18C13.2004 18 13.4311 17.9134 13.6048 17.7373L21.7372 9.63249C22.0876 9.28322 22.0876 8.71603 21.7372 8.36676Z' fill='white'/%3E%3C/svg%3E%0A");
}
.hl-sticky.newspack-lightbox .newspack-lightbox__close {
	color: var(--neutral-0);
}

.hl-sticky .wp-block-buttons {
	justify-content: center;
}
@media screen and (max-width: 779px) {
	.hl-sticky div.wp-block-columns {
		gap: var(--houston-base-grid);
	}
	.hl-sticky .wp-block-image img {
		max-width: 130px;
	}
}
/* @media screen and (min-width: 780px) {	
	.hl-sticky.newspack-lightbox .newspack-lightbox__close {
		top: 50%;
		margin-top: -18px;
	}
} */

.hl-sticky.newspack-lightbox div.wp-block-columns {
	gap: calc(var(--houston-base-grid) * 1.5);
    justify-content: space-between;
}

#trinity-audio-table {
	margin-top: 32px !important;
	margin-bottom: 32px !important;
}

.hide-submit-button input[type="submit"] {
	display: none;
}