.gallery-slides{
max-width: 80%;
}

@media (max-width: 599px) {
	.wrapper {
		max-width: 96vw;
	}
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.1;
	letter-spacing: -0.01em
}

figcaption, 
.wp-caption-text, 
.gallery-caption,
.author-meta {
	font-family: 'Inter', sans-serif;
}

/**
 * Header 
 */

@media (max-width: 499px) {
	.site-header .custom-logo-link .custom-logo {
		max-height: 30px;
	}
}

@media (max-width: 781px) {
	.site-header {
		border-bottom: 1px solid rgba( 135, 149, 153, 0.3 );
		position: sticky;
		top: 0;
		z-index: 10000;
	}
	
	/* 
	 * Added by: LF/DB
	 * Make secondary menu visible on mobile, and give it a side-scroll */
	.top-header-contain.desktop-only{
		display: block !important;
	}
	
	.site-header .nav2 {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.site-header .nav2 > ul {
		flex-wrap: nowrap;
	}
	
	.site-header .nav2 > ul li {
		white-space: nowrap;
		margin-right: 0.5rem;
	}
	
	.site-header .social-navigation {
		display: none;
	}

	.top-header-contain {
		position: relative;
	}
	
	.top-header-contain .wrapper {
		overflow-x: auto;
		max-width: 100%;
	}
	
	.top-header-contain:after {
background: linear-gradient(270deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
		bottom: 0;
		display: block;
		content: '';
		right: 0;
		position: absolute;
		top: 0;
		width: 70px;
	}
}

@media (min-height: 1100px) and (min-width: 782px ){
	.site-header {
		position: sticky;
		top: 0;
		z-index: 10000;
	}
	
	.admin-bar .site-header {
		top: 32px;
	}
}

.above-header-widgets {
	border-bottom: 1px solid #e7e8e8;
}

.above-header-widgets .wp-block-image {
	margin: 0
}

.above-header-widgets section:first-child:last-child {
	margin: 0.5rem 0;
}

.middle-header-contain .wrapper {
	padding: 0.5rem 0 0.25rem;
}

@media (min-width: 782px) {
	.h-sb .middle-header-contain .wrapper {
		padding: 1rem 0 0.75rem;
	}
}

/*Primary Menu */
.site-header .nav1 .main-menu > li > a { 
	text-transform: uppercase;
	font-size: 1.35em;
}

.site-header .dd-menu .sub-menu a {
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
}

.dd-menu > ul > li.menu-item-has-children .submenu-expand {
	margin-left: 2px;
}

.dd-menu > ul > li.menu-item-has-children .submenu-expand svg {
	top: -0.4em;
}

.site-header .dd-menu .sub-menu {
	box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

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

.site-header .dd-menu .sub-menu a:hover {
	background-color: #e0e8e9;
}

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

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

#search-toggle {
	padding-top: .45rem;
}

/* Secondary menu */
.h-sb .top-header-contain {
	background: #fff;
}

.nav2 > ul::before { 
	font-weight: bold;
	color: #d64d4d; 
	content: "Trending:"; 
	margin-right: 20px;
	text-transform: uppercase;
}

.site-header .nav2 > ul::before {
	font-size: 0.7em;
}

.site-header .nav2 {
	font-weight: bold;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.site-header .nav2 a {
	color: #404f54;
}
 
/* Social Links Menu */
.site-header .social-links-menu li a {
	color: #404f54;
}

.social-links-menu {
	display: flex;
	gap: 20px;
}

.social-links-menu li a {
	padding: 0;
}

.social-links-menu li a svg {
	height: 20px;
	width: 20px;
}

.social-links-menu li:nth-child(n+2) {
	margin-left: 0;
}

/* Tertiary menu */
.tertiary-menu { 
	text-transform: uppercase;
}

.site-header .tertiary-menu a { 
	font-size: 1.25em; 
}

.mobile-sidebar .tertiary-menu a {
	font-size: 1em;
}

.h-sb .site-header .nav3 a,
.mobile-sidebar .nav3 a {
	background: #23685b;
	border-radius: 2px;
	color: #fff;
}

/* Above header campaign */
.newspack-above-header-popup {
	/* display: none; */
	padding: 0.5em;
}

@media (max-width: 781px) {
	.newspack-above-header-popup {
		display: inherit;
	}
}

@media (max-width: 499px) {
	.newspack-above-header-popup .wp-block-buttons {
		margin-top: -5px;
	}
}

/* Mobile Menu */
.mobile-sidebar {
	padding: 1rem 0;
}

.mobile-sidebar .mobile-menu-toggle {
	margin-right: 1rem;
	text-transform: uppercase;
}

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

.mobile-sidebar ul ul {
	margin: 0;
}

.mobile-sidebar nav a {
	padding-left: 0;
}

.mobile-sidebar .nav1 li,
.mobile-sidebar .nav2 li {
	font-family: 'Inter';
}

.mobile-sidebar .nav3,
.mobile-sidebar .nav2,
.mobile-sidebar .search-form {
	margin-left: 1rem;
	margin-right: 1rem;
}

.mobile-sidebar .search-form {
	position: relative;
}

.mobile-sidebar .nav1 > ul > li {
	padding-left: 1rem;
	padding-right: 1rem;
}

.mobile-sidebar .nav1 > ul,
.mobile-sidebar .nav1 > ul > li:first-child {
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.5rem;
	padding-bottom: 0.75rem;
}

.mobile-sidebar .nav1 .main-menu > li > a {
	font-weight: normal;
}

.mobile-sidebar .nav1 .main-menu > li:first-child a {
	font-weight: bold;
}

.mobile-sidebar .social-navigation {
	border-top: 1px solid #ccc;
	padding-left: 1rem;
}

@media (max-width: 781px) {
	.entry-title {
		hyphens: none;
	}
}



/**
 * Content
 */ 

.entry-content p a {
	color: #111;
	text-decoration-color: #a9d2cf;
	text-decoration-thickness: 2px;
	transition: all 100ms ease-in;
}

.entry-content p a:hover {
	text-decoration: underline;
	text-decoration-color: #51a89a;
	text-decoration-thickness: 3px;
}

.cat-links a, 
.cat-links a:visited {
	background: rgba( 204, 216, 219, 0.5 );
	color: #404f54;
	line-height: 1.1;
	text-transform: uppercase;
	transition: all 150ms ease-in-out;
}

.cat-links a:hover {
	background: rgba( 204, 216, 219, 0.9 );
}

.entry-meta { 
	font-family: 'Inter', sans-serif; 
	font-size: 0.75rem;
}

.entry-meta,
.entry-meta .byline a, 
.entry-meta .byline a:visited {
	color: #404f54;
}

/* Homepage Posts block */
.wpnbha p {
	font-size: 18px;
}

div.wpnbha.image-alignbehind.alignfull {
	padding: 0;
}

div.wpnbha.image-alignbehind.alignfull .entry-wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
}

.wpnbha.image-alignbehind .post-has-image  {
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

div.wpnbha.image-alignbehind .post-has-image .post-thumbnail::after { 
	background: linear-gradient(0deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.1) 60%); 
}


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

.newspack-front-page .entry .entry-content > .alignfull:first-of-type {
	margin-top: -1px;
}

/* Accent Headers */
.accent-header, 
#secondary .widgettitle, 
.article-section-title {
	border: solid rgba(204, 216, 219, 0.6);
	border-width: 3px 0 0;
	padding: 0.5em 0 0;
	color: #404f54;
}

.accent-header, 
div.wpnbha .article-section-title {
	font-size: 1rem;
	letter-spacing: 0.005em;
	text-transform: uppercase;
}

/* Single posts */
.newspack-post-subtitle { 
	font-style: normal; 
}

.author-bio p {
	font-size: 0.8rem;
}

.author-bio .accent-header {
	margin-bottom: 0;
}

.sd-social-icon .sd-content ul li a.sd-button > span {
	margin: 0;
}

/* Blocks - Group */
.wp-block-group.has-background {
	padding: 12px;
}

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

/* Blocks - Separator */
.wp-block-separator, 
hr {
	border-top-color: rgba(204, 216, 219, 0.6);
	border-top-width: 2px;
}

/* Blocks - Columns */

/* Reduce gap - used on /subscribe page */
div.wp-block-columns.col-small-gap {
	gap: 12px;
}

/* Hide empty columns */
@media (max-width: 900px) {
	.wp-block-column:empty {
		display: none;
	}
}

/* Blocks - Pullquote */
.wp-block-pullquote {
	padding: 0;
	position: relative;
}

.wp-block-pullquote.has-background {
	padding: 1rem 0;
}

.wp-block-pullquote::before {
	background-image: url('/wp-content/uploads/2022/10/quotes-yellow.png');
	background-size: contain;
	background-repeat: no-repeat;
	content: '';
	height: 50px;
	left: 0;
	opacity: 0.7;
	position: absolute;
	top: -10px;
	width: 70px;
}

.wp-block-pullquote blockquote {
	margin: 0;
	padding: 0 0 0 20px;
	position: relative;
}

.wp-block-pullquote p {
	font-style: normal;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.wp-block-pullquote cite {
	font-family: 'Inter', sans-serif;
}

.wp-block-pullquote p:last-of-type {
	margin-bottom: 0.2em;
}

.wp-block-pullquote.alignleft blockquote,
.wp-block-pullquote.alignright blockquote {
	padding: 0;
	margin: 0;
}

.wp-block-pullquote.alignleft::before,
.wp-block-pullquote.alignright::before {
	height: 30px;
	left: -25px;
	top: -15px;
	width: 40px;
}

@media (min-width: 782px) {
	.wp-block-pullquote::before {
		height: 52px;
		left: -20px;
		top: -15px;
		width: 70px;
	}
	
	.wp-block-pullquote blockquote p {
		font-size: 1.4rem;
	}
}

/* Blocks - Quote */
.wp-block-quote:not(.is-large), 
.wp-block-quote:not(.is-style-large) {
	border-width: 5px;
}

.wp-block-quote p {
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.wp-block-quote cite {
	font-family: 'Inter', sans-serif;
	font-size: .7em;
	opacity: 0.7;
}

.wp-block-quote cite::before {
  content: "—";
  margin-right: .25rem;
}

/* Blocks - Gallery */
	@media (max-width: 599px) {
	.wp-block-gallery > amp-carousel {
		padding-top: 30% !important;
	}
		
	.wp-block-gallery amp-carousel .amp-wp-gallery-caption {
		line-height: 1.4;
		padding: 10px 5px;
		text-shadow: 1px 1px 2px #000;
	}
}

/* Blocks - Cover */ 
@media (max-width: 599px) {
	.wp-block-cover {
		padding: 1rem 0.75rem;
	}
}

@media (max-width: 320px) { 
	.wp-block-cover iframe[title='Donation Form'] {
		margin-left: -0.75rem;
		margin-right: -0.75rem;
	}
}

/* Pages */
.hide-page-title .site-content,
body:not(.newspack-front-page).hide-page-title .newspack_global_ad.global_below_header + .site-content {
	margin-top: 0;
}

.hide-page-title .entry .entry-content > .alignfull:first-of-type {
	margin-top: -1px;
}

/* Sponsors - 
 * 
 * Hide Sponsor Name and adjust logos 
 * 
 * /donors
 * */
.wpnbha.supporters-list .type-newspack_spnsrs_cpt .entry-wrapper, 
.hide-headline .entry-title { 
	display: none; 
}

.wpnbha.supporters-list .type-newspack_spnsrs_cpt .entry-wrapper, 
.image-padding img { 
	padding: 20px 30px !important; 
}

.wpnbha.supporters-list .article-section-title {
	font-size: 1.2rem;
	text-align: center;
}

div.wpnbha.supporters-list > div {
	justify-content: center;
}

.wpnbha.supporters-list .type-newspack_spnsrs_cpt .post-thumbnail {
	align-items: center;
	display: flex;
	justify-content: center;
	height: 200px;
}

.wpnbha.supporters-list .type-newspack_spnsrs_cpt img { 
	display: block;
	max-width: 60%;
	max-height: 90%;
	margin: auto;
	object-fit: contain;
	vertical-align: middle; 
}

.supporters-list-individuals {
	column-count: 2;
	list-style: none;
	padding: 0;
	text-align: center;
}

.entry .entry-content > 
.supporters-list-individuals {
	margin: 32px calc(25% - 25vw);
	max-width: 100vw;
}

.supporters-list-individuals li {
	font-size: 18px;
	margin: 5px 0;
}

@media (min-width: 782px) {
	.supporters-list-individuals {
		column-count: 3;
	}
}

/* Listings */
.newspack_lst_generic-template .sharedaddy {
	display: none;
}

/**
 * Blocks
 */ 
div.wp-block-group.is-style-border,
div.wpnbha.is-style-borders article {
	border-color: rgba( 204, 216, 219, 0.7 );
}

/* Buttons */
.button.mb-cta,
.wp-block-button__link,
.button, 
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"], 
.wp-block-search__button-outside .wp-block-search__button {
	border-radius: 2px;
}

/**
 * Secondary
 */ 

#secondary .accent-header,
#secondary div.wpnbha .article-section-title {
	font-size: 1rem;
}

#secondary div.wpnbha .article-section-title {
	margin-bottom: 1rem;
}

#secondary .wpnbha {
	font-size: 1rem;
}

#secondary .wp-block-group .wp-block-group__inner-container > *:not(:first-child) {
	margin-top: 20px;
}

#secondary .wp-block-group .wp-block-group__inner-container > *:not(:last-child) {
	margin-bottom: 20px;
}

#secondary h2 {
	font-size: 24px;
}

#secondary p {
	font-family: 'Inter', sans-serif;
}

/* Jazzing up About Us Menu in Sidebar */
.widget_nav_menu {
	width: 100%;
}

.widget_nav_menu ul#menu-about-us li a::before {
	color: #d64d4d;
	content: "»"; 
	margin-right: 0.5em;
}

.widget_nav_menu ul#menu-about-us li:not(:last-child) { 
	border-bottom: 1px solid rgba(0,0,0,0.075);
}

/* Jazzing up 'Civic Resources' latest Posts block */
ul.wp-block-latest-posts__list.story-list li { 
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 0.5em 0;
}

ul.wp-block-latest-posts__list.story-list li:last-child {
	border: 0;
}

/* Latest Posts block */
.wp-block-latest-posts { 
	font-size: 1.25em; 
}

ul.wp-block-latest-posts__list .wp-block-latest-posts__post-title {
	color: #000;
	line-height: 1.1;
	display: block;
	margin: 0 0 0.25em;
}

.wp-block-latest-posts time,
.wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
}

/* Gravity Forms */

/*
input[type="submit"].gform_button {
	background-color: #f4c913;
	color: #000; 
	display: block;
	font-size: 1rem; 
	margin: auto;
	text-transform: uppercase;
	border: 3px solid #fff;
	border-radius: 12px;
	font-family: 'Inter', sans-serif;
	letter-spacing: .05em;
}
*/


input[type="submit"].gform_button {
	background-color: #d64d4d;
	display: block;
	font-size: 1.1rem; 
	margin: auto;
	padding-left: 4rem;
	padding-right: 4rem;
	text-transform: uppercase;
	
	background-image: url('/wp-content/uploads/2022/10/send-modified-6.png');
	background-size: auto 90%;
	background-repeat: no-repeat;
	background-position: 95% center;
	transition: all 225ms ease-out;
	background-blend-mode: overlay;
}


input[type="submit"].gform_button:hover {
	background-position: 190% -50px;
	background-color: #a72a2a;
}

.button-yellow input[type="submit"].gform_button {
	background-color: #f4c913;
	color: #000;
}

.button-yellow input[type="submit"].gform_button:hover {
	background-color: #e1ab07
}

.button-green input[type="submit"].gform_button {
	background-color: #51a89a;
}

.button-green input[type="submit"].gform_button:hover {
	background-color: #23685b;
}

.gform_required_legend {
	display: none;
}


/**
 * Archives 
 */ 
.archive .page-title {
	color: #23685b;
	text-transform: uppercase;
}

/**
 * Footer 
 */ 
.site-footer .widget-title,
.site-footer .widgettitle {
	font-size: 1rem;
	margin: 20px 0 0;
	text-transform: uppercase;
}

.ginput_container_textarea .textarea { 
	height: 100px !important; 
}
.amp-wp-db0abb5 {
	object-fit: contain !important;
}
.amp-carousel-button {
	background-color: rgba(0,0,0,0) !important;
}

/* Fix for author bio link
 * Added by LF, May 12/23
 */
div.author-bio .author-link {
	color: #555;
}

/* Fixes Video from being cropped on mobile for smaller screens #5188 */
.wp-block-cover .wp-block-embed {
    min-height: 0px;
    min-width: 0px;
}