/**
 * Front-end block layout and the NewsPro interface refresh.
 *
 * Loaded after the legacy stylesheets so blocks keep the colors,
 * spacing, and alignment chosen in the editor.
 */

:root {
	--newspro-ink: #1e0b0b;
	--newspro-amber: #ffa200;
	--newspro-muted: #717579;
	--newspro-surface: #f6f4f1;
	--newspro-line: #e6e1d8;
}

body {
	color: #161616;
	font-family: "Libre Franklin", "Segoe UI", sans-serif;
	line-height: 1.7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.navbar-toggle:focus {
	outline: 2px solid var(--newspro-amber);
	outline-offset: 2px;
}

.skip-link.screen-reader-text:focus {
	background: var(--newspro-ink);
	color: #fff;
	z-index: 100000;
}

/* Header */
.top_header {
	background: #161616;
}

.top_header .top_nav a,
.top_header .social a {
	color: #f2f2f2;
}

.top_header .social a:hover,
.top_header .social a:focus,
.top_header .top_nav a:hover,
.top_header .top_nav a:focus {
	color: var(--newspro-amber);
}

.header-site .logo {
	width: 100%;
	max-width: 100%;
	float: none;
	padding: 0;
	text-align: left;
}

.logo a,
.site-title,
.site-title a {
	color: var(--newspro-ink);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.site-description {
	color: var(--newspro-muted);
	font-family: "Libre Franklin", "Segoe UI", sans-serif;
	font-size: 0.92rem;
}

#navbar .navbar {
	background: var(--newspro-ink);
	border: 0;
	border-radius: 0;
	margin-bottom: 0;
	min-height: 52px;
}

#navbar .navbar-nav > li > a {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

#navbar .navbar-nav > li > a:hover,
#navbar .navbar-nav > li > a:focus,
#navbar .navbar-inverse .navbar-nav > .active > a,
#navbar .navbar-inverse .navbar-nav > .active > a:hover,
#navbar .navbar-inverse .navbar-nav > .active > a:focus {
	background: transparent;
	color: var(--newspro-amber);
	margin-left: 0;
}

#navbar .navbar-toggle {
	border-color: rgba(255, 255, 255, 0.4);
}

#navbar .navbar-toggle .icon-bar {
	background: #fff;
}

/* Breaking news ticker. The list is printed twice so the loop is seamless. */
.breaking-news {
	background: var(--newspro-ink);
	padding: 0;
}

.breaking-news p {
	margin: 0;
	padding: 0.7rem 0;
	color: var(--newspro-amber);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.newspro-ticker__viewport {
	overflow: hidden;
}

.newspro-ticker__list {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	width: max-content;
	margin: 0;
	padding: 0.65rem 0;
	list-style: none;
	animation: newspro-ticker 42s linear infinite;
}

.newspro-ticker:hover .newspro-ticker__list,
.newspro-ticker:focus-within .newspro-ticker__list {
	animation-play-state: paused;
}

.newspro-ticker__list .break_title {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	white-space: nowrap;
}

.newspro-ticker__list .break_title a {
	color: #fff;
	font-weight: 600;
}

.newspro-ticker__list .break_title a:hover,
.newspro-ticker__list .break_title a:focus {
	color: var(--newspro-amber);
}

@keyframes newspro-ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.newspro-ticker__list {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		white-space: normal;
	}

	.newspro-ticker__list [aria-hidden="true"] {
		display: none;
	}
}

/* Stories */
.blog article.post,
.archive article.post,
.search article.post,
.blog article.page,
.hfeed article.hentry {
	background: #fff;
	border: 1px solid var(--newspro-line);
	margin-bottom: 1.75rem;
	padding: 1.15rem 1.15rem 0.4rem;
}

.single article.hentry,
.page article.hentry {
	border: 0;
	padding-left: 0;
	padding-right: 0;
}

.entry-media {
	margin: 0 0 1rem;
	overflow: hidden;
	background: var(--newspro-surface);
}

.entry-media img,
.entry-content > img.newspro-featured {
	display: block;
	width: 100%;
	height: auto;
}

.top-entry-section {
	margin: 0.85rem 0 0;
}

.content-wrapper .entry-meta a {
	display: inline-block;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.15rem 0.5rem;
	background: var(--newspro-amber);
	color: var(--newspro-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none !important;
}

.content-wrapper .entry-meta a:hover,
.content-wrapper .entry-meta a:focus {
	background: var(--newspro-ink);
	color: #fff;
}

h1.entry-title,
h2.entry-title {
	color: var(--newspro-ink);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

h1.entry-title {
	font-size: clamp(1.8rem, 4vw, 2.7rem);
}

h2.entry-title {
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	margin: 0.2rem 0 0.55rem;
}

.content-wrapper h2.entry-title a {
	color: var(--newspro-ink);
	text-decoration: none !important;
}

.content-wrapper h2.entry-title a:hover,
.content-wrapper h2.entry-title a:focus {
	color: #9a6200;
}

.blog-info {
	color: var(--newspro-muted);
	padding-left: 0;
}

.blog-info > li + li::before {
	content: "/";
	margin-right: 0.4rem;
	color: #b0b5b9;
}

.widget,
.sidebar-main .widget {
	border: 1px solid var(--newspro-line);
	background: #fff;
	padding: 1rem;
}

.widget-title,
.footer-widget-title,
.news_heading h3.widget-title {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer-site {
	background: #1a1a1a;
	margin-top: 2rem;
	padding-top: 1.5rem;
}

/* Keep editor link and button colors inside the old blanket link rules. */
.entry-content a:not(.wp-block-button__link):not(.wp-element-button) {
	color: var(--newspro-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.content-wrapper .entry-content a:not(.wp-block-button__link):not(.wp-element-button):hover,
.content-wrapper .entry-content a:not(.wp-block-button__link):not(.wp-element-button):focus {
	color: #9a6200;
}

.entry-content {
	color: #3d4348;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.entry-content > * + * {
	margin-top: 1.15rem;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
	max-width: 100%;
	height: auto;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-gallery img,
.entry-content .blocks-gallery-item img {
	width: auto;
}

.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-image.alignwide,
.entry-content > .wp-block-image.alignfull {
	max-width: none;
	width: auto;
}

.newspro-full-width .entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content .alignleft {
	float: left;
	margin: 0.25rem 1.25rem 0.8rem 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.25rem 0 0.8rem 1.25rem;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .wp-block-image figcaption,
.entry-content .wp-block-gallery figcaption,
.entry-content .wp-block-embed figcaption {
	color: var(--newspro-muted);
	font-size: 0.85rem;
	text-align: center;
}

.wp-block-button__link,
.wp-element-button {
	text-decoration: none !important;
}

.content-wrapper a.wp-block-button__link,
.content-wrapper a.wp-block-button__link:visited,
.site-footer a.wp-block-button__link,
.site-footer a.wp-block-button__link:visited {
	text-decoration: none !important;
}

.content-wrapper a.wp-block-button__link:not(.has-text-color),
.content-wrapper a.wp-block-button__link:not(.has-text-color):hover,
.content-wrapper a.wp-block-button__link:not(.has-text-color):focus,
.content-wrapper a.wp-block-button__link:not(.has-text-color):visited {
	color: #fff;
}

.content-wrapper .wp-block-button:not(.is-style-outline):not(.has-background) .wp-block-button__link:not(.has-background):hover,
.content-wrapper .wp-block-button:not(.is-style-outline):not(.has-background) .wp-block-button__link:not(.has-background):focus {
	background-color: var(--newspro-amber);
	color: var(--newspro-ink);
}

.wp-block-button.is-style-newspro-pill .wp-block-button__link {
	border-radius: 999px;
}

.wp-block-image.is-style-newspro-frame img {
	border: 8px solid #fff;
	box-shadow: 0 10px 28px rgba(22, 22, 22, 0.16);
}

.wp-block-quote.is-style-newspro-pull {
	border-left: 0;
	padding: 0.25rem 0 0.25rem 0;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--newspro-ink);
}

.wp-block-quote.is-style-newspro-pull p {
	font-size: inherit;
}

.wp-block-quote.is-style-newspro-pull cite,
.wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	color: var(--newspro-muted);
	font-size: 0.85rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wp-block-separator.is-style-newspro-accent {
	border: 0;
	height: 4px;
	width: 4.5rem;
	background: var(--newspro-amber);
	margin-left: 0;
}

.is-style-newspro-card {
	border: 1px solid var(--newspro-line);
	background: #fff;
	padding: 1.25rem;
}

.wp-block-pullquote {
	border-top: 4px solid var(--newspro-amber);
	border-bottom: 4px solid var(--newspro-amber);
	color: var(--newspro-ink);
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
	border: 1px solid var(--newspro-line);
	padding: 0.55rem 0.7rem;
}

.wp-block-table th {
	background: var(--newspro-surface);
}

.wp-block-code,
.entry-content pre {
	background: var(--newspro-surface);
	border: 1px solid var(--newspro-line);
	padding: 1rem;
	overflow: auto;
}

.wp-block-embed,
.entry-content .wp-block-embed__wrapper {
	max-width: 100%;
}

.wp-block-columns {
	margin-bottom: 1.25rem;
}

.single .entry-header h1.entry-title,
.page .entry-header h1.entry-title {
	font-size: 34px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
}

.single .entry-content,
.page .entry-content {
	font-size: 16px;
	line-height: 1.75;
	color: #3d4348;
}

.single .wp-block-quote,
.page .wp-block-quote {
	margin: 18px 0;
	font-size: 18px;
	line-height: 1.45;
}

#related-posts ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem 1rem;
	padding: 0.5rem 0 0;
	margin: 0;
}

#related-posts ul li {
	float: none;
	width: auto;
	margin: 0;
}

#related-posts h2.share-title {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
	margin: 8px 0 12px;
}

.related-content h3 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 6px;
}

.related-content {
	font-size: 13px;
	line-height: 1.4;
}

.navigation.post-navigation {
	clear: both;
	margin-top: 24px;
	font-size: 15px;
	line-height: 1.4;
}

.navigation.post-navigation .post-previous,
.navigation.post-navigation .post-next {
	max-width: 48%;
}

.single .wp-block-buttons:not(:has(a)),
.page .wp-block-buttons:not(:has(a)) {
	display: none;
	margin: 0;
}

#comments {
	clear: both;
}

#respond {
	background: #f6f4f1;
	padding: 1.75rem;
}

#respond .comment-reply-title,
#respond > h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
	margin: 0 0 8px;
}

#respond .comment-notes {
	font-size: 14px;
	font-style: italic;
	line-height: 1.5;
	color: #717579;
	margin: 0 0 16px;
}

.comment-form label {
	display: block;
	margin: 0 0 6px;
	color: #1e0b0b;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	display: inline-block;
	width: calc(33.333% - 0.7rem);
	margin: 0 0.7rem 1rem 0;
	vertical-align: top;
	float: none;
}

.comment-form-url {
	margin-right: 0;
}

.comment-form-comment {
	margin: 0 0 1rem;
}

.comment-form-cookies-consent {
	clear: both;
	margin: 0 0 1rem;
}

.comment-form-cookies-consent label {
	display: inline;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
	float: none;
	width: 100%;
	margin: 0;
	font-family: "Libre Franklin", "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	color: #161616;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"],
.wp-block-search__input {
	width: 100%;
	max-width: 100%;
	border: 1px solid #d9d4cc;
	border-radius: 2px;
	padding: 0.6rem 0.75rem;
	background: #fff;
	box-shadow: none;
}

.comment-form .submit,
.search-form .search-submit,
.wp-block-search__button {
	background: var(--newspro-ink);
	color: #fff;
	border: 0;
	border-radius: 2px;
	padding: 0.65rem 1.1rem;
	font-weight: 700;
}

.comment-form .submit:hover,
.comment-form .submit:focus,
.search-form .search-submit:hover,
.search-form .search-submit:focus,
.wp-block-search__button:hover,
.wp-block-search__button:focus {
	background: var(--newspro-amber);
	color: var(--newspro-ink);
}

@media (max-width: 767px) {
	#related-posts ul {
		grid-template-columns: 1fr;
	}

	.comment-form-author,
	.comment-form-email,
	.comment-form-url {
		display: block;
		width: 100%;
		margin-right: 0;
	}

	.navigation.post-navigation .post-previous,
	.navigation.post-navigation .post-next {
		float: none;
		max-width: none;
		text-align: left;
		margin-bottom: 0.75rem;
	}

	.newspro-full-width .entry-content > .alignfull {
		width: auto;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 0 0 1rem;
	}
}
