/**
 * Image Shapes
 * Switch landscape images to 2:3
 */
.wpnbha.is-landscape:not(.image-alignbehind) .post-thumbnail a {
	display: block;
	margin-bottom: 1em;
	padding-bottom: 66.67%;
	position: relative;
	overflow: hidden;
}

.wpnbha.is-landscape:not(.image-alignbehind) .post-thumbnail img {
	height: 100%;
	left: 50%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

/**
 * Typography
 */
@font-face {
	font-family: 'basis-grotesque';
	src: url('/wp-content/uploads/fonts/basis-grotesque-bold.woff2') format('woff2'), url('/wp-content/uploads/fonts/basis-grotesque-bold.woff') format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Quick comment */

@font-face {
	font-family: 'basis-grotesque';
	src: url('/wp-content/uploads/fonts/basis-grotesque-regular.woff2') format('woff2'), url('/wp-content/uploads/fonts/basis-grotesque-regular.woff') format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}


@font-face {
	font-family: 'basis-grotesque-off-white';
	src: url('/wp-content/uploads/fonts/basis-grotesque-off-white.woff2') format('woff2'), url('/wp-content/uploads/fonts/basis-grotesque-off-white.woff') format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'rift';
	src: url('/wp-content/uploads/fonts/rift-bold.otf');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

.font-basis-off-white {
	font-family: 'basis-grotesque-off-white', sans-serif;
}

.font-rift,
.font-rift * {
	font-family: 'rift', sans-serif !important;
}

/**
 * Header
 */
.bottom-header-contain {
	border-top: 1px solid #fff;
}

.nav1 .main-menu li a {
	text-transform: uppercase;
}

.nav1 .main-menu li ul li a {
	text-transform: none;
}

.site-header .nav1 .main-menu li a {
	font-size: .65rem;
}

.site-header .nav1 .main-menu li ul li a {
	font-size: .7rem;
}

.nav3 .menu-highlight a {
	background: rgb(233, 76, 33);
	border: 0;
}

.desktop-sidebar {
	background: #000;
}

.desktop-sidebar,
.desktop-sidebar a, 
.desktop-sidebar a:visited,
.desktop-sidebar a:hover {
	color: #fff;
}

.desktop-sidebar .wp-block-search {
	background: #fff;
}

/**
 * Content
 */
/* Accent headers */
.accent-header:not(.widget-title)::before,
.article-section-title::before, 
.cat-links::before, 
.page-title::before {
	display: none;
}

.accent-header:not(.widget-title),
.article-section-title {
	color: #111;
}

.accent-header,
.article-section-title {
	align-items: center;
	display: flex;
	gap: .5em;
}

.accent-header:after,
.article-section-title:after {
	border-top: 1px solid #ddd;
	content: '';
	display: block;
	flex: 1 0 .25rem;
}

.wp-block-heading.sidebar:not(.widget-title)::before,
.article-section-title::before, 
.cat-links::before, 
.page-title::before {
	display: none;
}

.wp-block-heading.sidebar:not(.widget-title),
.article-section-title {
	color: #000;
}

.wp-block-heading.sidebar::before {
  background-color: var(--newspack-theme-color-primary);
  content: "";
  display: inline-block;
  height: 0.75em;
  margin: 0 0.75em 0 0;
  position: relative;
  width: 0.75em;
  top: 3px;
}

.wp-block-heading.sidebar {
	align-items: center;
	display: flex;
	gap: .5em;
}

.wp-block-heading.sidebar:after {
	border-top: 5px solid #e94c21;
	content: '';
	display: block;
	flex: 1 0 .25rem;
}

.entry-content a {
	text-decoration-color: rgb(233, 76, 33);
}

h1, h2, h3, h4, h5, h6 {
	letter-spacing: -.025em;
}

/* Design Accents */
.has-drop-cap.accent:not(:focus)::first-letter {
	font-size: 4em;
	border-bottom: 5px solid #e94c21;
	padding-bottom: 10px;
}



/*Sidebar Blocks */
.wp-block-separator.story-accent {
	border-top: solid 5px #e94c21;
}

.wp-block-separator.explained {
  border-top: 5px solid #d52127;
  border-bottom: 5px solid #5ec2e3;
}

.wp-block-group.explained {
  border-top: 5px solid #d52127;
  border-bottom: 5px solid #5ec2e3;
}

/* Post elements */
.newspack-post-subtitle {
	font-style: normal;
}

.cat-links a {
	color: #111;
}

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

div.entry-meta .byline span:first-child {
	text-transform: capitalize;
}

/* Homepage */
.neighborhoods-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.neighborhoods-list li {
	padding: .5em 0;
}

.neighborhoods-list li:not(:last-child) {
	border-bottom: 1px solid #ddd;
}

.neighborhoods-list li a {
	color: #E94C21;
	text-decoration: none;
}

/* Single post */
.entry-header .cat-links {
	font-size: .8rem;
}

.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: 2em;
	}
}

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

/* One column-wide template 
.post-template-single-wide 
.entry-header {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.post-template-single-wide 
.wp-block-image {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.post-template-single-wide h2, h3, h4, h5, h6, p {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}*/
/* One column template*/
.post-template-single-feature .entry-header {
	margin-left: auto;
	margin-right: auto;
	max-width: 780px;
}

/* Blocks - Homepage Posts */
.wpnbha p {
	font-size: .9rem;
}

/*Sidebar Blocks */
.wp-block-separator.sidebar {
	border-top: solid 10px;
}

/* START Block alignment work-around for Piano div */
[id="contentrecs"] > *.wp-block-image .alignleft,
[id="contentrecs"] > *.alignleft {
  float: left;
  margin-left: 0;
  margin-right: 1rem;
  max-width: 50%;
}

[id="contentrecs"] > *.wp-block-image .alignright,
[id="contentrecs"] > *.alignright {
  float: right;
  margin-right: 0;
  margin-left: 1rem;
  max-width: 50%;
}

@media only screen and (min-width: 782px) {
	.post-template-single-feature [id="contentrecs"] > .alignwide,
  .page-template-single-feature [id="contentrecs"] > .alignwide,
  .page-template-no-header-footer [id="contentrecs"] > .alignwide {
		margin-left: calc(25% - 25vw);
		margin-right: calc(25% - 25vw);
		max-width: 100vw;
	}
}

.post-template-single-feature [id="contentrecs"] > .alignfull,
.page-template-single-feature [id="contentrecs"] > .alignfull,
.page-template-no-header-footer [id="contentrecs"] > .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	position: relative;
	width: 100vw;
}

@media only screen and (min-width: 600px) {
	.post-template-single-feature [id="contentrecs"] > .alignleft,
  .post-template-single-feature [id="contentrecs"] > .wp-block-image .alignleft,
  .page-template-single-feature [id="contentrecs"] > .alignleft,
  .page-template-single-feature [id="contentrecs"] > .wp-block-image .alignleft,
  .page-template-no-header-footer [id="contentrecs"] > .alignleft,
  .page-template-no-header-footer [id="contentrecs"] > .wp-block-image .alignleft {
		margin-right: calc(2 * 1rem);
	}
	
	.post-template-single-feature [id="contentrecs"] > .alignright,
  .post-template-single-feature [id="contentrecs"] > .wp-block-image .alignright,
  .page-template-single-feature [id="contentrecs"] > .alignright,
  .page-template-single-feature [id="contentrecs"] > .wp-block-image .alignright,
  .page-template-no-header-footer [id="contentrecs"] > .alignright,
  .page-template-no-header-footer [id="contentrecs"] > .wp-block-image .alignright {
		margin-left: calc(2 * 1rem);
	}
}

@media only screen and (min-width: 782px) {
	.post-template-single-feature [id="contentrecs"] > .alignleft,
  .post-template-single-feature [id="contentrecs"] > .wp-block-image .alignleft,
  .page-template-single-feature [id="contentrecs"] > .alignleft,
  .page-template-single-feature [id="contentrecs"] > .wp-block-image .alignleft,
  .page-template-no-header-footer [id="contentrecs"] > .alignleft,
  .page-template-no-header-footer [id="contentrecs"] > .wp-block-image .alignleft {
		margin-left: -2rem;
	}
	
	.post-template-single-feature [id="contentrecs"] > .alignright,
  .post-template-single-feature [id="contentrecs"] > .wp-block-image .alignright,
  .page-template-single-feature [id="contentrecs"] > .alignright,
  .page-template-single-feature [id="contentrecs"] > .wp-block-image .alignright,
  .page-template-no-header-footer [id="contentrecs"] > .alignright,
  .page-template-no-header-footer [id="contentrecs"] > .wp-block-image .alignright {
		margin-right: -2rem;
	}
}

@media only screen and (min-width: 1168px) {
	.post-template-single-feature [id="contentrecs"] > .alignleft,
  .post-template-single-feature [id="contentrecs"] > .wp-block-image .alignleft,
  .page-template-single-feature [id="contentrecs"] > .alignleft,
  .page-template-single-feature [id="contentrecs"] > .wp-block-image .alignleft,
  .page-template-no-header-footer [id="contentrecs"] > .alignleft,
  .page-template-no-header-footer [id="contentrecs"] > .wp-block-image .alignleft {
		margin-left: -6rem;
	}
	
	.post-template-single-feature [id="contentrecs"] > .alignright,
  .post-template-single-feature [id="contentrecs"] > .wp-block-image .alignright,
  .page-template-single-feature [id="contentrecs"] > .alignright,
  .page-template-single-feature [id="contentrecs"] > .wp-block-image .alignright,
  .page-template-no-header-footer [id="contentrecs"] > .alignright,
  .page-template-no-header-footer [id="contentrecs"] > .wp-block-image .alignright {
		margin-right: -6rem;
	}
}
/* END Block alignment work-around for Piano div */
/**
 * Secondary
 */
.menu-neighborhoods-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-neighborhoods-container ul li {
	padding: .5em 0;
}

.menu-neighborhoods-container ul li:not(:last-child) {
	border-bottom: 1px solid #ddd;
}

.menu-neighborhoods-container li a {
	color: #E94C21;
	text-decoration: none;
}

/**
 * Footer
 */
#colophon .widget-title,
#colophon .widgettitle {
	font-size: .8rem;
}

.universal-email-preference-center {
	padding: 16px;
	margin-bottom: 20px;
}

.uepc-welcome-text {
	color: black;
	display: block;
	font-weight: normal;
	font-size: 16px;
}

.uepc-welcome-text h4 {
	color: black;
}

/* Disable hyphenation */

.entry-title, a { 
	word-break: normal;
	word-wrap: normal; 
	hyphens: none;
	-webkit-hyphens: none; 
	-moz-hyphens: none; 
}

/* Disable overflow */
#content {
	overflow: initial;
}