/*
Theme Name: WardNet Jonathan
Theme URI: https://www.wardnet.co.uk/
Author: Jonathan Ward
Author URI: https://www.wardnet.co.uk/about/
Description: A WardNet child theme based on NewsTwenty, tuned for Jonathan Ward's practical technology leadership, ERP delivery, infrastructure experience, and AI-enabled engineering writing.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
Tested up to: 7.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Template: newsup
Text Domain: wardnet-jonathan
Tags: blog, portfolio, news, grid-Layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, theme-options, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks

WardNet Jonathan WordPress Theme is a child theme of NewsTwenty/Newsup.
NewsTwenty WordPress Theme is child theme of Newsup, Copyright 2020 Themeansar.
WardNet Jonathan is distributed under the terms of the GNU General Public License v3.

NewsTwenty is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/
:root {
	--bodyFont: 'Inter', sans-serif;
	--headFont: "Space Grotesk", sans-serif;
	--bo-radius: 6px;
	--wn-ink: #18202a;
	--wn-muted: #5f6b78;
	--wn-paper: #f7f5ef;
	--wn-panel: #ffffff;
	--wn-line: #d9dedc;
	--wn-signal: #0f766e;
	--wn-code: #2563eb;
	--wn-warm: #b45309;
	--wn-night: #101827;
}

p a {
	text-decoration: underline;
}

a:focus {
	outline: 1px solid;
}

.navbar-wp .dropdown-menu>li>a {
	text-transform: capitalize;
	font-size: 14px;
}

.mg-headwidget .navbar-wp .navbar-nav>li>a,
.navbar-wp .dropdown-menu>li>a {
	font-weight: 500;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: var(--bo-radius);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Header */
.mg-headwidget .mg-latest-news-sec .container-fluid {
	padding-right: 0;
	padding-left: 0;
}
.mg-latest-news .bn_title span{
	display: none;
}
.mg-latest-news .mg-latest-news-slider{
	left: 120px;
}
.mg-latest-news .bn_title{
	border-radius: 6px;
	height: 35px;
}
.mg-latest-news .bn_title .title{
	padding: 6px 12px;
	line-height: 1.5;
	font-size: 16px;
	height: 35px;
}
.mg-latest-news, .mg-latest-news .mg-latest-news-slider{
	height: 35px;
}
.mg-headwidget .info-right li{
	font-size: 14px;
	line-height: 1.3;
	margin-right: 0;
}
.mg-head-detail .info-right li span.time{
	padding: 2px 4px;
	font-weight: 500;
	border-radius: 6px;
	margin-left: 5px;
}
.mg-headwidget .navbar-wp .navbar-nav>li>a{
	padding: 0 10px;
	border-radius: var(--bo-radius);
	font-family: var(--bodyFont);
	text-transform: capitalize;
}
.mg-headwidget .navbar-wp .navbar-nav.nav{
	padding: 6px 10px;
    border: 1px solid #ebebeb;
    border-radius: 6px;
	gap: 3px;
}
.mg-search-box a, .btn-bell {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    border-radius: var(--bo-radius);
    transition: 0.3s;
    margin-inline: 0!important;
	padding: 0;
}
.mg-nav-widget-area-back .inner{
	border-width: 0 0 1px;
	border-style: solid;
}
.mg-headwidget .navbar-wp .navbar-nav > li> .dropdown-menu  li a{
	padding: 8px 15px;
	border: 1px solid #ebebeb;
}
.mg-headwidget .navbar-wp .navbar-nav > li> .dropdown-menu  li:last-child a{
	border-radius: 0 0 6px 6px;
}
.mg-headwidget .navbar-wp .navbar-nav > li> .dropdown-menu  li:first-child a{
	border-radius: 6px 6px 0 0;
}
.mg-headwidget .navbar-wp .navbar-nav > li > .dropdown-menu li:only-child a {
    border-radius: 6px;
}
.mg-headwidget .navbar-wp .navbar-nav > li> .dropdown-menu  li:not(:last-child) a{
	border-bottom: 0;
}
.homemain .owl-item {
  padding: 0 5px;
}
.homemain .owl-wrapper {
  margin: 0 -5px;
}
.btn-bell:has(.fa-bell){
	padding: 0;
}
/* Featured area */
.mg-fea-area .mg-blog-category a{
	font-size: 12px;
    padding: 10px 12px;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--bo-radius);
}
.mg-fea-area .mg-blog-category a::before {
	content: '';
    width: 6px;
    height: 6px;
    border-radius: 10px;
    display: inline-block;
}
.mg-fea-area .mg-posts-sec-post {
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	gap: 24px;
	align-items: start !important;
}
.mg-fea-area .mg-posts-sec-post .mg-sec-top-post{
	padding: 0 !important;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}
.mg-fea-area .mg-posts-sec-post .mg-sec-top-post .title {
    font-size: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mg-fea-area .mg-posts-sec-post .mg-sec-top-post .mg-blog-category{
	margin-bottom: 10px;
}
.mg-fea-area .mg-posts-sec-post .mg-sec-top-post .mg-blog-meta{
	order: 1;
    border-width: 1px 0 0 0;
    border-style: solid;
    padding-top: 10px;
    display: flex;
    align-items: center;
}
.mg-fea-area .mg-posts-sec-post .mg-post-thumb{
	border-radius: var(--bo-radius);
	aspect-ratio: 16 / 10;
	height: auto;
	min-height: 300px;
}
.mg-latest-news .bn_title:after{
	display: none;
}
@media(min-width: 768px){
	.mg-fea-area .mg-posts-sec-post > .col-12.col-md-6 {
		-ms-flex: 0 0 52%;
		flex: 0 0 52%;
		max-width: 52%;
		padding: 0;
	}
}
/* featured trending post  */
.mg-fea-area .trending-posts .mg-blog-post-box{
	border: none;
    box-shadow: none;
    background: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
	margin-bottom: 0;
}
.mg-fea-area .trending-posts .mg-blog-post-box .small{
	padding: 0;
    display: flex;
    flex-direction: column;
}
.mg-fea-area .trending-posts .mg-blog-post-box .small .mg-blog-meta{
	order: 1;
    border-width: 1px 0 0 0;
    border-style: solid;
    padding-top: 10px;
    display: flex;
    align-items: center;
}
.mg-fea-area .trending-posts .mg-post-thumb{
	height: 200px;
	border-radius: var(--bo-radius);
}
.mg-fea-area .trending-posts .mg-blog-post-box .small > p{
	margin-bottom: 10px;
}
.mg-wid-title{
	margin: 0;
	border: none;
}
.mg-wid-title .wtitle, .mg-sidebar .mg-widget .wtitle{
	padding: 0;
}
.homemain {
	margin-bottom: 30px;
}
/* Blog Post */
.mg-posts-sec-inner .mg-posts-sec-post {
	padding: 0;
	margin-bottom: 1.5rem;
	border-radius: var(--bo-radius);
	transition: 0.3s;
}
.mg-posts-sec-inner .mg-posts-sec-post:hover {
	transform: translateY(-3px);
}
.mg-posts-sec-inner .mg-posts-sec-post .col-md-6:has(.mg-post-thumb){
	padding: 0;
	height: -webkit-fill-available;
	height: -moz-available;
}
.mg-posts-modul-6 .mg-post-thumb {
	margin-right: 0px;
    min-height: 300px;
    height: -webkit-fill-available;
	height: -moz-available;
}
.mg-posts-modul-6 .mg-post-thumb::after {
    margin-right: 0px;
	content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    background-size: cover;
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}
.mg-posts-modul-6 .mg-posts-sec-post:hover .mg-post-thumb::after {
	transform: scale(1.06);
}
.mg-posts-modul-6 .mg-sec-top-post{
	padding: 1.5rem !important;
	display: flex;
    flex-direction: column;
}
.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta{
	order: 1;
	border-width: 1px 0 0 0;
    border-style: solid;
    padding-top: 10px;
	display: flex;
    align-items: center;
}
.mg-posts-modul-6 .mg-sec-top-post .mg-blog-meta .auth{
	flex: 1;
	order: -1;
}
.mg-posts-modul-6 .mg-blog-category a {
	font-size: 12px;
    padding: 10px 12px;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: center;
    gap: 8px;
	border-radius: var(--bo-radius);
}
.mg-posts-modul-6 .mg-blog-category a::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 10px;
	display: inline-block;
}
.mg-sec-title h4{
	margin: 0 0 10px;
	padding: 0;
}
/* sidebar */
.mg-sidebar .mg-widget {
    padding: 0;
    border-radius: 0;
    border: none;
	background: none;
	border-bottom: 1px solid #e6e6e6;
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.mg-sidebar .mg-widget:last-child{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.wp-block-search .wp-block-search__label, .mg-widget .wp-block-group h2 {
    border: none;
	margin: 0 0 10px;
    padding: 0;
}
.wp-block-search .wp-block-search__label::before, .mg-widget .wp-block-group h2:before, .mg-sidebar .mg-widget .wtitle::before, .mg-sec-title h4::before, footer .mg-widget h6::before {
    display: none;
}
.wp-block-search .wp-block-search__label::after, .mg-widget .wp-block-group h2::after {
    display: none;
}
.mg-sidebar .mg-sec-title, .mg-sec-title,.mg-sidebar .widget_featured_post .mg-sec-title{
	border: none;
	margin: 0;
}
.wp-block-search .wp-block-search__input {
    border-radius: var(--bo-radius);
    margin-bottom: 0;
    border-width: 1px;
}
.mg-sidebar .mg-widget ul, .mg-sidebar .mg-widget ol {
	margin: 0;
}
/* you missed */
.missed-section .missed-inner{
	padding: 0;
	background: transparent;
}
.missed-section .missed-inner .mg-blog-post-3{
	border-radius: var(--bo-radius);
}
.mg-sidebar .mg-posts-sec .small-post{
	box-shadow: none;
	padding: 0;
}
.small-post .mg-blog-category a, .mg-header .mg-blog-category a{
	font-size: 12px;
    padding: 5px 7px;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: var(--bo-radius);
}
.small-post .mg-blog-category a::before, .mg-header .mg-blog-category a::before{
	content: '';
    width: 6px;
    height: 6px;
    border-radius: 10px;
    display: inline-block;
}
.mg-sidebar .mg-posts-modul-2 .small-post{
	flex-direction: row-reverse;
	border-width: 0 0 1px;
	border-style: solid;
	padding-bottom: 15px;
}
.mg-sidebar .mg-posts-sec .small-post .img-small-post{
	border-radius: var(--bo-radius);
}
.mg-sidebar .mg-posts-modul-2 .mg-posts-sec-inner{
	gap: 15px;
}
/*  */
.widget_featured_post .mg-blog-post.lg{
	border-radius: var(--bo-radius);
}
.mg-posts-modul-1 .bottom .mg-blog-category a{
	font-size: 12px;
    padding: 10px 12px;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--bo-radius);
}
.mg-posts-modul-1 .bottom .mg-blog-category a::before{
	content: '';
    width: 6px;
    height: 6px;
    border-radius: 10px;
    display: inline-block;
}
/* you-missed  */
.mg-blog-post-3 .mg-blog-category a{
	font-size: 12px;
    padding: 10px 12px;
    border-width: 1px;
    border-style: solid;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: var(--bo-radius);
}
.mg-blog-post-3 .mg-blog-category a::before{
	content: '';
    width: 6px;
    height: 6px;
    border-radius: 10px;
    display: inline-block;
    background: var(--pri-color);
}
.desk-header{
	width: 25%;
	justify-content: end;
}
/* footer */
footer .overlay{

}
footer .mg-widget h6{
	padding: 0;
	margin: 0 0 10px;
	text-transform: capitalize;
}
footer .mg-widget h6::after{
	display: none;
}
.wp-block-tag-cloud a, .mg-widget .wp-block-tag-cloud a{
	border-radius: var(--bo-radius);
	background: transparent;
	text-decoration: none;
}
footer .mg-posts-sec{
	padding-right: 15px;
	padding-left: 15px;
}
footer .mg-posts-sec .mg-posts-sec{
	padding: 0;
}
footer .small-post{
	padding: 0;
	box-shadow: none;
}
/* media  */
@media(max-width: 991.98px){
	.mobilehomebtn {
		border-radius: var(--bo-radius);
	}
	.m-header .navbar-toggler{
		margin-left: 10px;
	}
}
@media(max-width: 767px){
	.mg-latest-news .mg-latest-news-slider{
		left: 0px;
	}	
	.mg-posts-modul-6 .mg-sec-top-post{
		padding: 1.5rem !important;
	}
	/* featured slider */
	.mg-fea-area .mg-posts-sec-post{
		display: flex;
		flex-direction: column;
	}
	.mg-fea-area .mg-posts-sec-post .mg-sec-top-post{
		order: 1;
	}
	.mg-fea-area .mg-posts-sec-post > .col-12.col-md-6 {
		padding: 0;
	}
	.mg-fea-area .mg-posts-sec-post .mg-post-thumb {
		aspect-ratio: 16 / 10;
		height: auto;
		min-height: 220px;
	}
	#homemain{
		margin-bottom: 60px;
	}
	footer .mg-footer-copyright .nav-link {
		padding: 0rem;
	}
	/* header mobile */
	.mg-nav-widget-area .col-12:has(.msearch){
		flex: 0;
	}
	.mg-nav-widget-area .col-12:has(.btn-bell.btn-theme){
		flex: 0;	
	}
	.mg-nav-widget-area .col-12:has(.navbar){
		flex: 1;	
	}
}

/* WardNet Jonathan: practical technical leadership layer */
body.wardnet-jonathan-theme {
	background:
		linear-gradient(180deg, rgba(247, 245, 239, 0.96), rgba(255, 255, 255, 0.98) 420px),
		#fff;
	color: var(--wn-ink);
	font-family: var(--bodyFont);
	font-size: 16px;
	line-height: 1.68;
}

.wardnet-jonathan-theme .container-fluid {
	max-width: 1240px;
}

.wardnet-jonathan-theme .site-title a,
.wardnet-jonathan-theme .site-title-footer a {
	color: var(--wn-ink);
	font-family: var(--headFont);
	font-weight: 700;
	letter-spacing: 0;
}

.wardnet-jonathan-theme .site-description,
.wardnet-jonathan-theme .site-description-footer {
	color: var(--wn-muted);
	font-size: 14px;
	font-weight: 500;
}

.wardnet-jonathan-theme .mg-headwidget .mg-head-detail {
	border-bottom: 3px solid var(--wn-signal);
}

.wardnet-jonathan-theme .mg-latest-news .bn_title {
	border-radius: 0;
}

.wardnet-jonathan-theme .mg-latest-news .bn_title .title {
	font-family: var(--headFont);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.wardnet-jonathan-theme .mg-latest-news .mg-latest-news-slider a span {
	font-size: 14px;
	font-weight: 500;
}

.wardnet-jonathan-theme .mg-nav-widget-area-back .inner {
	background: rgba(247, 245, 239, 0.96) !important;
	border-color: var(--wn-line);
}

.wardnet-jonathan-theme .navbar-header {
	padding: 12px 0;
}

.wardnet-jonathan-theme .mg-headwidget .navbar-wp .navbar-nav.nav {
	border-color: var(--wn-line);
	box-shadow: 0 12px 30px rgba(16, 24, 39, 0.06);
}

.wardnet-jonathan-theme .mg-headwidget .navbar-wp .navbar-nav > li > a {
	color: var(--wn-ink);
	font-weight: 700;
}

.wardnet-jonathan-theme .mg-headwidget .navbar-wp .navbar-nav > li > a:hover,
.wardnet-jonathan-theme .mg-headwidget .navbar-wp .navbar-nav > li > a:focus,
.wardnet-jonathan-theme .mg-headwidget .navbar-wp .navbar-nav > .active > a {
	background: #e0f2f1;
	color: #0f3d3b;
}

.wardnet-identity {
	padding: 18px 0 8px;
}

.wardnet-identity__inner {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 44%),
		linear-gradient(180deg, #ffffff, #fbfaf7);
	border: 1px solid var(--wn-line);
	border-radius: var(--bo-radius);
	box-shadow: 0 18px 50px rgba(16, 24, 39, 0.08);
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
	padding: 22px 26px;
}

.wardnet-identity__eyebrow {
	color: var(--wn-signal);
	font-family: var(--headFont);
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.wardnet-identity h2 {
	color: var(--wn-ink);
	font-family: var(--headFont);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 8px;
}

.wardnet-identity__copy p:last-child {
	color: var(--wn-muted);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
	max-width: 760px;
}

.wardnet-identity__signals {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wardnet-identity__signals li {
	background: #fff;
	border: 1px solid var(--wn-line);
	border-left: 4px solid var(--wn-signal);
	border-radius: var(--bo-radius);
	color: var(--wn-ink);
	font-family: var(--headFont);
	font-size: 14px;
	font-weight: 700;
	padding: 9px 12px;
}

.wardnet-identity__signals li:nth-child(2) {
	border-left-color: var(--wn-code);
}

.wardnet-identity__signals li:nth-child(3) {
	border-left-color: var(--wn-warm);
}

.wardnet-identity__signals li:nth-child(4) {
	border-left-color: #64748b;
}

.wardnet-jonathan-theme .mg-fea-area {
	padding: 14px 0 32px;
}

.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post,
.wardnet-jonathan-theme .mg-posts-sec-inner .mg-posts-sec-post {
	background: var(--wn-panel);
	border: 1px solid var(--wn-line);
	box-shadow: 0 16px 42px rgba(16, 24, 39, 0.08);
	overflow: hidden;
}

.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-sec-top-post {
	padding: 22px !important;
}

.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-sec-top-post .title,
.wardnet-jonathan-theme .mg-posts-modul-6 .mg-sec-top-post .title,
.wardnet-jonathan-theme .mg-blog-post-box .title,
.wardnet-jonathan-theme .entry-title {
	font-family: var(--headFont);
	font-weight: 700;
	line-height: 1.12;
}

.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-sec-top-post .title {
	display: block;
	font-size: 30px;
	line-height: 1.16;
	overflow: visible;
	text-overflow: clip;
	-webkit-line-clamp: initial;
	line-clamp: initial;
	-webkit-box-orient: initial;
}

.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-post-thumb,
.wardnet-jonathan-theme .mg-posts-modul-6 .mg-post-thumb,
.wardnet-jonathan-theme .mg-fea-area .trending-posts .mg-post-thumb {
	background-color: #07111f;
	background-position: center center;
	background-size: contain;
	border-radius: 0;
	filter: saturate(0.92) contrast(1.04);
}

.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-post-thumb {
	aspect-ratio: 16 / 10;
	height: auto;
	min-height: 300px;
}

.wardnet-jonathan-theme .mg-fea-area .mg-post-thumb.img img,
.wardnet-jonathan-theme .mg-posts-modul-6 .mg-post-thumb.img img {
	aspect-ratio: 16 / 10;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.wardnet-jonathan-theme .mg-posts-sec-inner .mg-posts-sec-post .col-md-6:has(.mg-post-thumb) {
	height: auto;
}

.wardnet-jonathan-theme .mg-posts-modul-6 .mg-post-thumb {
	aspect-ratio: 16 / 10;
	height: auto;
	min-height: 0;
}

.wardnet-jonathan-theme .mg-posts-modul-6 .mg-post-thumb::after {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

.wardnet-jonathan-theme .mg-blog-category a,
.wardnet-jonathan-theme .small-post .mg-blog-category a,
.wardnet-jonathan-theme .mg-header .mg-blog-category a,
.wardnet-jonathan-theme .mg-posts-modul-1 .bottom .mg-blog-category a,
.wardnet-jonathan-theme .mg-blog-post-3 .mg-blog-category a {
	background: #f8fafc;
	border-color: var(--wn-line);
	color: var(--wn-ink);
	font-family: var(--headFont);
	font-weight: 700;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
}

.wardnet-jonathan-theme .mg-blog-category a[href*="/category/ai"],
.wardnet-jonathan-theme .mg-blog-category a[href*="/tag/ai"] {
	border-color: rgba(180, 83, 9, 0.35);
	color: #92400e;
}

.wardnet-jonathan-theme .mg-blog-category a[href*="/category/epicor"],
.wardnet-jonathan-theme .mg-blog-category a[href*="/tag/epicor"] {
	border-color: rgba(15, 118, 110, 0.35);
	color: #0f766e;
}

.wardnet-jonathan-theme .mg-blog-category a[href*="/category/career"],
.wardnet-jonathan-theme .mg-blog-category a[href*="/tag/career"] {
	border-color: rgba(37, 99, 235, 0.3);
	color: #1d4ed8;
}

.wardnet-jonathan-theme .mg-blog-meta,
.wardnet-jonathan-theme .mg-blog-meta a,
.wardnet-jonathan-theme .mg-blog-meta i {
	color: var(--wn-muted);
	font-size: 13px;
}

.wardnet-jonathan-theme .mg-sec-top-post p,
.wardnet-jonathan-theme .small p {
	color: var(--wn-muted);
}

.wardnet-jonathan-theme .mg-sec-title h4,
.wardnet-jonathan-theme .mg-sidebar .mg-widget .wtitle,
.wardnet-jonathan-theme .wp-block-search .wp-block-search__label,
.wardnet-jonathan-theme .mg-widget .wp-block-group h2 {
	color: var(--wn-ink);
	font-family: var(--headFont);
	font-weight: 700;
}

.wardnet-jonathan-theme .mg-sidebar .mg-widget {
	border-color: var(--wn-line);
}

.wardnet-jonathan-theme .mg-sidebar .widget_categories ul,
.wardnet-jonathan-theme .mg-sidebar ul.wp-block-categories-list.wp-block-categories,
.wardnet-jonathan-theme .mg-sidebar .wp-block-categories {
	column-gap: 12px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wardnet-jonathan-theme .mg-sidebar .widget_categories ul li,
.wardnet-jonathan-theme .mg-sidebar ul.wp-block-categories-list.wp-block-categories li,
.wardnet-jonathan-theme .mg-sidebar .wp-block-categories li {
	border-bottom: 1px solid var(--wn-line);
	font-size: 14px;
	line-height: 1.25;
	margin: 0;
	padding: 5px 0;
}

.wardnet-jonathan-theme .mg-sidebar .widget_categories ul li a,
.wardnet-jonathan-theme .mg-sidebar ul.wp-block-categories-list.wp-block-categories li a,
.wardnet-jonathan-theme .mg-sidebar .wp-block-categories li a {
	display: inline;
	line-height: inherit;
}

.wardnet-jonathan-theme .mg-sidebar .widget_categories ul:not(.wardnet-categories-expanded) .wardnet-category-extra,
.wardnet-jonathan-theme .mg-sidebar ul.wp-block-categories-list.wp-block-categories:not(.wardnet-categories-expanded) .wardnet-category-extra,
.wardnet-jonathan-theme .mg-sidebar .wp-block-categories:not(.wardnet-categories-expanded) .wardnet-category-extra {
	display: none;
}

.wardnet-jonathan-theme .mg-sidebar .wardnet-category-more {
	border-bottom: 0 !important;
	grid-column: 1 / -1;
	padding-top: 7px !important;
}

.wardnet-jonathan-theme .mg-sidebar .wardnet-category-more__button {
	background: #f8fafc;
	border: 1px solid var(--wn-line);
	border-radius: var(--bo-radius);
	color: var(--wn-ink);
	cursor: pointer;
	font-family: var(--headFont);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	padding: 7px 10px;
	text-align: center;
	width: 100%;
}

.wardnet-jonathan-theme .mg-sidebar .wardnet-category-more__button:hover,
.wardnet-jonathan-theme .mg-sidebar .wardnet-category-more__button:focus {
	background: #e0f2f1;
	border-color: rgba(15, 118, 110, 0.35);
	color: #0f3d3b;
}

.wardnet-jonathan-theme .mg-sidebar a,
.wardnet-jonathan-theme .mg-posts-sec-post a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.wardnet-jonathan-theme.single .mg-header,
.wardnet-jonathan-theme.page .mg-header,
.wardnet-jonathan-theme.single article,
.wardnet-jonathan-theme.page article {
	background: #fff;
}

.wardnet-jonathan-theme.single .entry-title,
.wardnet-jonathan-theme.page .entry-title {
	color: var(--wn-ink);
	font-size: 56px;
	max-width: 940px;
}

.wardnet-jonathan-theme.single .entry-content,
.wardnet-jonathan-theme.page .entry-content {
	color: #263241;
	font-size: 18px;
	line-height: 1.78;
}

.wardnet-jonathan-theme.single .entry-content h2,
.wardnet-jonathan-theme.page .entry-content h2,
.wardnet-jonathan-theme.single .entry-content h3,
.wardnet-jonathan-theme.page .entry-content h3 {
	color: var(--wn-ink);
	font-family: var(--headFont);
	font-weight: 700;
	line-height: 1.18;
	margin-top: 1.8em;
}

.wardnet-jonathan-theme.single .entry-content blockquote,
.wardnet-jonathan-theme.page .entry-content blockquote {
	background: #f8fafc;
	border-left: 4px solid var(--wn-signal);
	color: var(--wn-ink);
	padding: 20px 24px;
}

.wardnet-jonathan-theme footer.back-img {
	background: #f7f5ef;
	border-top: 1px solid var(--wn-line);
}

.wardnet-jonathan-theme footer .mg-footer-copyright {
	background: var(--wn-night);
}

.wardnet-jonathan-theme footer .mg-footer-copyright,
.wardnet-jonathan-theme footer .mg-footer-copyright a {
	color: #f8fafc;
}

@media(max-width: 991.98px) {
	.wardnet-identity__inner {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.wardnet-jonathan-theme .mg-headwidget .navbar-wp .navbar-nav.nav {
		box-shadow: none;
	}

	.wardnet-identity h2 {
		font-size: 30px;
	}

	.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-sec-top-post .title {
		font-size: 28px;
	}

	.wardnet-jonathan-theme.single .entry-title,
	.wardnet-jonathan-theme.page .entry-title {
		font-size: 44px;
	}
}

@media(max-width: 767px) {
	.wardnet-identity {
		padding: 14px 0 4px;
	}

	.wardnet-identity__inner {
		padding: 18px;
	}

	.wardnet-identity h2 {
		font-size: 26px;
	}

	.wardnet-identity__copy p:last-child {
		font-size: 15px;
	}

	.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-sec-top-post {
		padding: 18px !important;
	}

	.wardnet-jonathan-theme .mg-fea-area .mg-posts-sec-post .mg-post-thumb {
		min-height: 210px;
	}
}
