/*
Theme Name:  SafetyGearAdvisor
Theme URI:   https://safetygearadvisor.com
Author:      Apexxal Digital Solutions
Author URI:  https://apexxaldigital.com
Description: A simple, fast, pre-designed affiliate blog theme for SafetyGearAdvisor. Homepage, Blog, About, and Contact pages. Every section editable from the Customizer. Elementor compatible for page-level design.
Version:     1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.0
License:     GNU General Public License v2 or later
Text Domain: sga
*/

/* =============================================
   VARIABLES
   Official SafetyGearAdvisor brand system, taken directly
   from the logo files: Navy + Safety Orange + white.
   Green/yellow are functional-only (compliance/hazard callouts),
   never used for primary branding.
   ============================================= */
:root {
	/* ---- BRAND (chrome, nav, buttons, links — never used for hazard signal) ---- */
	--blue:       #10293D;   /* brand navy — headings, hero, header, footer */
	--blue-mid:   #1B3F5A;   /* lighter navy — gradients */
	--blue-light: #E9EEF2;   /* pale navy-tinted neutral — light section bg */
	--teal:       #EA580C;   /* brand safety orange — links, accents, badges */
	--teal-pale:  #FDE3D0;   /* pale orange — pills/badges on dark bg */
	--orange:     #EA580C;   /* brand safety orange — primary CTA buttons */
	--orange-dk:  #C2450A;   /* darker orange — CTA hover */
	--sand:       #F4F5F7;   /* light graphite — alt section bg */
	--sand-dk:    #E4E7EC;
	--white:      #ffffff;
	--gray-50:    #F8FAFC;
	--gray-100:   #F1F5F9;
	--gray-200:   #E2E8F0;
	--gray-400:   #94A3B8;
	--gray-600:   #475569;
	--gray-700:   #334155;
	--gray-800:   #1E293B;
	--gray-900:   #0F172A;

	/* ---- ANSI Z535.1 SIGNAL COLORS ----
	   Real safety-industry standard, not decorative choices — the same code
	   used on OSHA signage and hazard labels. Used ONLY inside content
	   (callout boxes, hazard-rating badges), never for site chrome, so the
	   navy+orange brand stays clean and these keep their semantic meaning. */
	--danger:       #C8102E;  /* Z535 Safety Red — Danger: immediate, severe hazard */
	--danger-dk:    #A50D26;
	--danger-pale:  #FBE1E5;
	--warning:      var(--teal);   /* Z535 Safety Orange — Warning: this IS our brand orange */
	--warning-pale: var(--teal-pale);
	--caution:      #FFC72C; /* Z535 Safety Yellow — Caution: lower-severity hazard */
	--caution-dk:   #8A6400; /* dark text-on-yellow, since yellow needs dark not white text */
	--caution-pale: #FFF6DE;
	--mandatory:      #0057B8; /* Z535 Safety Blue — Notice/Mandatory: required action/PPE */
	--mandatory-dk:   #00408A;
	--mandatory-pale: #E3EEFB;
	--safe:         #00843D; /* Z535 Safety Green — Safe/Verified/First-aid/Compliant */
	--safe-dk:      #046830;
	--safe-pale:    #DFF3E7;
	/* legacy aliases kept so earlier component CSS still resolves */
	--green:  var(--safe);
	--yellow: var(--caution);

	--font-head:  'Poppins', system-ui, sans-serif;
	--font-mono:  'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;
	--font-body:  'Inter', system-ui, -apple-system, sans-serif;
	--radius:     8px;
	--radius-sm:  6px;
	--shadow:     0 4px 24px rgba(16,41,61,.10);
	--shadow-lg:  0 8px 40px rgba(16,41,61,.16);
	--trans:      all .2s ease;
	--max:        1200px;
	--stripe:     repeating-linear-gradient(45deg, var(--teal) 0 14px, #0000 14px 28px);

	/* ---- HERO BACKGROUND ----
	   A dark, warm, orange-adjacent gradient — NOT navy/blue — used only
	   for the large hero bands (homepage hero, article hero, archive hero).
	   Keeps the brand's dark/light contrast without reading as "corporate
	   blue"; the near-black base with a burnt-orange glow is closer to a
	   workshop/hazard aesthetic and still provides strong contrast for
	   white headline text. Header, footer, and nav stay navy (unchanged) —
	   that's the logo color and wasn't part of the complaint. */
	--ember:      #1B1310;   /* near-black, warm undertone (no blue) */
	--ember-mid:  #4A2410;   /* deep burnt orange-brown */
	--ember-hi:   #7A3210;   /* warm highlight stop, still dark enough for white text */
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--gray-800);
	background: var(--white);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--teal); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--blue); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: 100%; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--blue);
}
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(24px, 4vw, 38px); }
h3 { font-size: clamp(18px, 3vw, 23px); }
h4 { font-size: 20px; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* Technical/stamped label style — used for eyebrows, badges, meta, tags */
.mono-label {
	font-family: var(--font-mono);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .09em;
}

/* Article content */
.entry-content h2,
.pg-content h2 { font-size: clamp(22px,3vw,30px); margin: 2.5rem 0 1rem; }
.entry-content h3,
.pg-content h3 { font-size: clamp(18px,2.5vw,22px); margin: 2rem 0 .75rem; }
.entry-content p,
.pg-content p  { font-size: 16px; line-height: 1.85; color: var(--gray-700); margin-bottom: 1.25rem; }
.entry-content ul,
.entry-content ol,
.pg-content ul,
.pg-content ol  { margin: 0 0 1.25rem 1.5rem; }
.entry-content li,
.pg-content li  { font-size: 16px; line-height: 1.8; color: var(--gray-700); margin-bottom: .4rem; }
.entry-content ul,
.pg-content ul  { list-style: disc; }
.entry-content ol,
.pg-content ol  { list-style: decimal; }
.entry-content a,
.pg-content a   { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img,
.pg-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content blockquote,
.pg-content blockquote {
	border-left: 4px solid var(--teal);
	padding: 14px 20px;
	background: var(--blue-light);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--blue-mid);
}
.entry-content table,
.pg-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 14px; }
.entry-content table th,
.pg-content table th { background: var(--blue); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
.entry-content table td,
.pg-content table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-200); }
.entry-content table tr:nth-child(even) td,
.pg-content table tr:nth-child(even) td { background: var(--gray-50); }

/* =============================================
   SAFETY CALLOUTS — ANSI Z535.1 signal-color system
   Add class="callout callout-danger" (etc.) to any block in the
   editor to flag content by real hazard severity, the same code
   used on OSHA signage: Red=Danger, Orange=Warning, Yellow=Caution,
   Blue=Mandatory/Notice, Green=Verified/Safe.
   ============================================= */
.callout {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	border-left: 5px solid;
	margin: 1.5rem 0;
	font-size: 15px;
	line-height: 1.65;
}
.callout::before {
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	display: block;
	margin-bottom: 4px;
}
.callout p:last-child { margin-bottom: 0; }
.callout-danger     { background: var(--danger-pale);     border-color: var(--danger);     color: #6B0A1B; }
.callout-danger::before     { content: '\26A0\FE0F  DANGER';     color: var(--danger); }
.callout-warning     { background: var(--warning-pale);    border-color: var(--warning);    color: #7A3305; }
.callout-warning::before    { content: '\26A0\FE0F  WARNING';    color: var(--orange-dk); }
.callout-caution     { background: var(--caution-pale);    border-color: var(--caution);    color: var(--caution-dk); }
.callout-caution::before    { content: '\2757  CAUTION';    color: var(--caution-dk); }
.callout-mandatory   { background: var(--mandatory-pale);  border-color: var(--mandatory);  color: var(--mandatory-dk); }
.callout-mandatory::before  { content: '\1F6E1\FE0F  MANDATORY'; color: var(--mandatory); }
.callout-verified    { background: var(--safe-pale);       border-color: var(--safe);       color: var(--safe-dk); }
.callout-verified::before   { content: '\2705  VERIFIED';   color: var(--safe); }

/* Compact hazard-severity badge — e.g. next to a product rating */
.hazard-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 4px;
}
.hazard-badge-danger     { background: var(--danger-pale);     color: var(--danger-dk); }
.hazard-badge-warning    { background: var(--warning-pale);    color: var(--orange-dk); }
.hazard-badge-caution    { background: var(--caution-pale);    color: var(--caution-dk); }
.hazard-badge-mandatory  { background: var(--mandatory-pale);  color: var(--mandatory-dk); }
.hazard-badge-verified   { background: var(--safe-pale);       color: var(--safe-dk); }

/* =============================================
   LAYOUT
   ============================================= */
.wrap    { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 840px;      margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.section-sand { background: var(--sand); }
.section-gray { background: var(--gray-50); }
.section-blue { background: var(--blue); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 13px 28px;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: var(--trans);
	text-decoration: none;
	line-height: 1;
}
.btn-primary  { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 4px 16px rgba(234,88,12,.35); }
.btn-primary:hover  { background: var(--orange-dk); border-color: var(--orange-dk); color: #fff; transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover  { background: var(--blue); color: #fff; }
.btn-ghost    { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover    { background: rgba(255,255,255,.22); color: #fff; }
.btn-lg { font-size: 15px; padding: 16px 36px; }
.btn-sm { font-size: 12px; padding: 8px 18px; }

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 9999;
	background: rgba(255,255,255,.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gray-200);
	transition: var(--trans);
}
#site-header.scrolled { box-shadow: var(--shadow); }

.nav-wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo-img { height: 40px; width: auto; max-width: 220px; object-fit: contain; display: block; }
@media (max-width: 480px) { .site-logo-img { height: 34px; } }
.logo-icon  { width: 38px; height: 38px; background: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.logo-text  { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.logo-text span { color: var(--teal); }

/* Menu */
.main-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav > li > a {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--gray-600);
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	transition: var(--trans);
}
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a { background: var(--gray-100); color: var(--blue); }
.main-nav > li.menu-cta > a { background: var(--orange); color: #fff; padding: 8px 18px; border-radius: var(--radius-sm); }
.main-nav > li.menu-cta > a:hover { background: var(--orange-dk); color: #fff; }

/* Dropdown */
.main-nav li { position: relative; }
.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 4px); left: 0;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 8px;
	list-style: none;
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: var(--trans);
	z-index: 100;
}
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 9px 14px; font-size: 13px; color: var(--gray-700); border-radius: 8px; }
.main-nav .sub-menu a:hover { background: var(--gray-50); color: var(--blue); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-600); border-radius: 2px; transition: var(--trans); }

@media (max-width: 768px) {
	.main-nav { display: none; }
	.hamburger { display: flex; }
	.main-nav.open {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		position: absolute;
		top: 68px; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--gray-200);
		padding: 12px;
		gap: 2px;
		box-shadow: var(--shadow);
		z-index: 9998;
	}
	.main-nav.open .sub-menu {
		position: static;
		opacity: 1; visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		padding-left: 12px;
	}
}

/* =============================================
   HERO
   Industrial treatment: faint blueprint grid instead of
   water ripples, plus a hazard-stripe corner accent —
   the visual language of hazard tape / spec sheets, not a pool.
   ============================================= */
.hero {
	min-height: 100vh;
	background:
		linear-gradient(160deg, var(--ember) 0%, var(--ember-mid) 55%, var(--ember-hi) 100%);
	display: flex;
	align-items: center;
	padding: 110px 24px 80px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	/* faint blueprint/spec-sheet grid */
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 48px 48px;
	pointer-events: none;
	mask-image: linear-gradient(160deg, #000 0%, transparent 75%);
	-webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 75%);
}
.hero-hazard-corner {
	position: absolute;
	bottom: -40px; right: -40px;
	width: 340px; height: 340px;
	background: var(--stripe);
	opacity: .10;
	transform: rotate(12deg);
	pointer-events: none;
}
@media (max-width: 900px) { .hero-hazard-corner { width: 220px; height: 220px; } }

.hero-inner {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 2;
	width: 100%;
}
.hero-eyebrow {
	display: inline-block;
	background: rgba(234,88,12,.18);
	border: 1px solid rgba(234,88,12,.35);
	color: var(--teal-pale);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: var(--radius-sm);
	margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl { color: var(--teal-pale); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 1px;
	background: rgba(255,255,255,.08);
	border-radius: var(--radius);
	overflow: hidden;
	margin-top: 40px;
}
.hero-stat { background: rgba(255,255,255,.05); padding: 18px 12px; text-align: center; }
.hero-stat-val { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--teal-pale); }
.hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 3px; display: block; line-height: 1.3; }

/* Hero checklist card */
.hero-card {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.15);
	border-top: 3px solid var(--teal);
	border-radius: var(--radius);
	padding: 28px;
	backdrop-filter: blur(10px);
}
.hero-card-title {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--teal-pale);
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 16px;
}
.checklist { list-style: none; padding: 0; }
.checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255,255,255,.07);
	font-size: 13px;
	color: rgba(255,255,255,.85);
}
.checklist li:last-child { border-bottom: none; }
.check-dot {
	width: 22px; height: 22px;
	background: rgba(234,88,12,.2);
	border: 1px solid rgba(234,88,12,.4);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; flex-shrink: 0;
	color: var(--teal-pale);
}
.check-freq {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
	color: rgba(255,255,255,.5);
	background: rgba(255,255,255,.07);
	padding: 2px 7px;
	border-radius: 4px;
	margin-left: auto;
	flex-shrink: 0;
}

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-visual { display: none; } }
@media (max-width: 480px) { .hero-stats { grid-template-columns: 1fr; } .hero-btns { flex-direction: column; } }

/* =============================================
   HAZARD DIVIDER
   Signature accent: a thin repeating hazard-stripe bar,
   used to separate major sections instead of plain whitespace.
   ============================================= */
.hazard-divider { height: 6px; background: var(--stripe); opacity: .9; }

/* =============================================
   SECTION HEADINGS
   ============================================= */
.sec-eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 10px; }
.sec-title   { font-family: var(--font-head); font-size: clamp(26px,4vw,40px); font-weight: 800; color: var(--blue); letter-spacing: -.03em; margin-bottom: 12px; line-height: 1.1; }
.sec-title.white { color: #fff; }
.sec-sub     { font-size: 17px; color: var(--gray-600); max-width: 540px; line-height: 1.65; }
.sec-sub.white { color: rgba(255,255,255,.7); }
.sec-header  { margin-bottom: 48px; }
.sec-header.centered { text-align: center; }
.sec-header.centered .sec-sub { margin: 0 auto; }

/* =============================================
   CATEGORIES
   Industrial card treatment: white bg (not soft sand), a
   squared icon badge instead of a floating emoji, sharp
   corners, and a hazard-stripe top edge on hover instead
   of a plain solid bar.
   ============================================= */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cat-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-left: 3px solid var(--gray-200);
	border-radius: var(--radius-sm);
	padding: 26px 22px;
	text-decoration: none;
	display: block;
	position: relative;
	overflow: hidden;
	transition: var(--trans);
}
.cat-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--stripe);
	opacity: 0;
	transition: opacity .2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--teal); }
.cat-card:hover::before { opacity: 1; }
.cat-icon-badge {
	width: 48px; height: 48px;
	background: var(--blue-light);
	border-radius: var(--radius-sm);
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
	margin-bottom: 16px;
	transition: var(--trans);
}
.cat-card:hover .cat-icon-badge { background: var(--teal); }
.cat-name  { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 6px; display: block; letter-spacing: -.005em; }
.cat-desc  { font-size: 13px; color: var(--gray-600); line-height: 1.55; display: block; }
.cat-count { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--teal); background: rgba(234,88,12,.1); padding: 3px 9px; border-radius: 4px; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .cat-grid { grid-template-columns: 1fr; } }

/* =============================================
   BLOG POSTS
   ============================================= */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 1024px) { .posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	overflow: hidden;
	transition: var(--trans);
	display: flex;
	flex-direction: column;
	text-decoration: none;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.post-thumb {
	aspect-ratio: 16/9;
	overflow: hidden;
	background: var(--gray-100);
	position: relative;
	display: block;
	flex-shrink: 0;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-cat-badge {
	position: absolute;
	bottom: 12px; left: 12px;
	background: var(--orange);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 3px 10px;
	border-radius: var(--radius-sm);
}
.post-thumb-placeholder {
	width: 100%;
	height: 200px;
	background: var(--blue);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 44px;
	overflow: hidden;
}
.post-thumb-placeholder::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--stripe);
	opacity: .12;
}

.post-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-cat  { font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 8px; display: block; text-decoration: none; }
.post-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--gray-900); line-height: 1.35; margin-bottom: 10px; letter-spacing: -.01em; }
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { color: var(--blue); }
.post-excerpt { font-size: 13px; color: var(--gray-600); line-height: 1.55; flex: 1; }
.post-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--gray-100);
	font-size: 12px;
	color: var(--gray-400);
}
.post-meta .read-more { margin-left: auto; color: var(--teal); font-weight: 600; }

/* =============================================
   NEWSLETTER
   ============================================= */
.nl-box {
	background: #fff;
	border-radius: var(--radius);
	border-top: 4px solid var(--teal);
	padding: 56px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	box-shadow: var(--shadow);
}
@media (max-width: 768px) { .nl-box { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

.nl-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 10px; display: block; }
.nl-title   { font-family: var(--font-head); font-size: clamp(22px,3vw,32px); font-weight: 800; color: var(--blue); letter-spacing: -.03em; margin-bottom: 12px; }
.nl-sub     { font-size: 15px; color: var(--gray-600); line-height: 1.65; }
.nl-benefit { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-700); margin-top: 10px; }

.nl-form   { display: flex; flex-direction: column; gap: 12px; }
.nl-row    { display: flex; gap: 10px; }
.nl-input  { flex: 1; padding: 13px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; color: var(--gray-800); background: #fff; outline: none; transition: border-color .15s; width: 100%; }
.nl-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.nl-btn    { padding: 13px 22px; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; background: var(--orange); color: #fff; transition: var(--trans); white-space: nowrap; font-family: var(--font-body); }
.nl-btn:hover { background: var(--orange-dk); }
.nl-note   { font-size: 12px; color: var(--gray-400); }
.nl-success { display: none; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #166534; font-weight: 600; }
@media (max-width: 480px) { .nl-row { flex-direction: column; } .nl-btn { width: 100%; } }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { background: var(--blue); padding: 18px 0; }
.trust-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); }

/* =============================================
   SINGLE POST
   ============================================= */
.article-hero { background: linear-gradient(160deg, var(--ember), var(--ember-mid)); padding: 110px 0 56px; }
.article-meta { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,.65); font-size: 13px; flex-wrap: wrap; margin-top: 16px; }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar-widget { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-pale); }
.sidebar-post { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-img { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--gray-50); }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--gray-900); line-height: 1.35; }
.sidebar-post-title a { color: inherit; text-decoration: none; }
.sidebar-post-title a:hover { color: var(--blue); }
.sidebar-post-date { font-size: 11px; color: var(--gray-400); margin-top: 4px; }

/* =============================================
   PAGINATION
   ============================================= */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 48px 0; flex-wrap: wrap; }
.pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; border: 1px solid var(--gray-200); color: var(--gray-600); transition: var(--trans); text-decoration: none; }
.pagination .page-numbers:hover { background: var(--gray-100); color: var(--blue); }
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--gray-400); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--teal); }
.breadcrumb .sep { color: var(--gray-400); }
.breadcrumb .current { color: var(--gray-600); }

/* =============================================
   PROGRESS BAR
   ============================================= */
#reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--teal); z-index: 10001; width: 0%; pointer-events: none; transition: width .1s linear; }

/* =============================================
   DISCLOSURE
   ============================================= */
.disclosure { font-size: 12px; color: var(--gray-400); padding: 10px 14px; background: var(--gray-50); border-radius: var(--radius-sm); border-left: 3px solid var(--gray-200); margin-bottom: 24px; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--gray-900); }
.footer-top {
	max-width: var(--max);
	margin: 0 auto;
	padding: 60px 24px 48px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 24px 32px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-family: var(--font-mono); }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.45); padding: 4px 0; transition: var(--trans); text-decoration: none; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
	max-width: var(--max);
	margin: 0 auto;
	padding: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.footer-disc { font-size: 12px; color: rgba(255,255,255,.28); line-height: 1.6; max-width: 600px; }
.footer-disc a { color: rgba(255,255,255,.45); text-decoration: underline; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.22); }

/* =============================================
   ARCHIVE / BLOG PAGE HERO
   ============================================= */
.archive-hero { background: linear-gradient(160deg, var(--ember), var(--ember-mid)); padding: 110px 0 60px; }
.archive-search {
	background: #fff;
	border-radius: var(--radius);
	padding: 12px 18px;
	display: flex;
	gap: 10px;
	margin-top: 24px;
	max-width: 480px;
	box-shadow: var(--shadow);
}
.archive-search input  { flex: 1; border: none; outline: none; font-size: 15px; color: var(--gray-800); background: transparent; }
.archive-search button { background: var(--orange); color: #fff; border: none; border-radius: 6px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--trans); white-space: nowrap; font-family: var(--font-body); }
.archive-search button:hover { background: var(--orange-dk); }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-sm);
	font-size: 14px;
	color: var(--gray-800);
	background: #fff;
	outline: none;
	transition: border-color .15s;
	font-family: var(--font-body);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit {
	background: var(--blue);
	color: #fff;
	border: none;
	padding: 14px 32px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: var(--trans);
	font-family: var(--font-body);
	width: 100%;
}
.form-submit:hover { background: var(--blue-mid); }

/* =============================================
   WORDPRESS CORE
   ============================================= */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { text-align: center; margin: 1.5rem auto; }
.wp-caption-text { font-size: 13px; color: var(--gray-400); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.wp-block-image { margin: 1.5rem 0; }

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */
@media (max-width: 768px) {
	.section { padding: 56px 0; }
	.nl-box  { padding: 32px 20px; }
}

/* =============================================
   ELEMENTOR OVERRIDES
   ============================================= */
.elementor-section { position: relative; }
.elementor-top-section .elementor-container { max-width: var(--max); }
