/*
Theme Name:   Briton News (Astra Child)
Theme URI:    https://britonnews.co.uk/
Description:  News-magazine child theme for Astra: featured grid, breaking ticker, category blocks, popular/recommended sidebar and a clean article layout.
Author:       Briton News
Template:     astra
Version:      1.0.0
Text Domain:  bn
*/

:root {
	--bn-accent: #1abc9c;
	--bn-dark: #1c1c1c;
	--bn-text: #222;
	--bn-body: #444;
	--bn-muted: #999;
	--bn-line: #e8e8e8;
	--bn-soft: #f4f4f4;
	--bn-head: "Roboto", Arial, sans-serif;
	--bn-sans: "Open Sans", Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.bn {
	margin: 0;
	background: #fff;
	color: var(--bn-body);
	font: 400 15px/1.6 var(--bn-sans);
	-webkit-font-smoothing: antialiased;
}
.bn img { max-width: 100%; height: auto; display: block; }
.bn a { color: var(--bn-text); text-decoration: none; transition: color .15s; }
.bn a:hover { color: var(--bn-accent); }
.bn h1, .bn h2, .bn h3, .bn h4 { font-family: var(--bn-head); color: var(--bn-text); margin: 0; }
.bn button { font: inherit; cursor: pointer; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bn-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 8px 14px; }
.bn-container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.bn-muted { color: var(--bn-muted); font-size: 13px; }
.bn-btn, .bn input[type=submit].bn-btn {
	display: inline-block; background: var(--bn-accent); color: #fff !important; border: 0;
	padding: 10px 22px; font: 600 14px var(--bn-sans); border-radius: 2px;
}
.bn-btn:hover { background: #18aa8d; }

/* ---------- top bar ---------- */
.bn-topbar { background: var(--bn-dark); color: #bbb; font-size: 13px; }
.bn-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.bn-topmenu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.bn .bn-topmenu a { color: #ddd; }
.bn .bn-topmenu a:hover { color: #fff; }
.bn-today { margin-left: auto; font-size: 12px; color: #aaa; }

/* ---------- logo ---------- */
.bn-logobar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 120px; gap: 30px; }
.bn-text-logo {
	font: 900 42px/1 "Playfair Display", Georgia, serif;
	text-transform: uppercase; letter-spacing: .5px; color: #111 !important;
}
.bn-text-logo-light { color: #fff !important; }
.bn .custom-logo { max-height: 80px; width: auto; }
.bn-header-ad { max-width: 728px; }

/* ---------- main nav ---------- */
.bn-navbar {
	position: sticky; top: 0; z-index: 50; background: #fff;
	border-top: 1px solid var(--bn-line); box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.admin-bar .bn-navbar { top: 32px; }
.bn-navbar-inner { display: flex; align-items: center; min-height: 52px; }
.bn-mobile-logo { display: none; }
.bn-nav { flex: 1; }
.bn-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.bn-menu > li { position: relative; }
.bn-menu > li > a {
	display: block; padding: 0 16px; line-height: 52px;
	font: 700 14px/52px var(--bn-sans); text-transform: uppercase; color: var(--bn-text);
}
.bn-menu > li.current-menu-item > a,
.bn-menu > li.current-menu-ancestor > a,
.bn-menu > li > a:hover { box-shadow: inset 0 -3px 0 var(--bn-accent); color: var(--bn-text); }
.bn-menu > li.menu-item-has-children > a::after {
	content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px;
	border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.bn-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%;
	min-width: 220px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60;
}
.bn-menu li:hover > .sub-menu, .bn-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bn-menu .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; font-weight: 600; }
.bn-search-toggle, .bn-burger { background: none; border: 0; color: var(--bn-text); padding: 8px; line-height: 0; }
.bn-burger { display: none; flex-direction: column; gap: 4px; }
.bn-burger span { display: block; width: 22px; height: 2px; background: currentColor; }
.bn-searchbar { display: none; border-top: 1px solid var(--bn-line); padding: 12px 0; background: #fff; }
.bn-searchbar.is-open { display: block; }
.bn-search-form { display: flex; gap: 8px; }
.bn-search-form input {
	flex: 1; min-width: 0; border: 1px solid #ddd; padding: 10px 14px; font: 14px var(--bn-sans); border-radius: 2px;
}
.bn-search-form input:focus { outline: 0; border-color: var(--bn-accent); }
.bn-search-form button { border: 0; background: var(--bn-dark); color: #fff; padding: 0 20px; border-radius: 2px; }

.bn-main { min-height: 50vh; padding-bottom: 50px; }

/* ---------- shared bits ---------- */
.bn-badge {
	display: inline-block; color: #fff !important; font: 400 12px/1 var(--bn-sans);
	padding: 5px 8px; border-radius: 1px;
}
.bn-meta { margin: 0; font-size: 12px; color: var(--bn-muted); display: flex; flex-wrap: wrap; gap: 0 10px; }
.bn .bn-meta a { color: var(--bn-muted); font-weight: 600; }
.bn-thumb { display: block; position: relative; overflow: hidden; background: var(--bn-soft); aspect-ratio: 380 / 226; }
.bn-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.bn-thumb:hover img { transform: scale(1.04); }
.bn-ph { display: block; width: 100%; height: 100%; background: var(--bn-soft); }
.bn-thumb-wrap { position: relative; }
.bn-thumb-wrap .bn-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.bn-title { font: 500 17px/1.35 var(--bn-head); }
.bn-title-lg { font-size: 21px; line-height: 1.3; }
.bn-excerpt { margin: 10px 0 0; font-size: 14px; color: #666; line-height: 1.6; }

/* ---------- featured ---------- */
.bn-featured {
	display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 218px 218px;
	gap: 2px; margin-top: 24px;
}
.bn-featured .bn-f0 { grid-row: 1 / span 2; }
.bn-featured-few { grid-template-columns: 2fr 1fr; grid-auto-rows: 218px; grid-template-rows: none; }
.bn-featured-few .bn-f0 { grid-row: span 2; }
.bn-featured-few .bn-f0:only-child { grid-column: 1 / -1; }
.bn-featured-item { position: relative; overflow: hidden; }
.bn-overlay { position: relative; height: 100%; min-height: 200px; }
.bn-overlay .bn-thumb { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.bn-overlay .bn-thumb::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%);
}
.bn-overlay > .bn-badge { position: absolute; top: 20px; left: 20px; z-index: 2; }
.bn-overlay-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; z-index: 2; pointer-events: none; }
.bn-overlay-cap a { pointer-events: auto; }
.bn .bn-overlay .bn-title a { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.bn .bn-overlay .bn-title a:hover { color: #fff; text-decoration: underline; }
.bn-overlay .bn-title { font-size: 15px; font-weight: 500; margin-bottom: 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bn-f0 .bn-overlay .bn-title { font-size: 24px; line-height: 1.25; -webkit-line-clamp: 3; }
.bn .bn-overlay .bn-meta, .bn .bn-overlay .bn-meta a { color: #ddd; }

/* ---------- ticker ---------- */
.bn-ticker { display: flex; align-items: center; gap: 16px; margin: 24px 0 30px; min-height: 30px; }
.bn-ticker-label {
	flex: none; background: var(--bn-dark); color: #fff; font-size: 13px; text-transform: uppercase;
	padding: 6px 10px; line-height: 1.3;
}
.bn-ticker-list { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; position: relative; height: 24px; overflow: hidden; }
.bn-ticker-list li {
	position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: .3s;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 24px;
}
.bn-ticker-list li.is-active { opacity: 1; transform: none; }
.bn-ticker-nav { display: flex; gap: 4px; flex: none; }
.bn-ticker-nav button {
	width: 26px; height: 26px; border: 1px solid #ddd; background: #fff; color: #555;
	font-size: 16px; line-height: 1; padding: 0;
}
.bn-ticker-nav button:hover { border-color: var(--bn-dark); color: var(--bn-dark); }

/* ---------- layout ---------- */
.bn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.bn-content-col { min-width: 0; }

.bn-block { margin-bottom: 40px; }
.bn-section-head { border-bottom: 2px solid var(--c, var(--bn-dark)); margin-bottom: 25px; }
.bn-section-head h4 {
	display: inline-block; background: var(--c, var(--bn-dark)); color: #fff;
	font: 400 14px/1 var(--bn-sans); text-transform: uppercase; padding: 9px 15px; letter-spacing: .2px;
}
.bn .bn-section-head h4 a { color: #fff; }

.bn-grid { display: grid; gap: 30px; }
.bn-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bn-card .bn-title { margin: 14px 0 8px; }
.bn-grid-2 .bn-thumb { aspect-ratio: 360 / 214; }

.bn-latest-list { display: flex; flex-direction: column; gap: 30px; }
.bn-row { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; align-items: start; }
.bn-row .bn-title { margin-bottom: 10px; }
.bn-load-more {
	display: block; width: 100%; margin-top: 35px; padding: 14px; background: #fff;
	border: 1px solid #ddd; color: #444; font-weight: 600; font-size: 14px;
}
.bn-load-more:hover { border-color: var(--bn-dark); }
.bn-load-more[disabled] { opacity: .6; cursor: wait; }

.bn-empty { text-align: center; padding: 80px 20px; border: 1px dashed #ddd; margin: 40px 0; }
.bn-empty h1, .bn-empty h2 { font-size: 30px; font-weight: 500; margin-bottom: 10px; }
.bn-empty p { color: #777; }
.bn-empty .bn-search-form { max-width: 460px; margin: 20px auto; }
.bn-empty-sm { padding: 40px 20px; margin: 0; }

/* ---------- sidebar ---------- */
.bn-sidebar { min-width: 0; }
.bn-widget { margin-bottom: 40px; }
.bn-widget-head { background: var(--bn-dark); margin-bottom: 20px; }
.bn .bn-widget-head h4 { color: #fff; font: 400 14px/1 var(--bn-sans); text-transform: uppercase; padding: 9px 15px; }
.bn-tabs { display: flex; border-bottom: 1px solid var(--bn-line); margin: -20px 0 20px; }
.bn-tab {
	flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
	padding: 12px 6px; color: #888; font-size: 13px;
}
.bn-tab.is-active { color: var(--bn-text); border-bottom-color: var(--bn-text); }
.bn-tab-pane { display: none; }
.bn-tab-pane.is-active { display: block; }
.bn-small { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 15px; margin-bottom: 20px; align-items: start; }
.bn-small .bn-thumb { aspect-ratio: 106 / 75; }
.bn-small .bn-title { font-size: 14px; line-height: 1.45; margin-bottom: 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bn-recommended .bn-overlay { height: 215px; margin-bottom: 25px; }
.bn-recommended .bn-overlay .bn-title { font-size: 19px; }
.bn-tags a {
	display: inline-block; background: var(--bn-soft); color: #777; font-size: 13px;
	padding: 6px 10px; margin: 0 6px 8px 0;
}
.bn .bn-tags a:hover { background: var(--bn-dark); color: #fff; }
.bn-widget-body ul { list-style: none; margin: 0; padding: 0; }
.bn-widget-body li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }

/* ---------- breadcrumb / article ---------- */
.bn-crumbs { font-size: 12px; color: #888; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 6px; }
.bn .bn-crumbs a { color: #777; }
.bn-crumbs span { color: #bbb; }
.bn-crumbs .bn-crumb-current { color: #888; }
.bn-article-head .bn-badge { margin-bottom: 14px; }
.bn-article-title { font: 400 36px/1.3 var(--bn-head); margin-bottom: 14px; color: var(--bn-text); }
.bn-lead { font-size: 17px; line-height: 1.6; color: #333; margin: 4px 0 20px; }
.bn-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--bn-muted); margin-bottom: 20px; }
.bn-byline img { border-radius: 50%; }
.bn .bn-byline-author { color: var(--bn-text); font-weight: 600; }
.bn-meta span { font-weight: 600; }
.bn-share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bn-share a {
	display: inline-flex; align-items: center; height: 38px; padding: 0 18px;
	font-size: 13px; color: #fff !important; border-radius: 2px; transition: opacity .15s;
}
.bn-share a:hover { opacity: .85; }
.bn-sh-fb { background: #3b5998; }
.bn-sh-x { background: #111; }
.bn-sh-in { background: #0077b5; }
.bn-sh-wa { background: #25a244; }
.bn-sh-pin { background: #bd081c; }
.bn-sh-mail { background: #6b6b6b; }
.bn-article-image { margin: 0 0 26px; }
.bn-article-image img { width: 100%; }
.bn-article-image figcaption { font-size: 12px; font-style: italic; color: #777; margin-top: 8px; }

.bn-content { font-size: 16px; line-height: 1.75; color: #333; }
.bn-content > * { margin-top: 0; margin-bottom: 1.2em; }
.bn-content h2 {
	font: 700 28px/1.3 var(--bn-head); margin: 1.6em 0 .6em; padding-top: 22px; border-top: 1px solid var(--bn-line);
}
.bn-content h3 { font: 700 22px/1.35 var(--bn-head); margin: 1.4em 0 .5em; }
.bn-content h4 { font: 700 18px/1.4 var(--bn-head); margin: 1.2em 0 .5em; }
.bn .bn-content a { color: var(--bn-accent); text-decoration: underline; text-underline-offset: 2px; }
.bn-content ul, .bn-content ol { padding-left: 1.4em; }
.bn-content li { margin-bottom: .4em; }
.bn-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--bn-accent); font-size: 18px; color: #222; }
.bn-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bn-content th, .bn-content td { border: 1px solid var(--bn-line); padding: 10px 12px; text-align: left; }
.bn-content th { background: var(--bn-soft); }
.bn-content figure { margin-left: 0; margin-right: 0; }
.bn-content figcaption, .bn-content .wp-caption-text { font-size: 13px; color: #777; text-align: center; }
.bn-content .alignleft { float: left; margin: 0 20px 10px 0; }
.bn-content .alignright { float: right; margin: 0 0 10px 20px; }
.bn-content .aligncenter { margin-left: auto; margin-right: auto; }
.bn-content iframe { max-width: 100%; }

.bn-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0; }
.bn-post-tags span { font-weight: 600; color: var(--bn-text); font-size: 14px; }
.bn-post-tags a { border: 1px solid #ddd; padding: 4px 10px; font-size: 13px; color: #666; }
.bn .bn-post-tags a:hover { background: var(--bn-accent); border-color: var(--bn-accent); color: #fff; }
.bn-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 1px solid var(--bn-line); border-bottom: 1px solid var(--bn-line); padding: 22px 0; margin: 30px 0; }
.bn-prevnext span { display: block; font-size: 12px; text-transform: uppercase; color: var(--bn-accent); margin-bottom: 6px; }
.bn-prevnext a { font: 500 16px/1.4 var(--bn-head); }
.bn-next { text-align: right; }
.bn-author-box { display: flex; gap: 20px; background: var(--bn-soft); padding: 22px; margin: 30px 0; }
.bn-author-box img { border-radius: 50%; flex: none; }
.bn-author-box h4 { font-size: 17px; margin-bottom: 6px; }
.bn-author-box p { margin: 0; font-size: 14px; }
.bn-related { margin-top: 40px; }

/* comments */
.bn-comments { margin-top: 40px; }
.bn-comments-title { font-size: 20px; font-weight: 500; padding-bottom: 10px; border-bottom: 2px solid var(--bn-accent); margin-bottom: 22px; }
.bn-comment-list, .bn-comment-list .children { list-style: none; margin: 0; padding: 0; }
.bn-comment-list .children { padding-left: 40px; }
.bn-comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.bn-comment-list .avatar { float: left; margin-right: 14px; border-radius: 50%; }
.bn-comment-list .comment-meta { font-size: 12px; color: var(--bn-muted); }
.bn-comment-list .fn { font-style: normal; font-weight: 600; color: var(--bn-text); }
.bn-comment-list .reply a { font-size: 12px; color: var(--bn-accent); }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-size: 13px; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
	width: 100%; border: 1px solid #ddd; padding: 10px 12px; font: 14px var(--bn-sans); border-radius: 2px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--bn-accent); }
.comment-form .comment-form-cookies-consent label { display: inline; }
.comment-form fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.comment-form legend { display: none; }
.comment-form .ast-comment-formwrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.comment-form .ast-comment-formwrap p { margin: 0 0 14px; }
.comment-form .form-submit { margin-top: 6px; }
@media (max-width: 700px) { .comment-form .ast-comment-formwrap { grid-template-columns: 1fr; gap: 0; } }

.bn-archive-desc { margin: -10px 0 25px; color: #666; }
.bn-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 40px 0 0; }
.bn-pagination a, .bn-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
	border: 1px solid #ddd; padding: 0 10px; font-size: 14px;
}
.bn-pagination .current { background: var(--bn-dark); border-color: var(--bn-dark); color: #fff; }

/* ---------- footer ---------- */
.bn-footer { background: #1e1f21; color: #aaa; padding-top: 60px; font-size: 14px; }
.bn-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.bn-flogo .bn-text-logo { font-size: 38px; }
.bn-fabout { margin: 18px 0 0; line-height: 1.7; }
.bn .bn-ftitle { color: #fff; font: 700 15px/1.3 var(--bn-head); text-transform: uppercase; margin-bottom: 22px; }
.bn-footer .bn-small { grid-template-columns: 100px minmax(0, 1fr); }
.bn .bn-footer .bn-title a { color: #eee; }
.bn .bn-footer .bn-title a:hover { color: var(--bn-accent); }
.bn-footer .bn-thumb { background: #2a2b2e; }
.bn-footer .bn-ph { background: #2a2b2e; }
.bn .bn-footer .bn-meta, .bn .bn-footer .bn-meta a { color: #888; }
.bn-fcats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bn .bn-fcats a { display: inline-block; background: #2a2b2e; color: #ccc; padding: 6px 12px; font-size: 13px; }
.bn .bn-fcats a:hover { background: var(--bn-accent); color: #fff; }
.bn-fwidget { margin-bottom: 20px; }
.bn .bn-fwidget a { color: #ccc; }
.bn-footer-bottom {
	border-top: 1px solid #333; padding: 24px 0; display: flex; flex-wrap: wrap;
	align-items: center; justify-content: space-between; gap: 12px;
}
.bn-footer-bottom p { margin: 0; font-size: 13px; }
.bn-footmenu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.bn .bn-footmenu a { color: #bbb; font-size: 13px; }
.bn .bn-footmenu a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.bn-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 991px) {
	.bn-layout { grid-template-columns: 1fr; }
	.bn-logobar { display: none; }
	.bn-mobile-logo { display: flex; flex: 1; justify-content: center; }
	.bn-mobile-logo .bn-text-logo { font-size: 24px; }
	.bn-mobile-logo .custom-logo { max-height: 40px; }
	.bn-burger { display: inline-flex; }
	.bn-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
		box-shadow: 0 10px 20px rgba(0,0,0,.1); max-height: calc(100vh - 100px); overflow-y: auto;
	}
	.bn-nav.is-open { display: block; }
	.bn-menu { flex-direction: column; padding: 8px 0; }
	.bn-menu > li > a { line-height: 44px; padding: 0 20px; border-bottom: 1px solid #f2f2f2; }
	.bn-menu > li.current-menu-item > a, .bn-menu > li > a:hover { box-shadow: inset 3px 0 0 var(--bn-accent); }
	.bn-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }
	.bn-menu > li.menu-item-has-children > a::after { display: none; }
	.bn-featured { grid-template-columns: 1fr 1fr; grid-template-rows: 320px; grid-auto-rows: 190px; }
	.bn-featured .bn-f0 { grid-column: 1 / -1; grid-row: auto; }
	.bn-featured-few .bn-f0 { grid-row: auto; }
	.bn-sidebar { margin-top: 20px; }
	.bn-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .bn-navbar { top: 0; }
}
@media (max-width: 700px) {
	.bn-grid-3, .bn-grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
	.bn-row { grid-template-columns: 1fr; gap: 14px; }
	.bn-article-title { font-size: 28px; }
	.bn-content h2 { font-size: 23px; }
	.bn-footer-cols { grid-template-columns: 1fr; }
	.bn-today { display: none; }
	.bn-topbar-nomenu { display: none; }
	.bn-prevnext { grid-template-columns: 1fr; }
	.bn-next { text-align: left; }
}
@media (max-width: 480px) {
	.bn-grid-3, .bn-grid-2 { grid-template-columns: 1fr; }
	.bn-featured { grid-template-rows: 260px; grid-auto-rows: 170px; }
	.bn-featured .bn-overlay { min-height: 0; }
	.bn-featured .bn-overlay > .bn-badge { top: 10px; left: 10px; }
	.bn-featured .bn-overlay-cap { padding: 10px 12px; }
	.bn-featured .bn-overlay .bn-title { font-size: 13px; line-height: 1.35; -webkit-line-clamp: 3; }
	.bn-featured .bn-overlay .bn-meta { display: none; }
	.bn-featured .bn-f0 .bn-overlay .bn-title { font-size: 20px; }
	.bn-featured .bn-f0 .bn-overlay .bn-meta { display: flex; }
	.bn-ticker-label { font-size: 11px; }
	.bn-share a { padding: 0 12px; }
}

/* ---------- back to top ---------- */
.bn-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	background: var(--bn-dark); color: #fff !important; border-radius: 2px;
	opacity: 0; visibility: hidden; transition: .2s;
}
.bn-totop.is-visible { opacity: .85; visibility: visible; }
.bn-totop:hover { opacity: 1; background: var(--bn-accent); }
