/*
Theme Name: Nuvo Gadgets (GeneratePress Child)
Theme URI: https://nuvogadgets.com
Description: Redesigned AdSense-friendly, SEO-optimized child theme for GeneratePress. New brand palette, magazine-style homepage, real category archive template, cleaner single-post layout, and hardened image handling so thumbnails never stretch or overflow their cards.
Author: Nuvo Gadgets
Template: generatepress
Version: 3.0.0
Text Domain: nuvogadgets-child
*/

:root {
	--nuvo-teal: #0f9d8f;
	--nuvo-teal-deep: #0b6e64;
	--nuvo-teal-dark: #0a5a52;
	--nuvo-coral: #ff6b4a;
	--nuvo-navy: #0d1626;
	--nuvo-navy-light: #17243a;
	--nuvo-ink: #101828;
	--nuvo-text: #2b2f36;
	--nuvo-muted: #6b7280;
	--nuvo-border: #e7e9ec;
	--nuvo-bg: #f6f7f9;
	--nuvo-card-radius: 14px;
	--nuvo-shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
	--nuvo-shadow-hover: 0 10px 24px rgba(16,24,40,.12);
}

/* =========================================================
   0. BASE / RESET / TYPE
   ========================================================= */

body {
	background-color: var(--nuvo-bg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--nuvo-text);
}

.grid-container { max-width: 1200px; }

h1, h2, h3, h4, h5, h6 {
	font-weight: 800;
	line-height: 1.25;
	color: var(--nuvo-ink);
	letter-spacing: -0.01em;
}

a { transition: color .15s ease, opacity .15s ease, box-shadow .15s ease, transform .15s ease; }

/* Defensive box-sizing reset. Without this, an element with both a
   percentage width and its own padding (very common in the cards/grids
   below) can render wider than its container — this is a common cause
   of a mobile layout feeling "stretched" or slightly overflowing with
   a sliver of horizontal scroll. */
*, *::before, *::after {
	box-sizing: border-box;
}

/* Global image safety net — nothing on this site should ever be able to
   overflow its container or stretch out of proportion, regardless of
   the width/height attributes WordPress or a plugin writes inline. */
img {
	max-width: 100%;
	height: auto;
}

/* Same safety net, extended to iframes/embeds (YouTube embeds, AdSense
   <ins> units, Site Kit auto-ads, any plugin-injected widget). A single
   fixed-pixel-width ad unit (e.g. a 728px leaderboard) or embed is the
   #1 real-world cause of "mobile shows a shrunk desktop layout" — one
   element wider than the viewport forces the whole page to zoom out to
   fit it, and no @media query above can catch content injected by a
   plugin or ad network outside these theme files. */
iframe, embed, object, video,
.ad-slot ins, ins.adsbygoogle {
	max-width: 100%;
}

/* Belt-and-braces: clip horizontal overflow at the document root, on
   every screen size (not just <=768px), so if something upstream (a
   plugin, an ad script, a pasted <table> or <pre> block) still slips
   past the rules above, it gets clipped instead of forcing the whole
   viewport to scale out. */
html, body {
	max-width: 100%;
	overflow-x: hidden;
}


/* =========================================================
   1. HEADER / LOGO / NAV
   ========================================================= */

.site-header {
	background-color: #fff;
	border-bottom: 1px solid var(--nuvo-border);
}

/* New logo — works whether it's the WP custom-logo image or the
   text-based site title fallback. */
.site-logo,
.custom-logo-link {
	display: flex;
	align-items: center;
}

.custom-logo-link img {
	max-height: 46px;
	width: auto;
}

.site-title {
	font-weight: 800;
	line-height: 1;
}

.site-title a {
	color: var(--nuvo-ink);
	font-size: 1.5rem;
	letter-spacing: -0.01em;
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-description {
	display: block;
	color: var(--nuvo-teal-deep);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-top: -2px;
}

.main-navigation {
	background-color: #fff;
	border-top: none;
}

.main-navigation .main-nav ul li a {
	color: var(--nuvo-ink);
	font-weight: 600;
	font-size: 0.95rem;
}

.main-navigation .main-nav ul li a:hover { color: var(--nuvo-teal); }

.main-navigation .main-nav ul ul {
	background-color: #fff;
	box-shadow: var(--nuvo-shadow-hover);
	border-radius: 10px;
	overflow: hidden;
}

.main-navigation .menu-toggle,
.search-item .dropdown-search-toggle { color: var(--nuvo-ink); }


/* =========================================================
   2. AD SLOTS
   ========================================================= */

.ad-slot { display: block; width: 100%; overflow: hidden; text-align: center; }

.ad-slot--label {
	background: #eef0f2;
	border: 1px dashed #d3d7dc;
	border-radius: 10px;
	color: #9aa0a8;
	font-size: 0.8rem;
}

.ad-slot--label::before {
	content: "Advertisement";
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9aa0a8;
	padding-top: 10px;
}

.nuvo-ad-leaderboard { min-height: 90px; margin: 24px 0; display: flex; align-items: center; justify-content: center; }
.nuvo-hero-ad { min-height: 300px; }
.ad-slot--incontent { min-height: 250px; margin: 28px 0; background: #fafbfc; border: 1px dashed var(--nuvo-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.ad-slot--sidebar { min-height: 250px; }


/* =========================================================
   3. HARDENED THUMBNAIL / CARD IMAGE HANDLING
   ---------------------------------------------------------
   Every image container below is a fixed-ratio BOX. The <img>
   inside is absolutely positioned to fill that box and cropped
   with object-fit, so it is physically impossible for an
   over-tall or over-wide source photo to stretch the layout —
   even if a plugin injects its own inline width/height
   attributes on the <img> tag. !important is used deliberately
   here to win against third-party plugin CSS.
   ========================================================= */

.post-image,
.nuvo-card__image,
.nuvo-hero-main__image,
.nuvo-hero-list__thumb,
.nuvo-popular-posts__thumb,
.nuvo-footer__thumb,
.nuvo-cat-banner__image {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background: #eef0f2;
	border-radius: var(--nuvo-card-radius);
}

.post-image img,
.post-image .wp-post-image,
.nuvo-card__image img,
.nuvo-hero-main__image img,
.nuvo-hero-list__thumb img,
.nuvo-popular-posts__thumb img,
.nuvo-footer__thumb img,
.nuvo-cat-banner__image img,
.wp-post-image,
.attachment-post-thumbnail,
.attachment-nuvo-square,
.attachment-nuvo-wide {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: inherit;
	margin: 0 !important;
}

.post-image,
.nuvo-card__image { aspect-ratio: 1 / 1; }
.nuvo-hero-main__image { aspect-ratio: 4 / 3; }
.nuvo-hero-list__thumb { aspect-ratio: 1 / 1; flex: 0 0 64px; width: 64px; height: 64px; }
.nuvo-popular-posts__thumb { aspect-ratio: 1 / 1; flex: 0 0 52px; width: 52px; height: 52px; }
.nuvo-footer__thumb { aspect-ratio: 1 / 1; flex: 0 0 40px; width: 40px; height: 40px; }
.nuvo-cat-banner__image { aspect-ratio: 21 / 9; }

/* Images inside the actual article body should behave normally —
   never square-cropped, just responsive and tidy. */
.entry-content img {
	height: auto;
	border-radius: 10px;
	margin: 6px 0;
}

/* Neutralize any stray plugin badge/box that gets absolutely
   positioned without a proper containing element (the floating
   "Discover more" / topic-tag pills seen on category & post
   pages). If you can tell me the plugin's actual class name I can
   target it precisely — for now this keeps anything using inline
   position:absolute from escaping its card. */
.nuvo-card, .nuvo-hero-main, .post-image { position: relative; z-index: 0; }


/* =========================================================
   4. HOMEPAGE — HERO
   ========================================================= */

.nuvo-home { max-width: 1200px; margin: 0 auto; padding: 24px 20px 0; }

.nuvo-hero-row { display: grid; grid-template-columns: 1.6fr 1fr 0.75fr; gap: 20px; align-items: stretch; }

.nuvo-hero-main {
	background: #fff;
	border-radius: var(--nuvo-card-radius);
	box-shadow: var(--nuvo-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease;
}

.nuvo-hero-main:hover { box-shadow: var(--nuvo-shadow-hover); }

.nuvo-hero-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: var(--nuvo-coral);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 20px;
}

.nuvo-hero-main__body { padding: 20px 24px 24px; }
.nuvo-hero-main__body h2 { font-size: 1.55rem; margin: 8px 0 10px; }
.nuvo-hero-main__body h2 a { color: var(--nuvo-ink); }
.nuvo-hero-main__body h2 a:hover { color: var(--nuvo-teal); }
.nuvo-hero-main__body p { color: var(--nuvo-muted); margin-bottom: 14px; }

.nuvo-hero-main__meta { color: var(--nuvo-muted); font-size: 0.82rem; display: flex; gap: 8px; margin-bottom: 16px; }

.nuvo-eyebrow {
	display: inline-block;
	color: var(--nuvo-teal-deep);
	background: rgba(15,157,143,.1);
	font-weight: 700;
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 6px;
}

.nuvo-btn {
	display: inline-block;
	background: var(--nuvo-teal);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 11px 22px;
	border-radius: 8px;
}

.nuvo-btn:hover { background: var(--nuvo-teal-dark); }

.nuvo-hero-list { display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--nuvo-card-radius); box-shadow: var(--nuvo-shadow); padding: 16px; }
.nuvo-hero-list__item { display: flex; gap: 12px; align-items: flex-start; }
.nuvo-hero-list__body { display: flex; flex-direction: column; min-width: 0; }
.nuvo-hero-list__title { color: var(--nuvo-ink); font-weight: 700; font-size: 0.92rem; line-height: 1.35; }
.nuvo-hero-list__item:hover .nuvo-hero-list__title { color: var(--nuvo-teal); }
.nuvo-hero-list__date { color: var(--nuvo-muted); font-size: 0.75rem; margin-top: 2px; }

.nuvo-hero-ad {
	background: #eef0f2;
	border: 1px dashed #d3d7dc;
	border-radius: var(--nuvo-card-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9aa0a8;
	font-size: 0.85rem;
}


/* =========================================================
   5. HOMEPAGE — CATEGORY PILLS + SECTIONS + CARD GRID
   ========================================================= */

.nuvo-pill-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 8px;
}

.nuvo-pill-nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid var(--nuvo-border);
	color: var(--nuvo-ink);
	font-weight: 600;
	font-size: 0.85rem;
	padding: 8px 16px;
	border-radius: 30px;
}

.nuvo-pill-nav a:hover { border-color: var(--nuvo-teal); color: var(--nuvo-teal-deep); }

.nuvo-home-body { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-top: 8px; }

.nuvo-cat-section { margin-bottom: 36px; }

.nuvo-cat-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--nuvo-border);
}

.nuvo-cat-section__head h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; margin: 0; }
.nuvo-cat-section__icon { font-size: 1.15rem; }
.nuvo-view-all { color: var(--nuvo-teal-deep); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.nuvo-view-all:hover { color: var(--nuvo-teal); }

.nuvo-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.nuvo-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--nuvo-card-radius);
	overflow: hidden;
	box-shadow: var(--nuvo-shadow);
	transition: box-shadow .2s ease, transform .2s ease;
}

.nuvo-card:hover { box-shadow: var(--nuvo-shadow-hover); transform: translateY(-2px); }

.nuvo-card__title { color: var(--nuvo-ink); font-weight: 700; font-size: 0.92rem; line-height: 1.35; padding: 14px 14px 4px; }
.nuvo-card:hover .nuvo-card__title { color: var(--nuvo-teal-deep); }
.nuvo-card__meta { color: var(--nuvo-muted); font-size: 0.75rem; padding: 0 14px 16px; margin-top: auto; }


/* =========================================================
   6. SIDEBAR WIDGETS
   ========================================================= */

.nuvo-home-sidebar .widget,
#right-sidebar .widget {
	background: #fff;
	border-radius: var(--nuvo-card-radius);
	box-shadow: var(--nuvo-shadow);
	padding: 20px;
	margin-bottom: 22px;
}

.nuvo-home-sidebar .widget-title,
#right-sidebar .widget-title {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nuvo-muted);
	border-bottom: 2px solid #f0f1f3;
	padding-bottom: 10px;
	margin-bottom: 14px;
}

.nuvo-popular-posts { list-style: none; margin: 0; padding: 0; }
.nuvo-popular-posts__item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.nuvo-popular-posts__item:last-child { margin-bottom: 0; }

.nuvo-popular-posts__rank {
	flex: 0 0 22px;
	height: 22px;
	width: 22px;
	background: var(--nuvo-teal);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
}

.nuvo-popular-posts__meta { display: flex; flex-direction: column; min-width: 0; }
.nuvo-popular-posts__title { color: var(--nuvo-ink); font-weight: 700; font-size: 0.85rem; line-height: 1.35; }
.nuvo-popular-posts__title:hover { color: var(--nuvo-teal); }
.nuvo-popular-posts__date { color: var(--nuvo-muted); font-size: 0.72rem; margin-top: 2px; }

.nuvo-categories-list { list-style: none; margin: 0 0 12px; padding: 0; }
.nuvo-categories-list li { border-bottom: 1px solid #f0f1f3; }
.nuvo-categories-list li a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--nuvo-text); font-weight: 600; font-size: 0.9rem; }
.nuvo-categories-list li a:hover { color: var(--nuvo-teal); }
.nuvo-cat-icon { font-size: 1rem; }

.nuvo-browse-all { display: block; text-align: center; background: var(--nuvo-bg); color: var(--nuvo-ink); font-weight: 600; font-size: 0.85rem; padding: 10px; border-radius: 8px; }
.nuvo-browse-all:hover { background: #eaecee; }

.nuvo-newsletter-box { background: linear-gradient(135deg, var(--nuvo-teal), var(--nuvo-teal-deep)); border-radius: var(--nuvo-card-radius); padding: 4px 4px 20px; color: #fff; }
.nuvo-newsletter-box .widget-title { color: #fff; border-bottom: none; font-size: 1.05rem; text-transform: none; letter-spacing: normal; padding: 4px 4px 6px; }
.nuvo-newsletter-box p { font-size: 0.85rem; opacity: 0.92; padding: 0 4px; margin-bottom: 14px; }
.nuvo-newsletter-form { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.nuvo-newsletter-form input[type="email"] { border: none; border-radius: 8px; padding: 10px 12px; font-size: 0.85rem; }
.nuvo-newsletter-form button { background: var(--nuvo-navy); color: #fff; border: none; border-radius: 8px; padding: 10px 12px; font-weight: 700; cursor: pointer; }
.nuvo-newsletter-form button:hover { background: var(--nuvo-navy-light); }
.nuvo-newsletter-note { display: block; font-size: 0.72rem; opacity: 0.85; padding: 10px 4px 0; }


/* =========================================================
   7. TRUST BADGES BAR
   ========================================================= */

.nuvo-trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff; border: 1px solid var(--nuvo-border); border-radius: var(--nuvo-card-radius); padding: 24px; margin: 34px 0; }
.nuvo-trust-item { display: flex; align-items: center; gap: 12px; }
.nuvo-trust-icon { font-size: 1.5rem; }
.nuvo-trust-text { display: flex; flex-direction: column; font-size: 0.82rem; }
.nuvo-trust-text strong { color: var(--nuvo-ink); }
.nuvo-trust-text span { color: var(--nuvo-muted); }


/* =========================================================
   8. CATEGORY / ARCHIVE PAGE
   ========================================================= */

.nuvo-cat-banner {
	position: relative;
	border-radius: var(--nuvo-card-radius);
	overflow: hidden;
	margin: 24px auto 30px;
	background: var(--nuvo-navy);
	min-height: 200px;
	display: flex;
	align-items: flex-end;
}

.nuvo-cat-banner__image { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.nuvo-cat-banner__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(13,22,38,.92) 10%, rgba(13,22,38,.35) 70%, rgba(13,22,38,.15) 100%);
}

.nuvo-cat-banner__body { position: relative; z-index: 1; padding: 30px 32px; color: #fff; }
.nuvo-cat-banner__eyebrow { color: #7fe0d4; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.nuvo-cat-banner__body h1 { color: #fff; font-size: 2rem; margin: 0 0 8px; }
.nuvo-cat-banner__body p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; }
.nuvo-cat-banner--plain { background: linear-gradient(135deg, var(--nuvo-navy), var(--nuvo-navy-light)); min-height: 140px; }
.nuvo-cat-banner--plain .nuvo-cat-banner__body { padding: 26px 32px; }

.nuvo-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }

.nuvo-archive-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--nuvo-card-radius);
	overflow: hidden;
	box-shadow: var(--nuvo-shadow);
	transition: box-shadow .2s ease, transform .2s ease;
}

.nuvo-archive-card:hover { box-shadow: var(--nuvo-shadow-hover); transform: translateY(-2px); }
.nuvo-archive-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.nuvo-archive-card__title { font-size: 1.02rem; margin: 0 0 8px; }
.nuvo-archive-card__title a { color: var(--nuvo-ink); }
.nuvo-archive-card:hover .nuvo-archive-card__title a { color: var(--nuvo-teal-deep); }
.nuvo-archive-card__excerpt { color: var(--nuvo-muted); font-size: 0.88rem; margin-bottom: 12px; flex: 1; }
.nuvo-archive-card__meta { color: var(--nuvo-muted); font-size: 0.78rem; display: flex; gap: 8px; align-items: center; }

.nuvo-pagination { display: flex; justify-content: center; gap: 8px; margin: 10px 0 30px; }
.nuvo-pagination a, .nuvo-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--nuvo-border);
	color: var(--nuvo-ink);
	font-weight: 600;
	font-size: 0.85rem;
}
.nuvo-pagination a:hover { border-color: var(--nuvo-teal); color: var(--nuvo-teal-deep); }
.nuvo-pagination .current { background: var(--nuvo-teal); border-color: var(--nuvo-teal); color: #fff; }

.nuvo-archive-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }


/* =========================================================
   9. SINGLE POST
   ========================================================= */

.inside-article { border-radius: var(--nuvo-card-radius); box-shadow: var(--nuvo-shadow); padding: 30px; margin-bottom: 24px; background: #fff; }

.single .entry-content,
.page .entry-content { max-width: 740px; margin-left: auto; margin-right: auto; }

.entry-title { font-size: 2.1rem; line-height: 1.25; }
.entry-content a { color: var(--nuvo-teal-deep); font-weight: 600; }
.entry-content a:hover { color: var(--nuvo-teal); }
.entry-content h2 {
	margin-top: 1.8em;
	margin-bottom: 0.8em;
	background: linear-gradient(135deg, var(--nuvo-teal) 0%, var(--nuvo-teal-deep) 100%);
	color: #ffffff;
	font-size: 1.4rem;
	padding: 14px 20px;
	border-radius: 8px;
	line-height: 1.35;
}

.entry-content h3 {
	margin-top: 1.6em;
	margin-bottom: 0.7em;
	background: #eaf6f5;
	color: var(--nuvo-navy);
	border-left: 4px solid var(--nuvo-teal);
	font-size: 1.15rem;
	padding: 10px 16px;
	border-radius: 6px;
	line-height: 1.35;
}
.entry-content blockquote {
	border-left: 4px solid var(--nuvo-teal);
	background: var(--nuvo-bg);
	padding: 14px 18px;
	border-radius: 0 10px 10px 0;
	color: var(--nuvo-text);
	font-style: normal;
}

.entry-meta { color: var(--nuvo-muted); font-size: 0.85rem; }

.nuvo-post-meta-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	max-width: 740px;
	margin: 0 auto 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--nuvo-border);
	color: var(--nuvo-muted);
	font-size: 0.85rem;
}

.nuvo-post-meta-bar .nuvo-eyebrow { margin-bottom: 0; }

.nuvo-post-featured {
	max-width: 520px;
	margin: 0 auto 26px;
	border-radius: var(--nuvo-card-radius);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	position: relative;
	background: #eef0f2;
	box-shadow: var(--nuvo-shadow);
}
.nuvo-post-featured img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }

.nuvo-related-posts { max-width: 740px; margin: 40px auto 0; }
.nuvo-related-posts h2 { font-size: 1.2rem; margin-bottom: 16px; }
.nuvo-related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.nuvo-share-bar { display: flex; gap: 8px; max-width: 740px; margin: 24px auto 0; }
.nuvo-share-bar a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 20px;
	background: var(--nuvo-bg);
	color: var(--nuvo-text);
	border: 1px solid var(--nuvo-border);
}
.nuvo-share-bar a:hover { border-color: var(--nuvo-teal); color: var(--nuvo-teal-deep); }


/* =========================================================
   10. FOOTER
   ========================================================= */

.nuvo-footer { background: var(--nuvo-navy); color: #aeb6c2; margin-top: 20px; padding-top: 40px; }
.nuvo-footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; }

.nuvo-footer__logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.nuvo-footer__logo img { height: 32px; width: auto; }
.nuvo-footer__logo span { display: block; color: var(--nuvo-teal); font-size: 0.7rem; letter-spacing: 0.14em; font-weight: 700; }

.nuvo-footer__about p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.nuvo-footer__social { display: flex; gap: 10px; }
.nuvo-footer__social a { width: 32px; height: 32px; border-radius: 50%; background: var(--nuvo-navy-light); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; }
.nuvo-footer__social a:hover { background: var(--nuvo-teal); }

.nuvo-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.nuvo-footer__list { list-style: none; margin: 0; padding: 0; }
.nuvo-footer__list li { margin-bottom: 10px; }
.nuvo-footer__list a { color: #aeb6c2; font-size: 0.85rem; }
.nuvo-footer__list a:hover { color: #fff; }
.nuvo-footer__hint { font-size: 0.72rem; opacity: 0.6; }

.nuvo-footer__reviews { list-style: none; margin: 0 0 20px; padding: 0; }
.nuvo-footer__reviews li { margin-bottom: 10px; }
.nuvo-footer__reviews a { display: flex; align-items: center; gap: 10px; color: #aeb6c2; font-size: 0.82rem; }
.nuvo-footer__reviews a:hover { color: #fff; }

.nuvo-footer__newsletter { display: flex; gap: 8px; }
.nuvo-footer__newsletter input { flex: 1; border: none; border-radius: 8px; padding: 10px 12px; font-size: 0.85rem; min-width: 0; }
.nuvo-footer__newsletter button { background: var(--nuvo-teal); color: #fff; border: none; border-radius: 8px; padding: 10px 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.nuvo-footer__newsletter button:hover { background: var(--nuvo-teal-dark); }

.nuvo-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 20px; text-align: center; font-size: 0.8rem; }


/* =========================================================
   11. RESPONSIVE
   ========================================================= */

/* =========================================================
   11. MOBILE MENU — FORCE OFF-CANVAS PANEL TO OPEN FROM RIGHT
   ========================================================= */

@media (max-width: 768px) {
	/* Works regardless of which side GeneratePress's own "offside--left /
	   offside--right" class is currently set to: anchor the panel to the
	   right edge and slide it in/out using the panel's own width, so it
	   doesn't depend on guessing GP's default panel width. */
	#generate-slideout-menu.offside {
		left: auto !important;
		right: 0 !important;
		transform: translate3d(100%, 0, 0) !important; /* hidden, off-screen right */
	}
	#generate-slideout-menu.offside.is-open {
		transform: translate3d(0, 0, 0) !important; /* slides into view from the right */
	}
	/* Keep the hamburger + search icons on the right of the mobile header,
	   matching where the panel now opens from. */
	.main-navigation .menu-toggle,
	.main-navigation .mobile-menu-control-wrapper {
		margin-left: auto;
	}
}

/* If your GeneratePress version exposes Customizer → Layout → Off Canvas
   → "Slide-in Panel Side", switching that to Right is the cleaner native
   fix — the CSS above is a safety net either way. */


/* =========================================================
   12. RESPONSIVE / MOBILE DESIGN
   ========================================================= */

@media (min-width: 769px) {
	.right-sidebar #primary { width: 68%; }
	.right-sidebar #right-sidebar { width: 30%; position: sticky; top: 20px; align-self: flex-start; }
}

@media (max-width: 1024px) {
	.nuvo-hero-row { grid-template-columns: 1fr 1fr; }
	.nuvo-hero-ad { grid-column: 1 / -1; min-height: 150px; }
	.nuvo-home-body, .nuvo-archive-layout { grid-template-columns: 1fr; }
	.nuvo-footer__inner { grid-template-columns: 1fr 1fr; }
	.nuvo-archive-grid { grid-template-columns: repeat(2, 1fr); }
	.nuvo-related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.nuvo-hero-row { grid-template-columns: 1fr; }

	.nuvo-home { padding: 16px 14px 0; }

	.nuvo-cat-section__head { margin-bottom: 10px; }
	.nuvo-cat-section__head h2 { font-size: 1rem; }
	.nuvo-cat-section { margin-bottom: 26px; }

	.nuvo-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.nuvo-card__title { font-size: 0.85rem; padding: 10px 10px 2px; }
	.nuvo-card__meta { font-size: 0.7rem; padding: 0 10px 10px; }

	.nuvo-trust-bar { grid-template-columns: 1fr 1fr; padding: 16px; gap: 14px; }
	.nuvo-footer__inner { grid-template-columns: 1fr; gap: 26px; padding: 0 16px 24px; }

	.entry-title { font-size: 1.6rem; }
	.single .entry-content, .page .entry-content { max-width: 100%; }
	.inside-article, #right-sidebar .widget, .nuvo-home-sidebar .widget { padding: 16px; }

	/* Keep the featured image small and content-focused on phones —
	   it should read as a supporting photo, not a full-width banner. */
	.nuvo-post-featured { max-width: 280px; margin: 0 auto 20px; }
	.nuvo-post-meta-bar { justify-content: center; }
	.nuvo-cat-banner { min-height: 150px; }
	.nuvo-cat-banner__body { padding: 20px 20px; }

	.entry-content h2 { font-size: 1.2rem; padding: 12px 16px; }
	.entry-content h3 { font-size: 1.02rem; padding: 8px 14px; }

	.nuvo-archive-grid { grid-template-columns: 1fr 1fr; }
	.nuvo-cat-banner__body h1 { font-size: 1.5rem; }
	.nuvo-related-posts__grid { grid-template-columns: 1fr; }

	.main-navigation .main-nav ul li a { padding-top: 12px; padding-bottom: 12px; }
}

@media (max-width: 480px) {
	.nuvo-cat-grid { grid-template-columns: 1fr 1fr; }
	.nuvo-trust-bar { grid-template-columns: 1fr; }
	.nuvo-archive-grid { grid-template-columns: 1fr; }
	.nuvo-footer__newsletter { flex-direction: column; }
	.site-title a { font-size: 1.3rem; }
}
