:root {
	--wp--style--global--content-size: 1200px;
}

.site-header .wrapper,
.site-footer .wrapper {
	max-width: 96vw;
	width: calc( 1200px + ( 2 * ( 25vw - 300px ) ) );
}

/**
 * Header
 */ 
/* Top bar */
.top-header-contain {
	background: #693864;
	border-bottom: 1px solid #eee;
}

.h-sh .top-header-contain nav {
	padding: 0;
}

.site-header .nav2 li:last-child {
	margin-right: 0.5rem;
}

.site-header .menu-country-flag span {
	display: none;
}

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

.site-header .menu-country-flag + .menu-country-flag {
	margin-left: 0;
}

.secondary-menu img.emoji {
	height: 1.8em !important;
	width: 2em !important;
}

#secondary-nav-contain {
	width: 100%;
}

.site-header .nav2 li:first-of-type:before {
	color: #ff9695;
	content: 'Trending News';
	font-size: 0.7rem;
	font-weight: 900;
	margin-right: 1rem;
	text-transform: uppercase;
}

.site-header .nav2 li:not( .menu-country-flag ) a:after {
	content: '...';
}

.site-header .nav2 li {
	margin-right: 0.75rem;
}

/* Middle bar */
/* Tertiary menu */
.nav3 .menu-highlight a {
	background: #dcdc00;
	border: 0;
	color: #111;
}

.nav3 .menu-highlight:first-of-type a {
	background: #f16260;
	color: #fff;
}

.site-header .nav3 li:nth-child(n+2) {
	margin-left: 0.6em;
}

/* Social links menu */
.site-header .social-navigation {
	display: none;
	opacity: 0.8;
}

/* Desktop menu */
.site-header .desktop-menu-toggle {
	font-weight: bold;
}

/* Mobile menu */
.mobile-sidebar {
	background-color: #fff;
}

/* Middle header */
.h-sh.h-ll .site-branding {
	margin-right: auto;
}

.h-sh.h-ll.hide-site-tagline.has-tertiary-menu .nav-wrapper + .nav-wrapper {
	margin-left: 0;
}

/**
 * Content
 */ 
@media (min-width: 782px) {
	.site-content {
		margin-top: 2rem;
	}
}

.entry-content a,
.cat-links a {
	color: #00c2f3;
}

/* 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 {
	color: #111;
}

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

/* Homepage - wide block correction */
.newspack-front-page .entry .entry-content .alignwide .alignwide,
.newspack-front-page .entry .entry-content .alignfull .alignwide {
	margin-left: calc(25% - 25vw);
	margin-right: calc(25% - 25vw);
}

.newspack-front-page .entry .entry-content .alignfull .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Homepage - footer */
.newspack-front-page .entry-footer {
	display: none;
}
.newspack-front-page .site-footer {
	margin-top: 0;
}

/* Blocks - Cover */
.wp-block-cover > div > *:not(:first-child) {
	margin-top: 16px;
}

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

.wp-block-cover .wp-block-cover__inner-container {
	max-width: var( --wp--style--global--content-size );
}

/* Blocks - colors */
.has-light-gray-background-color, .has-light-gray-background-color.has-background-dim, .wp-block-pullquote.is-style-solid-color.has-light-gray-background-color, .wp-block-pullquote.has-light-gray-background-color, .is-style-outline .wp-block-button__link.has-light-gray-background-color:not(:hover), .wp-block-navigation-item.has-light-gray-background-color, .wp-block-search__button.has-light-gray-background-color { 
	background: #f3f3f3;
}

/* Blocks - buttons */
.wp-block-button__link, 
.wp-block-search__button,
.button.mb-cta,
button, 
input[type="button"],
input[type="reset"], 
input[type="submit"] {
  border-radius: 0;	
}

/* Blocks - Cover */
/* Make 100% height when nested in column block */
.wp-block-column .wp-block-cover {
	height: 100%;
}

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

/* Blocks - Group */
/* The group block has to be set to "Stack" or "Row" for this to work */
.wp-block-group:empty {
	display: none;
}

/* prevent word wrap in row block - limited to Generic Listings (/countries) to prevent unexpected issues */
.newspack_lst_generic-template .wp-block-group.is-nowrap.is-layout-flex {
	word-break: initial;
}

/* Single */
.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.0em;
  }
}

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

/* Temp. share button fix */
.sd-content ul li a.sd-button > span {
	margin-left: 0;
}

/* Single - generic listing */
.single-newspack_lst_generic .entry-header .cat-links,
.single-newspack_lst_generic .entry-subhead {
	display: none;	
}

/**
 * Archives
 */ 
.archive .page-header, 
.blog .page-header, 
.search .page-header {
	margin-bottom: 1rem;
}

/**
 * Sidebar
 */ 
.widget,
.widget_nav_menu ul li {
	font-family: 'Lato', sans-serif;
}

#secondary .wpnbha .cat-links,
#secondary .wpnbha .entry-meta {
	font-size: 0.8em;
}

/**
 * Footer
 */ 
.site-footer {
	margin-top: 100px;
	padding-top: 2rem;
}

.site-footer ul {
	list-style: none;
}

.site-footer ul a {
	display: inline-block;
	padding: .125rem 0;
}

/* Hide author avatar and byline on country profile category */ 

body.cat-country-profile .entry-header .author-avatar, body.cat-country-profile .entry-header .byline {
	display:none;
}

/**
 * WooCommerce
 */
.woocommerce-message {
	display: none;
}

.woocommerce .woocommerce-error .button {
	margin-left: 2rem;
}

.site-header .menu-item.my-account {
	display: none;
}
body.logged-in .site-header  .menu-item.my-account {
	display: inline-block;
}
body.logged-in .site-header  .menu-item.sign-in {
	display: none;
}

.wp-block-newspack-blocks-homepage-articles .wc-memberships-restriction-message,
.archive .wc-memberships-restriction-message,
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .entry-wrapper p:nth-of-type(2) {
	display: none;
}

/*Added to improve appearance 
 * of programmable search box
 * for #4032 —MS, 09-07-23 */

td.gsc-input {
	border:none;
}

div.gsc-input-box {
	border:none; 
	max-width: 700px;
	width:auto;
	margin-top:-41px;
}

td.gsc-search-button {
	border:none;
}

div.gsc-control-cse, div.gsc-control-cse-e {
	padding:0px;
	border:none;
}

div.gsc-control-wrapper-cse {
	padding:0px;
	border:none;
}

div.___gcse_0 {
	padding:0px;
	border:none;
}

form.gsc-search-box.gsc-search-box-tools {
	padding:0px;
	border:none;
}

td.gsib_b {
	border:none;
}

td.gsib_a {
}

div.gsc-option-menu-container {
	min-width: 110px;
}

div.gsc-result-info {
	margin-top:10px;
}

table.gsc-input {
	margin-top:63px;
}
/* Hide recaptcha */
.grecaptcha-badge { visibility: hidden; }