/* Change Secondary Menu color */
.top-header-contain {
	background-color: #2B3843;
}

/* Change menu highlight colour */
body.h-db .site-header .nav3 .menu-highlight a {
	background-color: #f8b567;
	border: 0;
}

/* Highlight Menu */
.site-header .highlight-menu-contain {
	background-color: #474644;
	margin: 0;
	padding: .25rem 0 .35rem;
}


.highlight-menu-contain .wrapper {
	height: auto;
}

.site-header .highlight-menu-contain li {
  margin-right: 1.25rem;
}

.site-header .highlight-menu a {
	color: #fff;
}

.site-header .highlight-menu .menu-label {
	color: #f8b567;
	font-size: 0.6rem;
}

/* 20240216 remove TRENDING menu from mobile by commenting out this
@media ( max-width: 960px ) {
	.site-header .highlight-menu-contain {
		display: block;
	}
}


@media ( max-width: 781px ) {	
	.highlight-menu-contain .wrapper {
		display: block;
	}

	.site-header .highlight-menu-contain li {
		font-size: 0.75rem;
		line-height: 1.2;
		height: auto;
		margin: 0 0 0.5rem;
		display: block;
		text-align: center;
	}
}
end 20240216 */

/* Slide-out sidebar */
.desktop-sidebar .widget_nav_menu .menu > li > a {
	display: inline-block;
	font-weight: bold;
	font-size: 1.2em;
}

/* Hide caption accent on homepage */
.home figcaption:after {
	display: none;
}

/* Events Calendar */
.tribe-events-before-html + .tribe-events-header.tribe-events-header--has-event-search {
	margin-top: 0.5rem;
}

.tribe-common .tribe-events-before-html a.button {
	background: #5a95c4;
	padding: 0.76rem 1rem;
}

.tribe-common .tribe-events-before-html a.button:hover {
	background: #111;
}

/* Mailchimp widget */
.home .mc4wp-form-fields {
	font-size: .8em;
}

.mc4wp-form-fields .mc-fields {
	display: flex;
}

.mc4wp-form-fields input[type="email"] {
	margin-right: 0.5em;
}

@media (min-width: 782px) and (max-width: 960px) {
	.mc4wp-form-fields .mc-fields {
		flex-wrap: wrap;
	}
	
	.mc4wp-form-fields input[type="email"] {
		margin-bottom: 0.5rem;
	}
}

/* Profile Block */
.wp-block-organic-profile-block {
	border-top: 1px solid #ddd;
	padding-top: 1.5em;
	align-items: flex-start;
}
.wp-block-organic-profile-block .organic-profile-image {
	width: 40%;
}

.wp-block-organic-profile-block .organic-profile-content p {
	font-size: 0.9em;
	padding: 0;
}

/* Captions */
figcaption, 
.wp-caption-text, 
.amp-image-lightbox-caption {
	font-size: 0.8rem
}

/* Borders */
.entry .wpnbha.is-style-borders article,
.wp-block-columns.is-style-borders .wp-block-column::after,
.wp-block-group.is-style-border,
.wp-block-separator,
hr {
	border-style: solid;
	border-color: #ddd;
}

.single:not( .has-featured-image ) .entry-header,
.single:not( .has-large-featured-image ) .entry-header {
	border-bottom-style: solid;
	border-bottom-color: #ddd;
}

/* Single Post - make subheader narrower */
.single:not(.has-featured-image) .entry-header, 
.single:not(.has-large-featured-image) .entry-header {
	border: 0;
	padding-bottom: 0;
}

@media (min-width: 782px) {
	.single:not(.has-featured-image) .entry-subhead,
	.single:not(.has-large-featured-image) .entry-subhead {
		width: 65%;
	}
}

/* Footer */
@media (min-width: 960px) {
	.site-footer .footer-branding .wrapper {
		position: relative;
		justify-content: center;
	}
	.site-footer .footer-branding .social-navigation {
		bottom: 0;
		position: absolute;
		right: 0;
		top: 0;
	}
}

/* Temp fix for columns displaying too narrow in a group block - LF */
 .newspack-front-page .entry .entry-content .wp-block-group.alignfull > div > .wp-block-columns:not(.alignfull):not(.alignwide) {
	 max-width: 1264px;
}

/* Center header on the membership page */
.page-id-316136 .entry-header .entry-title {
	text-align: center;
}

/* Fix in-content ad sizes */
.entry-content amp-ad[type="broadstreetads"] {
	max-width: 300px;
	max-height: 250px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

/* iframe margin */
.iframe-margin {
	margin: 0px;
}

/* wdj scroll bar class */
.wdj-scroll-box {
	max-height: 800px;
	overflow: auto;
}

/* TEC community events hide image uploader */
.tribe-section-image-uploader {
	display: none;
}

/* Center ads in column */
broadstreet-zone-container {
	text-align: center;
}

.grecaptcha-badge {
	visibility: hidden;
}

/* blue background for Newsletter menu item */
.mission-blue-highlight a {
	background-color: #628eb5 !important;
}

/* Date range on events page */
.tribe-events-c-top-bar__datepicker-time {
	color: blue !important;
	text-decoration: underline;
}


.wp-block-newspack-blocks-donate__thanks strong {
	color: black !important;
}

.author .category-en-espanol {
	display: none;
}

.newspack-newsletters-subscribe input[type=submit], .newspack-newsletters-email-input input[type=submit] {
	background: #F8B567 !important;
	color: black !important;
}


/* On desktop hide the button that
 * inserts more articles. Instead
 * show the button below that jumps
 * to the page with more articles 
 */
/* 20240216 Removed because buttons
 * at end of articles have been
 * removed. Remove all this after
 * 3 months
@media ( min-width: 960px ) {
	.wp-block-column-is-layout-flow .wpnbha .wp-block-button__link {
		display: none !important;
	}
}
@media ( max-width: 959px ) {
	.ml-more-news-button {
		display: none !important;
	}
}
*/

/* add vertical bar between trending headlines */
@media ( min-width: 960px ) {
	.highlight-menu .menu-item {
		margin-right: .5rem !important;
	}

	.highlight-menu .menu-item:not(:last-child):after {
		content: "|";
		color: white;
		margin-left: .5rem;
		font-weight: bold;
	}
}

.wp-block-embed-twitter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.dml-header:after {
	content: ": curated by KQED";
}