/**
 * Typography
 */ 
@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-Black.otf');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-BlackIta.otf');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-Bold.otf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-BoldIta.otf');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-Medi.otf');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-MediIta.otf');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-Book.otf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Meta Serif Pro';
  src: url('/wp-content/uploads/fonts/MetaSerifPro-BookIta.otf');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


h1, h2, h3, h4, h5, h6 {
	font-family: 'Meta Serif Pro' , serif;
}


/**
 * General Layout
 */ 
.wrapper,
#primary {
 width: 1400px;
}

/**
 * Header
 */ 
.site-branding {
	gap: 0.5rem;
}

.site-description {
	color: #111;
	font-style: normal;
	font-weight: bold;
	padding: 0;
}

@media (min-width: 1100px) {
	.site-description {
		font-size: 1rem;
	}
}

@media (min-width: 1400px) {
	.site-branding {
    width: 100%;
	}

	.site-identity {
    	margin-left: auto;
    	margin-right: 20px;
	}
}

@media (max-width: 781px) {
	.site-description {
		display: none;
	}
}


/* Reduce padding on logo */
.middle-header-contain .wrapper {
	padding: .5rem 0;
}

/* Primary Menu */
@media (min-width: 1200px) {
	.site-header #site-navigation {
		flex-basis: 100%;
	}

	.site-header .nav1 .main-menu {
		display: flex;
		flex-wrap: wrap;
	}

	.site-header .menu-space {
		margin-left: auto;
	}
}

#search-toggle {
	color: #5e6e76;
}

.main-navigation {
	letter-spacing: -.02em;
}

@media (min-width: 1100px) {
	.main-navigation {
		font-size: 1.2rem !important;
	}
	
	.site-header .nav1 .main-menu > li > button {
		position: relative;
		top: -2px;
	}
	
	#search-toggle {
		padding-top: 0.45rem;
	}
}

.site-header .nav1 .main-menu > li > a {
	color: #5e6e76;
}

.site-header .nav1 .main-menu > li {
	margin-right: 0;
}

.bottom-header-contain .wrapper {
	border-width: 2px;
	border-color: #5e6e76;
}

/* Tertiary menu */
.site-header .nav3 a {
	font-size: 1rem;
}

body.h-db.h-dh .site-header .nav3 .menu-highlight a {
	background: #1c8745;
}

.site-header .nav3 ul {
	display: flex;
	white-space: nowrap;
}

/* Reduce padding below sub-nav */

@media only screen and (min-width: 782px)
 {
	.site-content {
		margin-top: 1rem;
 !important;
	}

/* Highlight Menu */
.site-header .highlight-menu .menu-label {
	color: #000;
	font-weight: normal;
}

.highlight-menu-contain {
	margin: 0;
}

.highlight-menu-contain .wrapper {
	border-bottom: 2px solid #d6d6da;
	height: 2.75em;
	padding: 0.45em 0;
}

.highlight-menu {
	letter-spacing: -.03em;
}

.highlight-menu, 
.highlight-menu a {
	color: #135b7e;
}

@media (min-width: 1100px) {
	.highlight-menu {
		font-size: .8rem;
	}
	
	.highlight-menu-contain .wrapper {
		height: 3.em;
	}
}

/**
 * Content
 */ 


/* Accent Headers */
div.wpnbha .article-section-title,
.accent-header {
	border-bottom: 0;
	color: #111;
	font-size: 1.2rem;
	font-weight: 900;
	padding-bottom: 0;
}

/* Categories */
.cat-links {
	align-items: center;
	display: flex;
	font-size: 0.65rem;
	flex-wrap: wrap;
	gap: 0.5em;
}

	 	 /* Category links */
.cat-links a,
.cat-links a:visited,
.wpnbha .cat-links a {
	background: transparent;
	color: var( --newspack-theme-color-primary );
	padding: 0;
	font-size: 1.4em;
 !important;
}
	 



.cat-links a:hover,
.wpnbha .cat-links a:hover {
	background: transparent;
	color: var( --newspack-theme-color-primary-variation );
	
}

article.tag-news .cat-links:before,
.single section.tag-news .entry-header .cat-links:before,
article.category-arts-culture .cat-links:before,
.single section.category-arts-culture .entry-header .cat-links:before,
article.category-opinion .cat-links:before,
.single section.category-opinion .entry-header .cat-links:before {
	background: var( --newspack-theme-color-primary );
	border-radius: 3px;
	display: inline-block;
	line-height: 1;
	padding: 0.25em 0.75em;
	color: #fff;
		font-size: 1.3em;
 !important;
}

article.tag-news .cat-links:before,
.single section.category-news .entry-header .cat-links:before {
	content: 'News';
}

article.category-arts-culture .cat-links:before,
.single section.category-arts-culture .entry-header .cat-links:before {
	content: 'Arts & Culture';
}

article.category-opinion .cat-links:before,
.single section.category-opinion .entry-header .cat-links:before {
	content: 'Opinion';
}

/**
 * Single Posts
 */ 
.single .entry-title {
 font-size: 1.5em;
}

@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: 1.0em;
  }
}

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

.single .entry-header .cat-links {
	font-size: 0.9rem;
}

.single .entry-header .cat-links a {
	margin: 0;
}
	
.newspack-post-subtitle {
	font-family: var(--newspack-theme-font-heading);
	font-style: normal;
}
	 
/* Reduce padding below sub-title */

@media only screen and (min-width: 600px)
 {
	.newspack-post-subtitle {
		margin-bottom: .5rem;
 !important;
	}

/* Single - Move sidebar up next to title */
@media (min-width: 840px) {
	.single:not(.has-large-featured-image) .entry-header {
		border-bottom: 0;
	}
  .single.post-template-default .featured-image-above .post-thumbnail {
    margin: 2rem 0 0;
    max-width: 100%;
    width: 840px;
  }
	
  .single.post-template-default .featured-image-above figcaption {
    max-width: 100%;
    width: 840px;
  }
	
  .single.post-template-default .featured-image-above .entry-header {
    margin-top: 2rem;
  }
    
  /* Make sure classic contents fit! */
  .single:not(.has-large-featured-image).has-sidebar .entry-content > figure.wp-caption.alignnone[style*='width'],
  .page:not(.has-large-featured-image).has-sidebar .entry-content > figure.wp-caption.alignnone[style*='width'],
  .single:not(.has-large-featured-image).has-sidebar .tiled-gallery,
  .page:not(.has-large-featured-image).has-sidebar .tiled-gallery {
    max-width: 840px;
  }
	
  .single:not(.has-large-featured-image).has-sidebar #main,
  .page:not(.has-large-featured-image).has-sidebar #main {
    display: grid;
    grid-template-columns: 62.5% 32.5%;
    grid-template-rows: fit-content(1%) fit-content(1%) 1fr;
    column-gap: 5%;
  }
    
  .single:not(.has-large-featured-image).has-sidebar .entry-header,
  .page:not(.has-large-featured-image).has-sidebar .entry-header {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
	
  .single:not(.has-large-featured-image).has-sidebar .main-content,
  .page:not(.has-large-featured-image).has-sidebar .main-content {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    width: 100%;
  }
    
  .single:not(.has-large-featured-image).has-sidebar #secondary,
  .page:not(.has-large-featured-image).has-sidebar #secondary {
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    width: 100%;
  }
	
  .single:not(.has-large-featured-image).has-sidebar .main-content > .post-thumbnail:first-child {
    margin-top: 0;
    margin-bottom: 16px;
  }
	
  .single:not(.has-large-featured-image) #secondary {
    padding-top: 0;
  }
	
  /* Hidden featured image */
  .single:not(.has-large-featured-image):not(.has-featured-image).has-sidebar .main-content {
    grid-row: 2 / 4;
  }
	
	
  /* Featured image above */
  .single-featured-image-above.has-sidebar .featured-image-above {
    display: contents;
  }
	
  .single.single-featured-image-above.has-sidebar .featured-image-above .post-thumbnail {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
	
  .single.single-featured-image-above.has-sidebar .entry-header {
    grid-row: 2 / 3;
  }
	
  .single.single-featured-image-above.has-sidebar .main-content {
    grid-row: 3 / 4;
  }
	
  /* One column template */
  .post-template-single-feature .featured-image-above .post-thumbnail,
  .post-template-single-feature .featured-image-above,
  .featured-image-above figcaption{
    width: 840px;
  }
	
  .post-template-single-feature .featured-image-above {
    margin-left: auto;
    margin-right: auto;
  }
	
  .post-template-single-feature .featured-image-above .post-thumbnail {
    margin: 2rem 0 1.5rem;
  }
}
/* Single - END Move sidebar up next to title */

/**
 * Archives
 */ 
.archive .cat-links a,
.blog .cat-links a,
.search .cat-links a {
	padding: 0;
}

.archive .cat-links:not(.sponsor-label) {
	display: flex;
}

/**
 * Site Footer
 */ 
.site-footer .footer-widgets a {
	color: #5e99b5;
	text-decoration: underline;
}

.site-footer .widget_nav_menu .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: center;
}

.site-footer .widget_nav_menu .menu a {
	font-weight: bold;
}

@media (max-width: 960px) {
	.site-footer .widget_nav_menu .menu {
		flex-direction: column;
		text-align: center;
	}
}

.site-footer .social-navigation {
	display: none;
}

/* removing ras until they need it later */
.newspack-reader__account-link {
	display: none !important; 
}
	 
.entry-content .newspack-reader__account-link__mobile a, .newspack-reader__account-link__mobile a {
	display: none !important; 
	width: 0px !important;
	height: 0px !important;
}

.custom-nav {
	 font-family: sans-serif;
}