/*!
Theme Name: WildMagPro
Theme URI: https://example.com/wildmagpro
Author: Amit / OpenAI
Author URI: https://example.com
Description: WildMagPro is a magazine and news WordPress theme forked from the GPL-licensed Digital Newspaper free theme, repackaged as a clean installable theme without premium upsell/admin promo screens. It keeps the strong free magazine layout foundation including banner sections, widgets, ticker, archive layouts, breadcrumbs support, sticky header behavior, and responsive news blocks.
Version: 26.0.2
Tested up to: 6.9
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-newspaper
Tags: news, blog, entertainment, one-column, two-columns, grid-layout, block-styles, left-sidebar, right-sidebar, custom-header, flexible-header, custom-background, custom-colors, custom-menu, featured-images, full-width-template, post-formats, sticky-post, rtl-language-support, footer-widgets, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Digital Newspaper is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--body-text-default-color);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
    border-left: 5px solid var(--border-bottom-color);
    padding-left: 15px;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: var(--post-content-font);
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	padding: 40px;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0.2em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 0.3em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #4169e1;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-trendy"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 5px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-trendy"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 48.1em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		flex-wrap: wrap;
	}

	.site-header.layout--one .main-navigation ul {
		justify-content: center;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1em;
	display: grid;
	grid-gap: 1em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	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;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* wildmagpro-global-sidebar-fix */
@media (min-width: 992px){
  body.blog #primary,
  body.archive #primary,
  body.search #primary,
  body.author #primary,
  body.page #primary{
    width: calc(100% - 360px);
    float: left;
  }
  body.blog #secondary,
  body.archive #secondary,
  body.search #secondary,
  body.author #secondary,
  body.page #secondary{
    width: 320px;
    float: right;
    display: block;
  }
  body.blog #content:after,
  body.archive #content:after,
  body.search #content:after,
  body.author #content:after,
  body.page #content:after{
    content: "";
    display: table;
    clear: both;
  }
}


/* wildmagpro-patch4-sidebar-layout */
@media (min-width: 992px){
  body.home #theme-content .row,
  body.blog #theme-content .row,
  body.archive #theme-content .row,
  body.search #theme-content .row,
  body.author #theme-content .row,
  body.single #theme-content .row,
  body.page #theme-content .row{
    display:flex;
    align-items:flex-start;
    flex-wrap:nowrap;
    gap:24px;
  }
  body.home #theme-content .primary-content,
  body.blog #theme-content .primary-content,
  body.archive #theme-content .primary-content,
  body.search #theme-content .primary-content,
  body.author #theme-content .primary-content,
  body.single #theme-content .primary-content,
  body.page #theme-content .primary-content{
    flex:1 1 auto;
    min-width:0;
  }
  body.home #theme-content .secondary-sidebar,
  body.blog #theme-content .secondary-sidebar,
  body.archive #theme-content .secondary-sidebar,
  body.search #theme-content .secondary-sidebar,
  body.author #theme-content .secondary-sidebar,
  body.single #theme-content .secondary-sidebar,
  body.page #theme-content .secondary-sidebar{
    flex:0 0 320px;
    width:320px;
    display:block !important;
  }
}


/* wildmagpro-home-static-sidebar-fix */
@media (min-width: 992px){
  body.home .main-content,
  body.home #primary,
  body.home .primary-content,
  body.home .frontpage-content-area,
  body.home .theme-content-wrap,
  body.home #theme-content .row,
  body.home .content-area{
    min-width: 0;
  }

  body.home .wildmagpro-home-static-sidebar,
  body.home #secondary,
  body.home .secondary-sidebar{
    display:block !important;
  }

  body.home .wildmagpro-home-static-sidebar{
    width:320px !important;
    min-width:320px !important;
    max-width:320px !important;
    flex:0 0 320px !important;
    position:static !important;
    align-self:flex-start;
  }

  body.home .wildmagpro-home-static-sidebar .wildmagpro-ad-slot,
  body.home #secondary .wildmagpro-ad-slot,
  body.home .secondary-sidebar .wildmagpro-ad-slot{
    display:block !important;
    width:100%;
    margin:0 0 24px;
  }

  body.home .wildmagpro-home-static-sidebar .wildmagpro-ad-inner,
  body.home #secondary .wildmagpro-ad-inner,
  body.home .secondary-sidebar .wildmagpro-ad-inner{
    width:100% !important;
    max-width:300px !important;
    margin:0 auto;
  }

  body.home #theme-content .row,
  body.home .content-area,
  body.home .theme-content-wrap{
    display:flex !important;
    align-items:flex-start !important;
    gap:24px !important;
  }

  body.home #theme-content .primary-content,
  body.home .content-area > main,
  body.home .content-area > #primary,
  body.home .theme-content-wrap > .primary-content{
    flex:1 1 auto !important;
    min-width:0 !important;
  }
}

/* WildMagPro homepage desktop sidebar fix: keep inline sidebar ads mobile-only and move homepage sidebar to the right on desktop */
@media (min-width: 992px){
  body.home .wildmagpro-mobile-inline-sidebar-ad,
  body.blog .wildmagpro-mobile-inline-sidebar-ad{
    display:none !important;
  }

  body.home #main-banner-section.banner-layout--five .row,
  body.blog #main-banner-section.banner-layout--five .row{
    display:grid !important;
    grid-template-columns:minmax(180px, 23fr) minmax(0, 55fr) minmax(180px, 22fr) 300px;
    align-items:start;
    gap:16px;
    justify-content:stretch !important;
  }

  body.home #main-banner-section.banner-layout--five .main-banner-list-posts,
  body.blog #main-banner-section.banner-layout--five .main-banner-list-posts,
  body.home #main-banner-section.banner-layout--five .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--five .main-banner-wrap,
  body.home #main-banner-section.banner-layout--five .main-banner-grid-posts,
  body.blog #main-banner-section.banner-layout--five .main-banner-grid-posts,
  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    flex:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin:0 !important;
  }

  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar{
    width:300px !important;
    max-width:300px !important;
    min-width:300px !important;
  }

  body.home #main-banner-section.banner-layout--six .row,
  body.blog #main-banner-section.banner-layout--six .row{
    display:grid !important;
    grid-template-columns:minmax(0, 1.7fr) minmax(220px, 0.8fr) 300px;
    align-items:start;
    gap:16px;
    justify-content:stretch !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts,
  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    flex:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin:0 !important;
  }

  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{
    width:300px !important;
    max-width:300px !important;
    min-width:300px !important;
  }
}

/* WildMagPro mobile header + top-banner compact fix
   Keeps desktop untouched and makes mobile header match the compact reference style. */
@media (max-width: 768px){
  .wildmagpro-top-banner-wrap{
    padding: 8px 12px 6px !important;
    max-width: 100% !important;
  }

  .wildmagpro-top-banner-wrap .wildmagpro-ad-slot{
    margin: 0 !important;
  }

  .wildmagpro-top-banner-wrap .wildmagpro-ad-inner{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  .wildmagpro-top-banner-wrap .wildmagpro-ad-inner iframe,
  .wildmagpro-top-banner-wrap .wildmagpro-ad-inner ins,
  .wildmagpro-top-banner-wrap .wildmagpro-ad-inner img,
  .wildmagpro-top-banner-wrap .wildmagpro-ad-inner amp-img,
  .wildmagpro-top-banner-wrap .wildmagpro-ad-inner [style*="width"]{
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto !important;
  }

  #masthead.site-header{
    margin-top: 0 !important;
  }

  .site-header.layout--default .main-header .site-branding-section,
  .site-header .site-branding-section{
    min-height: 56px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .site-header .site-branding-section .row,
  .site-header.layout--default .main-header .site-branding-section .row{
    min-height: 56px !important;
    row-gap: 0 !important;
    align-items: center !important;
  }

  .site-header.layout--default .main-header .site-branding-section .site-branding{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }

  .site-header .site-branding-section .custom-logo-link,
  .site-header .site-branding img.custom-logo{
    line-height: 0;
  }

  .site-header .site-branding-section .custom-logo-link img,
  .site-header .site-branding img.custom-logo{
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .site-header.layout--default button.menu-toggle,
  .site-header.layout--default .search-wrap{
    min-height: 40px;
    display: flex;
    align-items: center;
  }
}


/* WildMagPro: clickable post cards */
.post .blaze_box_wrap,
.list-item .blaze_box_wrap,
.post-item,
.single-related-posts-wrap article {
    cursor: pointer;
}


/* ==========================================================
   WildMagPro: Front Section Latest Posts / Page Content Fix
   - Converts the homepage latest posts area into a cleaner card grid
   - Removes uneven heights, awkward gaps, and overlap issues
   - Keeps the fix scoped to the front section only
   ========================================================== */
body.home #theme-content.wildmagpro-front-latest-posts-section .primary-content,
body.home #theme-content.wildmagpro-front-page-content-section .primary-content{
  min-width: 0;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  align-items: stretch;
}

body.home.no-sidebar #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid,
body.home.full-width-layout #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article{
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
  height: 100%;
  display: block !important;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .blaze_box_wrap{
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--archive-content-bk-color, #ffffff);
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article figure.post-thumb-wrap,
body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article figure.post-thumb-wrap > a{
  display: block;
  width: 100%;
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article figure.post-thumb-wrap.no-feat-img{
  padding-bottom: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article figure.post-thumb-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-element{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px !important;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-title{
  margin: 0 0 10px;
  line-height: 1.35;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-title a{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-meta{
  margin-bottom: 10px;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-excerpt,
body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-excerpt p{
  margin: 0;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-excerpt{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article a.post-link-button{
  margin-top: auto;
  padding-top: 14px;
}

body.home #theme-content.wildmagpro-front-page-content-section .post-inner-wrapper{
  padding: 24px;
  background: var(--inner-container-bk, #ffffff);
}

@media (max-width: 1100px){
  body.home.no-sidebar #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid,
  body.home.full-width-layout #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid{
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
  }

  body.home #theme-content.wildmagpro-front-latest-posts-section .news-list-wrap.wildmagpro-front-posts-grid > article .post-element{
    padding: 16px !important;
  }

  body.home #theme-content.wildmagpro-front-page-content-section .post-inner-wrapper{
    padding: 18px;
  }
}


/* WildMagPro desktop main-header menu overlap fix
   Desktop only: moves the Main Header menu into its own clean row under the logo/ad.
   Mobile menu behavior is left untouched. */
@media (min-width: 769px) {
  body #masthead.site-header.layout--three .main-header .site-branding-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    row-gap: 0 !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .site-branding {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    padding: 12px 0 !important;
    box-sizing: border-box !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .wildmagpro-site-identity {
    flex: 0 0 auto !important;
    max-width: 34% !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .wildmagpro-header-ad-wrap {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 66% !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    order: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    clear: both !important;
    position: relative !important;
    z-index: 50 !important;
    box-sizing: border-box !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section #site-navigation {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    float: none !important;
    height: auto !important;
    min-width: 0 !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation > div,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu {
    width: 100% !important;
    float: none !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    height: auto !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu > li,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu > li {
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu > li > a,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    padding: 12px 4px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section .search-wrap {
    flex: 0 0 auto !important;
    margin-left: 8px !important;
    padding: 0 !important;
    position: relative !important;
    order: 30 !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section .search-trigger {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
  }

  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section .blaze-switcher-button,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section .sidebar-toggle-wrap {
    flex: 0 0 auto !important;
    order: 40 !important;
  }
}

/* WildMagPro v3 hotfix: desktop menu below logo/ad + clean main banner/sidebar grid */
@media (min-width: 769px){
  body #masthead.site-header.layout--three .main-header .site-branding-section .digital-newspaper-container,
  body #masthead.site-header.layout--three .main-header .site-branding-section .row{width:100% !important;max-width:none !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .row{display:flex !important;flex-wrap:wrap !important;align-items:stretch !important;justify-content:center !important;gap:0 !important;padding:0 !important;overflow:visible !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .site-branding{flex:0 0 100% !important;width:100% !important;max-width:1200px !important;order:1 !important;margin:0 auto !important;padding:24px 15px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:24px !important;position:relative !important;z-index:1 !important;box-sizing:border-box !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .wildmagpro-site-identity{flex:0 0 auto !important;max-width:34% !important;min-width:220px !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .wildmagpro-header-ad-wrap{flex:1 1 auto !important;max-width:66% !important;min-width:0 !important;justify-content:flex-end !important;overflow:hidden !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section{flex:0 0 100vw !important;width:100vw !important;max-width:100vw !important;order:2 !important;margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;padding:0 24px !important;min-height:58px !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:18px !important;position:static !important;top:auto !important;right:auto !important;left:auto !important;bottom:auto !important;transform:none !important;clear:both !important;box-sizing:border-box !important;z-index:2 !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section #site-navigation{flex:0 1 auto !important;width:auto !important;max-width:calc(100vw - 140px) !important;margin:0 !important;padding:0 !important;position:static !important;float:none !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu{display:flex !important;align-items:center !important;justify-content:center !important;flex-wrap:wrap !important;gap:0 28px !important;width:auto !important;max-width:100% !important;margin:0 auto !important;padding:0 !important;position:static !important;background:transparent !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu > li,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu > li{float:none !important;margin:0 !important;border:0 !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.menu > li > a,
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section nav.main-navigation ul.nav-menu > li > a{min-height:54px !important;padding:0 !important;display:inline-flex !important;align-items:center !important;white-space:nowrap !important;font-weight:700 !important;}
  body #masthead.site-header.layout--three .main-header .site-branding-section .header-smh-button-wrap.menu-section .search-wrap{flex:0 0 auto !important;margin-left:0 !important;padding-left:0 !important;position:static !important;}
}
@media (min-width: 992px){
  body.home #main-banner-section.banner-layout--five .row,body.blog #main-banner-section.banner-layout--five .row{display:grid !important;grid-template-columns:minmax(210px,23fr) minmax(0,55fr) minmax(210px,22fr) 300px !important;column-gap:18px !important;row-gap:0 !important;align-items:start !important;justify-content:stretch !important;}
  body.home #main-banner-section.banner-layout--six .row,body.blog #main-banner-section.banner-layout--six .row{display:grid !important;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr) 300px !important;column-gap:18px !important;row-gap:0 !important;align-items:start !important;justify-content:stretch !important;}
  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{order:99 !important;grid-column:-2 / -1 !important;width:300px !important;min-width:300px !important;max-width:300px !important;margin:0 !important;padding:0 !important;align-self:start !important;}
  body.home #main-banner-section.banner-layout--five .main-banner-list-posts,body.blog #main-banner-section.banner-layout--five .main-banner-list-posts,body.home #main-banner-section.banner-layout--five .main-banner-wrap,body.blog #main-banner-section.banner-layout--five .main-banner-wrap,body.home #main-banner-section.banner-layout--five .main-banner-grid-posts,body.blog #main-banner-section.banner-layout--five .main-banner-grid-posts,body.home #main-banner-section.banner-layout--six .main-banner-wrap,body.blog #main-banner-section.banner-layout--six .main-banner-wrap,body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts,body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts{width:auto !important;min-width:0 !important;max-width:none !important;flex:none !important;margin:0 !important;box-sizing:border-box !important;}
  body.home #main-banner-section.banner-layout--five .main-banner-list-posts,body.blog #main-banner-section.banner-layout--five .main-banner-list-posts{grid-column:1 !important;order:1 !important;padding:0 !important;}
  body.home #main-banner-section.banner-layout--five .main-banner-wrap,body.blog #main-banner-section.banner-layout--five .main-banner-wrap{grid-column:2 !important;order:2 !important;padding:0 !important;}
  body.home #main-banner-section.banner-layout--five .main-banner-grid-posts,body.blog #main-banner-section.banner-layout--five .main-banner-grid-posts{grid-column:3 !important;order:3 !important;padding:0 !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-wrap,body.blog #main-banner-section.banner-layout--six .main-banner-wrap{grid-column:1 !important;order:1 !important;padding:0 !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts,body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts{grid-column:2 !important;order:2 !important;padding:0 !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap,body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap{display:block !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item,body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item{width:100% !important;padding:0 !important;margin:0 0 18px !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .post-thumb,body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .post-thumb{height:251px !important;margin-bottom:0 !important;}
}

/* WildMagPro v4 real fix: menu is a separate row below logo/header ad, never over the header */
@media (min-width: 769px){
  body #masthead.site-header .main-header{overflow:visible !important;}
  body #masthead.site-header .main-header .site-branding-section{position:relative !important;z-index:1 !important;background:#fff;}
  body #masthead.site-header .main-header .site-branding-section .row{display:block !important;position:relative !important;overflow:visible !important;}
  body #masthead.site-header .main-header .site-branding-section .site-branding{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:24px !important;width:100% !important;max-width:1200px !important;margin:0 auto !important;padding:24px 15px !important;box-sizing:border-box !important;position:relative !important;z-index:1 !important;}
  body #masthead.site-header .main-header .site-branding-section .wildmagpro-site-identity{flex:0 0 auto !important;max-width:34% !important;min-width:220px !important;}
  body #masthead.site-header .main-header .site-branding-section .wildmagpro-header-ad-wrap{flex:1 1 auto !important;max-width:66% !important;min-width:0 !important;display:flex !important;justify-content:flex-end !important;overflow:hidden !important;}
  body #masthead.site-header .main-header .site-branding-section .wildmagpro-header-ad-wrap img,
  body #masthead.site-header .main-header .site-branding-section .wildmagpro-header-ad-wrap iframe,
  body #masthead.site-header .main-header .site-branding-section .wildmagpro-header-ad-wrap ins{max-width:100% !important;height:auto !important;display:block !important;}

  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar{display:block !important;width:100% !important;max-width:none !important;clear:both !important;margin:0 !important;padding:0 !important;position:relative !important;top:auto !important;left:auto !important;right:auto !important;bottom:auto !important;transform:none !important;z-index:5 !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar > .digital-newspaper-container{width:100% !important;max-width:none !important;margin:0 !important;padding:0 !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar > .digital-newspaper-container > .row{width:100% !important;max-width:none !important;min-height:56px !important;margin:0 !important;padding:0 24px !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:24px !important;flex-wrap:nowrap !important;box-sizing:border-box !important;position:relative !important;float:none !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar #site-navigation{position:static !important;float:none !important;width:auto !important;max-width:calc(100% - 80px) !important;margin:0 !important;padding:0 !important;flex:0 1 auto !important;background:transparent !important;border:0 !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation .menu-toggle{display:none !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation > div,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.menu,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.nav-menu{display:flex !important;align-items:center !important;justify-content:center !important;flex-wrap:wrap !important;gap:0 34px !important;width:auto !important;max-width:100% !important;margin:0 auto !important;padding:0 !important;list-style:none !important;float:none !important;position:static !important;background:transparent !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation li{float:none !important;margin:0 !important;padding:0 !important;border:0 !important;position:relative !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation li a{min-height:54px !important;padding:0 !important;display:inline-flex !important;align-items:center !important;white-space:nowrap !important;font-weight:700 !important;line-height:1.2 !important;text-decoration:none !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar .search-wrap{position:static !important;float:none !important;flex:0 0 auto !important;margin:0 !important;padding:0 !important;display:flex !important;align-items:center !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar .search-trigger{width:44px !important;height:44px !important;display:flex !important;align-items:center !important;justify-content:center !important;background:transparent !important;border:0 !important;cursor:pointer !important;}
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar .search-form-wrap{position:absolute !important;right:24px !important;top:100% !important;z-index:999 !important;}
}

/* WildMagPro v4 real fix: layout 5 and 6 banner columns with sidebar ads, no gap and no overlap */
@media (min-width: 992px){
  body.home #main-banner-section.banner-layout--five .digital-newspaper-container,
  body.blog #main-banner-section.banner-layout--five .digital-newspaper-container,
  body.home #main-banner-section.banner-layout--six .digital-newspaper-container,
  body.blog #main-banner-section.banner-layout--six .digital-newspaper-container{max-width:1500px !important;width:100% !important;margin:0 auto !important;padding-left:15px !important;padding-right:15px !important;box-sizing:border-box !important;}

  body.home #main-banner-section.banner-layout--five .digital-newspaper-container > .row,
  body.blog #main-banner-section.banner-layout--five .digital-newspaper-container > .row{display:grid !important;grid-template-columns:minmax(180px,22%) minmax(0,38%) minmax(180px,20%) 300px !important;column-gap:22px !important;row-gap:0 !important;align-items:start !important;justify-content:center !important;flex-wrap:nowrap !important;}

  body.home #main-banner-section.banner-layout--six .digital-newspaper-container > .row,
  body.blog #main-banner-section.banner-layout--six .digital-newspaper-container > .row{display:grid !important;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr) 300px !important;column-gap:24px !important;row-gap:0 !important;align-items:start !important;justify-content:center !important;flex-wrap:nowrap !important;}

  body.home #main-banner-section.banner-layout--five .main-banner-list-posts,
  body.blog #main-banner-section.banner-layout--five .main-banner-list-posts{grid-column:1 !important;grid-row:1 !important;}
  body.home #main-banner-section.banner-layout--five .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--five .main-banner-wrap{grid-column:2 !important;grid-row:1 !important;}
  body.home #main-banner-section.banner-layout--five .main-banner-grid-posts,
  body.blog #main-banner-section.banner-layout--five .main-banner-grid-posts{grid-column:3 !important;grid-row:1 !important;}
  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar{grid-column:4 !important;grid-row:1 !important;}

  body.home #main-banner-section.banner-layout--six .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap{grid-column:1 !important;grid-row:1 !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts{grid-column:2 !important;grid-row:1 !important;}
  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{grid-column:3 !important;grid-row:1 !important;}

  body.home #main-banner-section.banner-layout--five .main-banner-list-posts,
  body.blog #main-banner-section.banner-layout--five .main-banner-list-posts,
  body.home #main-banner-section.banner-layout--five .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--five .main-banner-wrap,
  body.home #main-banner-section.banner-layout--five .main-banner-grid-posts,
  body.blog #main-banner-section.banner-layout--five .main-banner-grid-posts,
  body.home #main-banner-section.banner-layout--six .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts,
  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{width:auto !important;max-width:none !important;min-width:0 !important;flex:none !important;order:initial !important;float:none !important;margin:0 !important;padding-left:0 !important;padding-right:0 !important;box-sizing:border-box !important;position:relative !important;left:auto !important;right:auto !important;transform:none !important;}

  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar,
  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{width:300px !important;min-width:300px !important;max-width:300px !important;display:block !important;align-self:start !important;overflow:hidden !important;}

  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar .wildmagpro-ad-slot,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar .wildmagpro-ad-slot,
  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar .wildmagpro-ad-slot,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar .wildmagpro-ad-slot{width:300px !important;max-width:300px !important;margin:0 0 24px !important;display:block !important;overflow:hidden !important;}
  body.home #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar img,
  body.blog #main-banner-section.banner-layout--five .wildmagpro-homepage-sidebar img,
  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar img,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar img{width:100% !important;max-width:100% !important;height:auto !important;display:block !important;object-fit:cover !important;}

  body.home #main-banner-section.banner-layout--five .main-banner-wrap article .post-thumb,
  body.blog #main-banner-section.banner-layout--five .main-banner-wrap article .post-thumb{height:520px !important;}
  body.home #main-banner-section.banner-layout--six .main-banner-wrap article .post-thumb,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap article .post-thumb,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .post-thumb,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .post-thumb{height:520px !important;}
}

/* WildMagPro v5: Center desktop menu items across the full menu row */
@media (min-width: 769px){
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar{
    width:100% !important;
    max-width:100% !important;
    display:block !important;
    clear:both !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar > .digital-newspaper-container{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar > .digital-newspaper-container > .row{
    width:100% !important;
    max-width:none !important;
    min-height:58px !important;
    height:auto !important;
    margin:0 !important;
    padding:0 82px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:0 !important;
    box-sizing:border-box !important;
    position:relative !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar #site-navigation{
    width:100% !important;
    max-width:100% !important;
    flex:1 1 100% !important;
    margin:0 auto !important;
    padding:0 !important;
    float:none !important;
    position:static !important;
    background:transparent !important;
    border:0 !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation > div{
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 auto !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.menu,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.nav-menu{
    width:auto !important;
    max-width:100% !important;
    margin:0 auto !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    column-gap:clamp(22px, 3vw, 44px) !important;
    row-gap:0 !important;
    list-style:none !important;
    float:none !important;
    text-align:center !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.menu > li,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.nav-menu > li{
    flex:0 0 auto !important;
    float:none !important;
    margin:0 !important;
    padding:0 !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.menu > li > a,
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar nav.main-navigation ul.nav-menu > li > a{
    min-height:56px !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    white-space:nowrap !important;
    text-align:center !important;
  }
  body #masthead.site-header .main-header > .menu-section.wildmagpro-primary-menu-bar .search-wrap{
    position:absolute !important;
    right:24px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    float:none !important;
  }
}


/* WildMagPro v26: restore Layout 6 desktop grid height.
   Fixes the second trailing post/card dropping below the main banner. */
@media (min-width: 992px){
  body.home #main-banner-section.banner-layout--six .digital-newspaper-container > .row,
  body.blog #main-banner-section.banner-layout--six .digital-newspaper-container > .row{
    display:grid !important;
    grid-template-columns:minmax(0, 1.35fr) minmax(260px, .75fr) 300px !important;
    column-gap:24px !important;
    row-gap:0 !important;
    align-items:start !important;
    justify-content:center !important;
    flex-wrap:nowrap !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-wrap,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap{
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:520px !important;
    min-height:520px !important;
    max-height:520px !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
    align-self:start !important;
    box-sizing:border-box !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-wrap .main-banner-slider,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap .main-banner-slider,
  body.home #main-banner-section.banner-layout--six .main-banner-wrap .slick-list,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap .slick-list,
  body.home #main-banner-section.banner-layout--six .main-banner-wrap .slick-track,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap .slick-track,
  body.home #main-banner-section.banner-layout--six .main-banner-wrap article.slide-item,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap article.slide-item,
  body.home #main-banner-section.banner-layout--six .main-banner-wrap article .post-thumb,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap article .post-thumb{
    height:520px !important;
    min-height:520px !important;
    max-height:520px !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts{
    grid-column:2 !important;
    grid-row:1 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:520px !important;
    min-height:520px !important;
    max-height:520px !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
    align-self:start !important;
    box-sizing:border-box !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts .trailing-posts-wrap,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts .trailing-posts-wrap,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(0, 1fr) minmax(0, 1fr) !important;
    gap:18px !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts .trailing-posts-wrap .post-item,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts .trailing-posts-wrap .post-item,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item:nth-child(1),
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item:nth-child(1),
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item:nth-child(2),
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .trailing-posts-wrap .post-item:nth-child(2){
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    flex:none !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts .post-thumb,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts .post-thumb,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .post-thumb,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts.layout--column .post-thumb,
  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts figure.post-thumb,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts figure.post-thumb{
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    position:relative !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }

  body.home #main-banner-section.banner-layout--six .main-banner-trailing-posts img,
  body.blog #main-banner-section.banner-layout--six .main-banner-trailing-posts img,
  body.home #main-banner-section.banner-layout--six .main-banner-wrap img,
  body.blog #main-banner-section.banner-layout--six .main-banner-wrap img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
  }

  body.home #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar,
  body.blog #main-banner-section.banner-layout--six .wildmagpro-homepage-sidebar{
    grid-column:3 !important;
    grid-row:1 !important;
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
    margin:0 !important;
    padding:0 !important;
    align-self:start !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }
}

/* WildMagPro v27: Layout 5 mobile main-banner-wrap top-clip fix.
   Root cause: .slick-list has overflow:hidden (from slick.css). The
   .post-element (title + excerpt + meta) is position:absolute bottom:0
   inside the .post-thumb. On mobile the base theme sets post-thumb
   height:420px (responsive.css <=768px). When the post-element content
   is taller than that space, it overflows UPWARD and is clipped by
   .slick-list overflow:hidden, cutting the top of the title text.
   Fix: increase post-thumb height on mobile for layout 5 only so the
   post-element always has room. Layout 6 and desktop are untouched. */
@media (max-width: 768px) {
  body.home #main-banner-section.banner-layout--five .main-banner-wrap article .post-thumb,
  body.blog  #main-banner-section.banner-layout--five .main-banner-wrap article .post-thumb {
    height: 520px !important;
  }
}

/* WildMagPro: Comment layout — authoritative rules are in assets/css/main.css.
   Walker uses .comment-avatar-wrap for the avatar so it never collides with
   .comment-author.vcard inside footer.comment-meta. */
.comment-list article.comment-body {
  display: grid !important;
  grid-template-columns: 30px 1fr !important;
  grid-template-rows: auto auto auto auto !important;
  align-items: start !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
}
.comment-list article.comment-body > .comment-avatar-wrap {
  grid-column: 1 !important;
  grid-row: 1 / 5 !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  max-height: 30px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}
.comment-list article.comment-body > .comment-avatar-wrap img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  border-radius: 50% !important;
  display: block !important;
  position: static !important;
  margin: 0 !important;
  float: none !important;
  object-fit: cover !important;
}
.comment-list article.comment-body > footer.comment-meta,
.comment-list article.comment-body > .comment-meta {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow: visible !important;
  margin: 0 !important;
}
.comment-list article.comment-body > p.comment-awaiting-moderation {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-width: 0 !important;
  position: static !important;
  float: none !important;
}
.comment-list article.comment-body > .comment-content {
  grid-column: 2 !important;
  grid-row: 3 !important;
  min-width: 0 !important;
}
.comment-list article.comment-body > .reply {
  grid-column: 2 !important;
  grid-row: 4 !important;
  min-width: 0 !important;
}
.comment-awaiting-moderation {
  display: block !important;
  font-style: italic;
  color: #888;
  font-size: 13px;
  margin: 2px 0 4px !important;
  padding: 0 !important;
}
.comment-meta .comment-author.vcard {
  margin-top: 0 !important;
}
