/* ==========================================================================
   Skill4Today - Core Theme Stylesheet
   Design Direction: High-Impact Editorial, Red/White/Black Palette
   Inspired by: Modern Educational Platforms (EduPQ)
   WCAG 2.2 AA Compliant
   ========================================================================== */

/* --- 1. CSS Custom Properties (Theme Tokens) --- */
:root {
	/* Brand Colors (Sampled directly from official Skill4Today Logo) */
	--s4t-primary: #ff2227;         /* Official Logo Red */
	--s4t-primary-hover: #e01217;   /* Logo Red Hover */
	--s4t-primary-light: #fff1f2;   /* Soft Red Tint */
	--s4t-primary-border: #ffccd0;  /* Border Red Tint */
	--s4t-primary-glow: rgba(255, 34, 39, 0.28);
	--s4t-dark: #000000;            /* Official Logo Pure Black */
	--s4t-dark-hover: #18181b;      /* Dark Surface Hover */
	--s4t-dark-footer: #000000;     /* Pure Black Footer */
	--s4t-surface: #ffffff;         /* Pure White */
	--s4t-surface-subtle: #f8fafc;  /* Subtle Off-White */
	--s4t-surface-alt: #f4f4f5;     /* Gray Accent Surface */
	--s4t-border: #e4e4e7;          /* Standard Border */
	--s4t-border-subtle: #f4f4f5;
	
	/* Typography Colors */
	--s4t-text-dark: #000000;       /* Headings & Strong Elements in Logo Black */
	--s4t-text: #27272a;            /* Clean High-Contrast Body Text */
	--s4t-text-muted: #71717a;      /* Secondary Meta Text */
	--s4t-text-inverted: #ffffff;   /* Text on Dark Backgrounds */
	
	/* Typography Stack */
	--s4t-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--s4t-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	
	/* Layout & Spacing */
	--s4t-container: 1240px;
	--s4t-container-narrow: 860px;
	--s4t-gutter: 24px;
	--s4t-radius-sm: 6px;
	--s4t-radius-md: 12px;
	--s4t-radius-lg: 18px;
	--s4t-radius-pill: 9999px;
	
	/* Shadows */
	--s4t-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
	--s4t-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
	--s4t-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
	--s4t-shadow-card: 0 2px 8px rgba(15, 23, 42, 0.04), 0 0 1px rgba(15, 23, 42, 0.1);
	--s4t-shadow-hover: 0 10px 25px -4px rgba(255, 34, 39, 0.12), 0 6px 12px -4px rgba(15, 23, 42, 0.08);
	
	/* Transitions */
	--s4t-transition-fast: 0.15s ease;
	--s4t-transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	--s4t-transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS Reset & Base Rules --- */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-family: var(--s4t-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--s4t-text);
	background-color: var(--s4t-surface-subtle);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--s4t-surface-subtle);
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	position: relative;
}

img, svg, picture, video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--s4t-transition-fast);
}

a:hover {
	color: var(--s4t-primary);
}

button, input, textarea, select {
	font: inherit;
	color: inherit;
}

/* Accessible focus visible */
:focus-visible {
	outline: 2px solid var(--s4t-primary);
	outline-offset: 3px;
	border-radius: var(--s4t-radius-sm);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--s4t-font-display);
	color: var(--s4t-text-dark);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

/* Container */
.container {
	width: 100%;
	max-width: var(--s4t-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--s4t-gutter);
	padding-right: var(--s4t-gutter);
}

.container-narrow {
	max-width: var(--s4t-container-narrow);
}

/* Screen reader text */
.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: #fff;
	clip: auto !important;
	clip-path: none;
	color: var(--s4t-text-dark);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 8px;
	top: 8px;
	line-height: normal;
	padding: 12px 20px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
	box-shadow: var(--s4t-shadow-lg);
}

/* --- 3. Header & Navigation System --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--s4t-border);
	transition: box-shadow var(--s4t-transition-fast);
}

.site-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* Top bar: Community & WhatsApp Updates */
.top-bar {
	background: var(--s4t-dark);
	color: #ffffff;
	font-size: 0.825rem;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.top-bar-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #cbd5e1;
}

.top-bar-badge {
	background: var(--s4t-primary);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.6875rem;
	padding: 2px 7px;
	border-radius: var(--s4t-radius-pill);
	letter-spacing: 0.04em;
}

.top-bar-community {
	display: flex;
	align-items: center;
	gap: 12px;
}

.whatsapp-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(37, 211, 102, 0.15);
	color: #4ade80;
	border: 1px solid rgba(74, 222, 128, 0.3);
	padding: 3px 10px;
	border-radius: var(--s4t-radius-pill);
	font-size: 0.775rem;
	font-weight: 600;
	white-space: nowrap;
	transition: all var(--s4t-transition-fast);
}

.whatsapp-pill-btn span {
	white-space: nowrap;
}

.whatsapp-pill-btn:hover {
	background: #25d366;
	color: #ffffff;
	border-color: #25d366;
}

/* Main header */
.main-header-bar {
	padding: 12px 0;
}

.main-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

@media (max-width: 768px) {
	.main-header-bar {
		padding: 10px 0;
	}
	.main-header-inner {
		gap: 12px;
	}
	.top-bar-notice {
		display: none;
	}
	.top-bar-inner {
		justify-content: center;
	}
	.top-bar {
		padding: 5px 0;
	}
	.whatsapp-pill-btn {
		font-size: 0.715rem;
		padding: 3px 8px;
		gap: 5px;
		white-space: nowrap;
		max-width: 100%;
	}
	.whatsapp-pill-btn svg {
		width: 14px;
		height: 14px;
		flex-shrink: 0;
	}
}

@media (max-width: 480px) {
	.main-header-bar {
		padding: 8px 0;
	}
	.header-search-trigger {
		width: 36px;
		height: 36px;
	}
	.mobile-menu-toggle {
		width: 38px;
		height: 38px;
	}
	.top-bar {
		padding: 4px 0;
	}
	.whatsapp-pill-btn {
		font-size: 0.675rem; /* Reduced font size so "Join us on WhatsApp for latest updates" remains on a single straight line on mobile */
		padding: 2.5px 7px;
		gap: 4px;
		letter-spacing: -0.012em;
		white-space: nowrap;
	}
	.whatsapp-pill-btn svg {
		width: 13px;
		height: 13px;
	}
}

@media (max-width: 360px) {
	.whatsapp-pill-btn {
		font-size: 0.625rem;
		padding: 2px 5px;
		gap: 3px;
		letter-spacing: -0.02em;
		white-space: nowrap;
	}
	.whatsapp-pill-btn svg {
		width: 12px;
		height: 12px;
	}
}

/* Branding */
.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.custom-logo-link,
.site-branding picture,
.mobile-drawer-header .site-branding picture {
	display: inline-block;
	line-height: 0;
}

.custom-logo,
.theme-default-logo {
	max-height: 48px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	display: block;
	transition: max-height var(--s4t-transition-fast);
}

@media (max-width: 480px) {
	.custom-logo,
	.theme-default-logo {
		max-height: 40px;
		max-width: 145px;
	}
}

@media (max-width: 360px) {
	.custom-logo,
	.theme-default-logo {
		max-height: 34px;
		max-width: 125px;
	}
}

.theme-footer-logo {
	max-height: 48px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	margin-bottom: 16px;
}

.site-title-text {
	font-family: var(--s4t-font-display);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--s4t-dark);
	letter-spacing: -0.03em;
}

.site-title-text span {
	color: var(--s4t-primary);
}

/* Desktop Navigation */
.primary-navigation {
	display: none;
}

@media (min-width: 1024px) {
	.primary-navigation {
		display: block;
	}
}

.primary-navigation .primary-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	gap: 6px;
}

.primary-navigation .primary-nav-list > li {
	position: relative;
}

.primary-navigation .primary-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--s4t-font-display);
	font-size: 0.925rem;
	font-weight: 600;
	color: var(--s4t-text-dark);
	padding: 9px 14px;
	border-radius: var(--s4t-radius-sm);
	transition: all var(--s4t-transition-fast);
}

.primary-navigation .primary-nav-list > li > a:hover,
.primary-navigation .primary-nav-list > li.current-menu-item > a,
.primary-navigation .primary-nav-list > li.current-menu-ancestor > a {
	color: var(--s4t-primary);
	background: var(--s4t-primary-light);
}

.primary-navigation .primary-nav-list > li > a .svg-icon {
	transition: transform var(--s4t-transition-fast);
}

.primary-navigation .primary-nav-list > li:hover > a .svg-icon,
.primary-navigation .primary-nav-list > li:focus-within > a .svg-icon {
	transform: rotate(180deg);
}

/* Submenu Dropdown */
.primary-navigation .primary-nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	box-shadow: var(--s4t-shadow-lg);
	padding: 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--s4t-transition);
	z-index: 1000;
}

.primary-navigation .primary-nav-list li:hover > .sub-menu,
.primary-navigation .primary-nav-list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-navigation .primary-nav-list .sub-menu li a {
	display: block;
	padding: 9px 14px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--s4t-text);
	border-radius: var(--s4t-radius-sm);
	transition: all var(--s4t-transition-fast);
}

.primary-navigation .primary-nav-list .sub-menu li a:hover,
.primary-navigation .primary-nav-list .sub-menu li.current-menu-item a {
	background: var(--s4t-primary-light);
	color: var(--s4t-primary);
	font-weight: 600;
	padding-left: 18px;
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.header-search-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--s4t-radius-pill);
	border: 1px solid var(--s4t-border);
	background: var(--s4t-surface);
	color: var(--s4t-text-dark);
	cursor: pointer;
	transition: all var(--s4t-transition-fast);
}

.header-search-trigger:hover {
	border-color: var(--s4t-primary);
	color: var(--s4t-primary);
	background: var(--s4t-primary-light);
}

.header-cta-btn {
	display: none;
	align-items: center;
	gap: 7px;
	background: var(--s4t-primary);
	color: #ffffff;
	font-family: var(--s4t-font-display);
	font-size: 0.875rem;
	font-weight: 700;
	padding: 9px 18px;
	border-radius: var(--s4t-radius-pill);
	box-shadow: 0 4px 12px rgba(255, 34, 39, 0.25);
	transition: all var(--s4t-transition-fast);
}

@media (min-width: 640px) {
	.header-cta-btn {
		display: inline-flex;
	}
}

.header-cta-btn:hover {
	background: var(--s4t-primary-hover);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 34, 39, 0.35);
}

/* Clean Modern Mobile Menu Toggle */
.mobile-menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--s4t-radius-pill);
	border: none;
	background: transparent;
	color: var(--s4t-text-dark);
	cursor: pointer;
	padding: 0;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--s4t-transition-fast), color var(--s4t-transition-fast), transform var(--s4t-transition-fast);
}

.mobile-menu-toggle svg {
	pointer-events: none;
}

.mobile-menu-toggle:hover {
	background: var(--s4t-surface-alt);
	color: var(--s4t-primary);
}

.mobile-menu-toggle:active {
	transform: scale(0.92);
}

@media (min-width: 1024px) {
	.mobile-menu-toggle {
		display: none;
	}
}

/* Modern Clean Mobile Drawer */
.mobile-nav-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 88%;
	max-width: 360px;
	background: #ffffff;
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.16);
	z-index: 10000;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	padding: 24px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.mobile-nav-drawer.is-open {
	transform: translateX(0);
}

.mobile-nav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all var(--s4t-transition-fast);
}

.mobile-nav-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--s4t-border);
}

.mobile-drawer-header .theme-default-logo {
	max-height: 38px;
	max-width: 140px;
}

.mobile-drawer-close {
	background: var(--s4t-surface-alt);
	border: none;
	width: 36px;
	height: 36px;
	border-radius: var(--s4t-radius-pill);
	cursor: pointer;
	color: var(--s4t-text-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--s4t-transition-fast);
}

.mobile-drawer-close:hover {
	background: var(--s4t-primary);
	color: #ffffff;
	transform: rotate(90deg);
}

.mobile-drawer-search {
	margin-bottom: 16px;
}

.mobile-drawer-search .search-form {
	display: flex;
	align-items: center;
	background: var(--s4t-surface-subtle);
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-pill);
	padding: 4px 6px 4px 14px;
	transition: all var(--s4t-transition-fast);
}

.mobile-drawer-search .search-form:focus-within {
	border-color: var(--s4t-primary);
	background: #ffffff;
	box-shadow: 0 0 0 3px var(--s4t-primary-light);
}

.mobile-drawer-search .search-field {
	border: none;
	background: transparent;
	font-size: 0.875rem;
	width: 100%;
	color: var(--s4t-text-dark);
	outline: none;
}

.mobile-drawer-search .search-submit {
	background: var(--s4t-primary);
	color: #ffffff;
	border: none;
	border-radius: var(--s4t-radius-pill);
	padding: 7px 14px;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color var(--s4t-transition-fast);
}

.mobile-drawer-search .search-submit:hover {
	background: var(--s4t-primary-hover);
}

/* Quick Topic Pills in Mobile Drawer */
.mobile-drawer-topics {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--s4t-border);
}

.mobile-topics-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--s4t-text-muted);
	margin-bottom: 8px;
}

.mobile-topics-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mobile-topic-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: var(--s4t-radius-pill);
	background: var(--s4t-surface-alt);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--s4t-text-dark);
	transition: all var(--s4t-transition-fast);
}

.mobile-topic-pill:hover {
	background: var(--s4t-primary-light);
	color: var(--s4t-primary);
}

/* Bulletproof Vertical Mobile Drawer Navigation */
.mobile-nav-wrapper {
	width: 100%;
	display: block;
	margin-bottom: 24px;
}

.mobile-nav-drawer ul,
.mobile-nav-drawer .mobile-nav-list,
.mobile-nav-drawer .primary-nav-list,
.mobile-nav-drawer .menu {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	list-style: none !important;
	margin: 0 0 20px 0 !important;
	padding: 0 !important;
	gap: 0 !important;
	width: 100% !important;
}

.mobile-nav-drawer ul > li,
.mobile-nav-drawer .mobile-nav-list > li,
.mobile-nav-drawer .primary-nav-list > li,
.mobile-nav-drawer .menu > li {
	display: block !important;
	width: 100% !important;
	border-bottom: 1px solid var(--s4t-border-subtle) !important;
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mobile-nav-drawer ul > li:last-child,
.mobile-nav-drawer .mobile-nav-list > li:last-child,
.mobile-nav-drawer .primary-nav-list > li:last-child,
.mobile-nav-drawer .menu > li:last-child {
	border-bottom: none !important;
}

.mobile-nav-drawer ul > li > a,
.mobile-nav-drawer .mobile-nav-list > li > a,
.mobile-nav-drawer .primary-nav-list > li > a,
.mobile-nav-drawer .menu > li > a {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	padding: 13px 10px !important;
	font-family: var(--s4t-font-display) !important;
	font-size: 0.975rem !important;
	font-weight: 600 !important;
	color: var(--s4t-text-dark) !important;
	border-radius: var(--s4t-radius-sm) !important;
	transition: all var(--s4t-transition-fast) !important;
	box-sizing: border-box !important;
	background: transparent !important;
	text-decoration: none !important;
}

/* Hide any accidental desktop dropdown chevrons inside link text */
.mobile-nav-drawer ul > li > a .svg-icon,
.mobile-nav-drawer .mobile-nav-list > li > a .svg-icon,
.mobile-nav-drawer .primary-nav-list > li > a .svg-icon {
	display: none !important;
}

.mobile-nav-drawer ul > li > a:hover,
.mobile-nav-drawer ul > li.current-menu-item > a,
.mobile-nav-drawer ul > li.current_page_item > a,
.mobile-nav-drawer .mobile-nav-list > li > a:hover,
.mobile-nav-drawer .mobile-nav-list > li.current-menu-item > a,
.mobile-nav-drawer .primary-nav-list > li > a:hover,
.mobile-nav-drawer .primary-nav-list > li.current-menu-item > a {
	color: var(--s4t-primary) !important;
	background: var(--s4t-primary-light) !important;
	padding-left: 14px !important;
}

/* Accordion Sub-menus in Mobile Drawer */
.mobile-nav-drawer ul.sub-menu,
.mobile-nav-drawer .sub-menu {
	display: none !important;
	list-style: none !important;
	margin: 4px 0 12px 0 !important;
	padding: 6px 0 6px 12px !important;
	background: #f8fafc !important;
	border-radius: var(--s4t-radius-sm) !important;
	border-left: 3px solid var(--s4t-primary) !important;
	width: 100% !important;
}

.mobile-nav-drawer ul.sub-menu.is-visible,
.mobile-nav-drawer .sub-menu.is-visible {
	display: flex !important;
	flex-direction: column !important;
	animation: s4tFadeSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-nav-drawer ul.sub-menu > li,
.mobile-nav-drawer .sub-menu > li {
	border-bottom: none !important;
	width: 100% !important;
}

.mobile-nav-drawer ul.sub-menu > li > a,
.mobile-nav-drawer .sub-menu > li > a {
	display: block !important;
	padding: 9px 12px !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: var(--s4t-text) !important;
	background: transparent !important;
	border-radius: 4px !important;
}

.mobile-nav-drawer ul.sub-menu > li > a:hover,
.mobile-nav-drawer .sub-menu > li > a:hover,
.mobile-nav-drawer ul.sub-menu > li.current-menu-item > a,
.mobile-nav-drawer .sub-menu > li.current-menu-item > a {
	color: var(--s4t-primary) !important;
	background: #ffffff !important;
	padding-left: 16px !important;
}

/* Mobile Submenu Accordion Toggle Button */
.mobile-submenu-toggle {
	position: absolute;
	right: 4px;
	top: 8px;
	background: var(--s4t-surface-alt);
	border: 1px solid var(--s4t-border);
	cursor: pointer;
	width: 34px;
	height: 34px;
	border-radius: var(--s4t-radius-pill);
	color: var(--s4t-text-muted);
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: all var(--s4t-transition-fast);
	z-index: 2;
}

.mobile-submenu-toggle .svg-icon,
.mobile-submenu-toggle svg {
	display: block !important;
	transition: transform var(--s4t-transition-fast);
}

.mobile-submenu-toggle:hover {
	background: var(--s4t-primary);
	border-color: var(--s4t-primary);
	color: #ffffff;
}

/* Modal Search Overlay */
.search-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(6px);
	z-index: 10001;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10vh;
	opacity: 0;
	visibility: hidden;
	transition: all var(--s4t-transition-fast);
}

.search-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.search-modal-content {
	background: #ffffff;
	border-radius: var(--s4t-radius-lg);
	width: 90%;
	max-width: 640px;
	padding: 24px;
	box-shadow: var(--s4t-shadow-lg);
	position: relative;
	transform: translateY(-20px);
	transition: transform var(--s4t-transition);
}

.search-modal.is-open .search-modal-content {
	transform: translateY(0);
}

.search-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--s4t-text-muted);
}

/* Search Form Component */
.s4t-search-form {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
}

.s4t-search-input {
	width: 100%;
	background: var(--s4t-surface-subtle);
	border: 2px solid var(--s4t-border);
	padding: 12px 50px 12px 18px;
	border-radius: var(--s4t-radius-pill);
	font-size: 0.95rem;
	outline: none;
	transition: all var(--s4t-transition-fast);
}

.s4t-search-input:focus {
	border-color: var(--s4t-primary);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(255, 34, 39, 0.12);
}

.s4t-search-btn {
	position: absolute;
	right: 6px;
	width: 38px;
	height: 38px;
	border-radius: var(--s4t-radius-pill);
	background: var(--s4t-primary);
	color: #ffffff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--s4t-transition-fast);
}

.s4t-search-btn:hover {
	background: var(--s4t-primary-hover);
}

/* --- 4. Badges, Buttons, & Micro-Components --- */
.cat-badge {
	display: inline-flex;
	align-items: center;
	font-family: var(--s4t-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: var(--s4t-radius-pill);
	background: var(--s4t-primary-light);
	color: var(--s4t-primary);
	border: 1px solid var(--s4t-primary-border);
	white-space: nowrap;
	transition: all var(--s4t-transition-fast);
}

.cat-badge:hover {
	background: var(--s4t-primary);
	color: #ffffff;
	border-color: var(--s4t-primary);
}

.cat-badge-dark {
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.cat-badge-dark:hover {
	background: var(--s4t-primary);
	color: #ffffff;
	border-color: var(--s4t-primary);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--s4t-font-display);
	font-size: 0.95rem;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: var(--s4t-radius-pill);
	cursor: pointer;
	border: none;
	transition: all var(--s4t-transition-fast);
	line-height: 1.2;
}

.btn-primary {
	background: var(--s4t-primary);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(255, 34, 39, 0.28);
}

.btn-primary:hover {
	background: var(--s4t-primary-hover);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 34, 39, 0.35);
}

.btn-secondary {
	background: #ffffff;
	color: var(--s4t-dark);
	border: 1px solid var(--s4t-border);
	box-shadow: var(--s4t-shadow-sm);
}

.btn-secondary:hover {
	border-color: var(--s4t-dark);
	color: var(--s4t-dark);
	background: var(--s4t-surface-alt);
}

.btn-dark {
	background: var(--s4t-dark);
	color: #ffffff;
}

.btn-dark:hover {
	background: var(--s4t-dark-hover);
	color: #ffffff;
}

.btn-outline-white {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
	background: #ffffff;
	color: var(--s4t-dark);
	border-color: #ffffff;
}

/* Section Header */
.section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	border-bottom: 2px solid var(--s4t-border-subtle);
	padding-bottom: 14px;
}

.section-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.section-pill-tag {
	font-family: var(--s4t-font-display);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--s4t-primary);
}

.section-title {
	font-size: 1.625rem;
	color: var(--s4t-text-dark);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.section-view-all {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--s4t-font-display);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--s4t-primary);
	transition: gap var(--s4t-transition-fast);
}

.section-view-all:hover {
	gap: 8px;
}

/* --- 5. Homepage Hero Section (EduPQ Inspired) --- */
.hero-section {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	padding: clamp(48px, 6vw, 80px) 0;
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 34, 39, 0.18) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
	position: relative;
	z-index: 2;
}

@media (min-width: 992px) {
	.hero-inner {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

.hero-content {
	max-width: 680px;
}

.hero-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 34, 39, 0.2);
	border: 1px solid rgba(255, 34, 39, 0.4);
	color: #fca5a5;
	font-family: var(--s4t-font-display);
	font-size: 0.8125rem;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: var(--s4t-radius-pill);
	margin-bottom: 20px;
	letter-spacing: 0.02em;
}

.hero-title {
	color: #ffffff;
	font-size: clamp(2.25rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 18px;
	letter-spacing: -0.03em;
}

.hero-title span {
	color: #ef4444;
}

.hero-subtitle {
	color: #94a3b8;
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: 30px;
}

.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 30px;
}

.hero-quick-topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 0.825rem;
	color: #94a3b8;
}

.hero-topic-pill {
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	padding: 4px 12px;
	border-radius: var(--s4t-radius-pill);
	font-weight: 500;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: all var(--s4t-transition-fast);
}

.hero-topic-pill:hover {
	background: var(--s4t-primary);
	color: #ffffff;
	border-color: var(--s4t-primary);
}

/* Hero Right Featured Card Highlight */
.hero-highlight-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--s4t-radius-lg);
	padding: 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-highlight-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-highlight-badge {
	font-family: var(--s4t-font-display);
	font-size: 0.75rem;
	font-weight: 700;
	color: #ef4444;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.hero-highlight-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero-highlight-item {
	display: flex;
	gap: 14px;
	align-items: center;
}

.hero-highlight-thumb {
	width: 64px;
	height: 64px;
	border-radius: var(--s4t-radius-md);
	overflow: hidden;
	flex-shrink: 0;
}

.hero-highlight-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-highlight-item-title {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	color: #ffffff;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hero-highlight-item-title:hover {
	color: #f87171;
}

/* --- 6. Explore Skills & Categories (Avatar/Pill Cards) --- */
.category-explorer-section {
	padding: 48px 0;
	background: #ffffff;
	border-bottom: 1px solid var(--s4t-border);
}

.category-pills-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

@media (min-width: 640px) {
	.category-pills-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.category-pills-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

.category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 14px;
	background: var(--s4t-surface-subtle);
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	transition: all var(--s4t-transition-fast);
}

.category-card:hover {
	background: #ffffff;
	border-color: var(--s4t-primary);
	transform: translateY(-3px);
	box-shadow: var(--s4t-shadow-md);
}

.category-card-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--s4t-primary-light);
	color: var(--s4t-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	transition: transform var(--s4t-transition-fast);
}

.category-card:hover .category-card-icon {
	background: var(--s4t-primary);
	color: #ffffff;
	transform: scale(1.08);
}

.category-card-title {
	font-family: var(--s4t-font-display);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	line-height: 1.3;
	margin-bottom: 4px;
}

.category-card-desc {
	font-size: 0.775rem;
	color: var(--s4t-text-muted);
}

/* --- 7. Featured Content Asymmetric Grid (EduPQ Style) --- */
.featured-section {
	padding: 56px 0;
	background: var(--s4t-surface-subtle);
}

.featured-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 992px) {
	.featured-grid {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

/* Primary Lead Article Card */
.lead-card {
	position: relative;
	border-radius: var(--s4t-radius-lg);
	overflow: hidden;
	background: var(--s4t-dark);
	box-shadow: var(--s4t-shadow-card);
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.lead-card-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.lead-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--s4t-transition-slow);
}

.lead-card:hover .lead-card-media img {
	transform: scale(1.04);
}

.lead-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.88) 75%, rgba(15, 23, 42, 0.98) 100%);
}

.lead-card-body {
	position: relative;
	z-index: 2;
	padding: clamp(24px, 4vw, 36px);
	color: #ffffff;
}

.lead-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 0.825rem;
	color: #cbd5e1;
}

.lead-card-title {
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	font-weight: 800;
	color: #ffffff;
	line-height: 1.25;
	margin-bottom: 12px;
}

.lead-card-title a {
	color: #ffffff;
}

.lead-card-title a:hover {
	color: #fca5a5;
}

.lead-card-excerpt {
	font-size: 0.9375rem;
	color: #94a3b8;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Secondary Featured Articles Column */
.supporting-cards-column {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	min-width: 0;
}

.supporting-card {
	display: flex;
	gap: 16px;
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	padding: 14px;
	box-shadow: var(--s4t-shadow-card);
	transition: all var(--s4t-transition-fast);
	align-items: center;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

@media (max-width: 520px) {
	.supporting-card {
		flex-direction: column;
		align-items: stretch;
		padding: 12px;
		gap: 12px;
	}
	.supporting-card-thumb {
		width: 100% !important;
		height: 160px !important;
	}
}

.supporting-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--s4t-shadow-md);
	border-color: var(--s4t-primary-border);
}

.supporting-card-thumb {
	width: 120px;
	height: 96px;
	border-radius: var(--s4t-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.supporting-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--s4t-transition-fast);
}

.supporting-card:hover .supporting-card-thumb img {
	transform: scale(1.05);
}

.supporting-card-body {
	flex-grow: 1;
	min-width: 0;
	width: 100%;
}

.supporting-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 6px;
	font-size: 0.775rem;
	color: var(--s4t-text-muted);
}

.supporting-card-meta span,
.supporting-card-meta time,
.supporting-card-meta .meta-date,
.supporting-card-meta .cat-badge {
	white-space: nowrap !important;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.supporting-card-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.supporting-card-title a:hover {
	color: var(--s4t-primary);
}

/* --- 8. Dynamic Content Showcase Grids (Career & Money) --- */
.showcase-section {
	padding: 56px 0;
	border-bottom: 1px solid var(--s4t-border);
}

.showcase-section.alt-bg {
	background: #ffffff;
}

.articles-grid-2 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	width: 100%;
}

@media (min-width: 600px) {
	.articles-grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.articles-grid-4 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	width: 100%;
}

@media (min-width: 640px) {
	.articles-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.articles-grid-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.related-posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	width: 100%;
}

@media (min-width: 540px) {
	.related-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.related-posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Standard Article Card */
.article-card {
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: var(--s4t-shadow-card);
	transition: all var(--s4t-transition-fast);
	box-sizing: border-box;
}

.article-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--s4t-shadow-hover);
	border-color: var(--s4t-primary-border);
}

.article-card-thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--s4t-dark);
}

.article-card-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--s4t-transition-slow);
}

.article-card:hover .article-card-thumb-wrap img {
	transform: scale(1.05);
}

.article-card-cat-float {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.article-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.article-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 0.775rem;
	color: var(--s4t-text-muted);
	margin-bottom: 10px;
}

.article-card-meta span,
.article-card-meta time,
.article-card-meta .posted-on {
	white-space: nowrap !important;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.meta-icon {
	display: inline-flex;
	vertical-align: middle;
}

.article-card-title {
	font-size: 1.075rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	line-height: 1.4;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-card-title a:hover {
	color: var(--s4t-primary);
}

.article-card-excerpt {
	font-size: 0.875rem;
	color: var(--s4t-text);
	line-height: 1.5;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex-grow: 1;
}

.article-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid var(--s4t-border-subtle);
	font-size: 0.775rem;
	color: var(--s4t-text-muted);
	margin-top: auto;
}

/* --- 9. Latest Posts + Interactive Sidebar Layout --- */
.main-content-layout {
	padding: 64px 0;
}

.content-sidebar-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 1024px) {
	.content-sidebar-grid {
		grid-template-columns: 1fr 340px;
	}
}

/* Horizontal List Post Card */
.horizontal-post-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	padding: 18px;
	margin-bottom: 20px;
	box-shadow: var(--s4t-shadow-card);
	transition: all var(--s4t-transition-fast);
}

@media (min-width: 680px) {
	.horizontal-post-card {
		flex-direction: row;
		align-items: center;
		gap: 22px;
	}
}

.horizontal-post-card:hover {
	border-color: var(--s4t-primary-border);
	box-shadow: var(--s4t-shadow-md);
	transform: translateY(-2px);
}

.horizontal-post-thumb {
	width: 100%;
	height: 190px;
	border-radius: var(--s4t-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
	background: var(--s4t-dark);
}

@media (min-width: 680px) {
	.horizontal-post-thumb {
		width: 195px;
		height: 135px;
	}
}

@media (min-width: 1024px) {
	.horizontal-post-thumb {
		width: 215px;
		height: 145px;
	}
}

.horizontal-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--s4t-transition-fast);
}

.horizontal-post-card:hover .horizontal-post-thumb img {
	transform: scale(1.04);
}

.horizontal-post-body {
	flex-grow: 1;
	min-width: 0;
	width: 100%;
}

.horizontal-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 0.775rem;
	color: var(--s4t-text-muted);
	margin-bottom: 8px;
}

.horizontal-post-meta span,
.horizontal-post-meta time,
.horizontal-post-meta .posted-on,
.horizontal-post-meta .read-time-meta,
.horizontal-post-meta .cat-badge {
	white-space: nowrap !important;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.horizontal-post-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	line-height: 1.35;
	margin-bottom: 8px;
}

.horizontal-post-title a:hover {
	color: var(--s4t-primary);
}

.horizontal-post-excerpt {
	font-size: 0.875rem;
	color: var(--s4t-text);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 12px;
}

.horizontal-post-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--s4t-font-display);
	font-size: 0.825rem;
	font-weight: 700;
	color: var(--s4t-primary);
}

.horizontal-post-link:hover {
	gap: 8px;
}

/* Sidebar Widgets */
.sidebar-area {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.widget {
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	padding: 24px;
	box-shadow: var(--s4t-shadow-card);
}

.widget-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--s4t-text-dark);
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--s4t-border-subtle);
}

.widget-title span::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 40px;
	height: 2px;
	background: var(--s4t-primary);
}

/* High-Impact WhatsApp Widget */
.widget-whatsapp-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	border-radius: var(--s4t-radius-md);
	padding: 24px;
	box-shadow: var(--s4t-shadow-md);
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.widget-whatsapp-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.widget-whatsapp-title {
	font-size: 1.25rem;
	color: #ffffff;
	font-weight: 800;
	margin-bottom: 8px;
}

.widget-whatsapp-desc {
	font-size: 0.875rem;
	color: #94a3b8;
	margin-bottom: 20px;
	line-height: 1.5;
}

.btn-whatsapp-full {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: #25d366;
	color: #ffffff;
	font-family: var(--s4t-font-display);
	font-size: 0.9375rem;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: var(--s4t-radius-pill);
	transition: all var(--s4t-transition-fast);
}

.btn-whatsapp-full:hover {
	background: #1eb855;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Tabbed Ranked Posts Widget (EduPQ Style) */
.widget-tab-nav {
	display: flex;
	border-bottom: 1px solid var(--s4t-border);
	margin-bottom: 18px;
}

.widget-tab-btn {
	flex: 1;
	background: none;
	border: none;
	padding: 10px 0;
	font-family: var(--s4t-font-display);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--s4t-text-muted);
	cursor: pointer;
	border-bottom: 2px solid transparent;
	transition: all var(--s4t-transition-fast);
}

.widget-tab-btn.is-active {
	color: var(--s4t-primary);
	border-bottom-color: var(--s4t-primary);
}

.ranked-post-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ranked-post-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ranked-post-number {
	font-family: var(--s4t-font-display);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--s4t-primary);
	width: 28px;
	flex-shrink: 0;
}

.ranked-post-thumb {
	width: 52px;
	height: 52px;
	border-radius: var(--s4t-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.ranked-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ranked-post-details {
	flex-grow: 1;
	min-width: 0;
}

.ranked-post-title {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--s4t-text-dark);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ranked-post-title:hover {
	color: var(--s4t-primary);
}

.ranked-post-date {
	font-size: 0.75rem;
	color: var(--s4t-text-muted);
}

/* Category List Widget */
.widget_categories ul,
.widget_archive ul {
	list-style: none;
}

.widget_categories li,
.widget_archive li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--s4t-border-subtle);
	font-size: 0.9rem;
	font-weight: 500;
}

.widget_categories li a:hover,
.widget_archive li a:hover {
	color: var(--s4t-primary);
	padding-left: 4px;
}

/* Tag Cloud Widget */
.tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tagcloud a {
	display: inline-block;
	background: var(--s4t-surface-subtle);
	border: 1px solid var(--s4t-border);
	color: var(--s4t-text);
	font-size: 0.8125rem !important;
	padding: 5px 12px;
	border-radius: var(--s4t-radius-pill);
	transition: all var(--s4t-transition-fast);
}

.tagcloud a:hover {
	background: var(--s4t-primary);
	color: #ffffff;
	border-color: var(--s4t-primary);
}

/* Official Social Community Hub & Follow Widgets */
.s4t-social-community-widget {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.s4t-social-desc {
	font-size: 0.8125rem;
	color: var(--s4t-text-muted);
	line-height: 1.45;
	margin-bottom: 4px;
}

.s4t-social-cards-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.s4t-social-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: var(--s4t-radius-md);
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	text-decoration: none !important;
	transition: transform var(--s4t-transition-fast), border-color var(--s4t-transition-fast), box-shadow var(--s4t-transition-fast), background var(--s4t-transition-fast);
	position: relative;
	overflow: hidden;
}

.s4t-social-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: transparent;
	transition: background-color var(--s4t-transition-fast);
}

.s4t-social-card:hover {
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Branded Networks */
.s4t-social-card.s4t-social-whatsapp::before { background: #25d366; }
.s4t-social-card.s4t-social-whatsapp:hover { border-color: rgba(37, 211, 102, 0.5); background: #f0fdf4; }
.s4t-social-card.s4t-social-whatsapp .s4t-social-card-icon {
	background: rgba(37, 211, 102, 0.12);
	color: #16a34a;
}
.s4t-social-card.s4t-social-whatsapp .s4t-social-card-action {
	background: #25d366;
	color: #ffffff;
}

.s4t-social-card.s4t-social-facebook::before { background: #1877f2; }
.s4t-social-card.s4t-social-facebook:hover { border-color: rgba(24, 119, 242, 0.5); background: #eff6ff; }
.s4t-social-card.s4t-social-facebook .s4t-social-card-icon {
	background: rgba(24, 119, 242, 0.12);
	color: #1877f2;
}
.s4t-social-card.s4t-social-facebook .s4t-social-card-action {
	background: #1877f2;
	color: #ffffff;
}

.s4t-social-card.s4t-social-x::before { background: #0f172a; }
.s4t-social-card.s4t-social-x:hover { border-color: rgba(15, 23, 42, 0.5); background: #f8fafc; }
.s4t-social-card.s4t-social-x .s4t-social-card-icon {
	background: rgba(15, 23, 42, 0.08);
	color: #0f172a;
}
.s4t-social-card.s4t-social-x .s4t-social-card-action {
	background: #0f172a;
	color: #ffffff;
}

.s4t-social-card.s4t-social-youtube::before { background: #ff0000; }
.s4t-social-card.s4t-social-youtube:hover { border-color: rgba(255, 0, 0, 0.5); background: #fef2f2; }
.s4t-social-card.s4t-social-youtube .s4t-social-card-icon {
	background: rgba(255, 0, 0, 0.1);
	color: #dc2626;
}
.s4t-social-card.s4t-social-youtube .s4t-social-card-action {
	background: #ff0000;
	color: #ffffff;
}

.s4t-social-card-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform var(--s4t-transition-fast);
}

.s4t-social-card:hover .s4t-social-card-icon {
	transform: scale(1.1);
}

.s4t-social-card-text {
	flex-grow: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.s4t-social-card-name {
	font-family: var(--s4t-font-display);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	line-height: 1.25;
}

.s4t-social-card-sub {
	font-size: 0.75rem;
	color: var(--s4t-text-muted);
	line-height: 1.2;
	margin-top: 2px;
}

.s4t-social-card-action {
	font-family: var(--s4t-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: var(--s4t-radius-pill);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	flex-shrink: 0;
	transition: all var(--s4t-transition-fast);
}

.s4t-social-card:hover .s4t-social-card-action {
	filter: brightness(1.08);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* AddToAny Follow Widget Styling */
.widget_a2a_follow_widget {
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	padding: 20px;
}

.widget_a2a_follow_widget .a2a_kit {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.widget_a2a_follow_widget .a2a_kit a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--s4t-transition-fast);
}

.widget_a2a_follow_widget .a2a_kit a:hover {
	transform: translateY(-2px);
}

/* Mobile drawer whatsapp button single-line */
.mobile-nav-drawer .btn-whatsapp-full {
	font-size: 0.8125rem;
	padding: 10px 14px;
	white-space: nowrap;
	gap: 6px;
}

.mobile-nav-drawer .btn-whatsapp-full span {
	white-space: nowrap;
}

/* --- 10. Newsletter & Community Banner --- */
.newsletter-section {
	padding: 60px 0;
	background: #ffffff;
	border-top: 1px solid var(--s4t-border);
}

.newsletter-card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: var(--s4t-radius-lg);
	padding: clamp(32px, 5vw, 48px);
	color: #ffffff;
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
	box-shadow: var(--s4t-shadow-lg);
}

@media (min-width: 860px) {
	.newsletter-card {
		grid-template-columns: 1.2fr 0.8fr;
	}
}

.newsletter-title {
	font-size: clamp(1.6rem, 2.5vw, 2.25rem);
	color: #ffffff;
	font-weight: 800;
	margin-bottom: 10px;
}

.newsletter-desc {
	font-size: 1rem;
	color: #94a3b8;
	line-height: 1.6;
	margin-bottom: 18px;
}

.newsletter-bullets {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.875rem;
	color: #cbd5e1;
}

.bullet-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bullet-icon {
	color: #ef4444;
	display: inline-flex;
}

.newsletter-form-box {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--s4t-radius-md);
	padding: 24px;
	backdrop-filter: blur(8px);
}

/* --- 11. Single Post & Reading Experience --- */
.single-post-wrapper {
	padding: 40px 0 80px;
}

.breadcrumbs {
	margin-bottom: 24px;
	font-size: 0.85rem;
	color: var(--s4t-text-muted);
}

.breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
}

.breadcrumb-separator {
	color: #cbd5e1;
}

.breadcrumbs-list a:hover {
	color: var(--s4t-primary);
}

.breadcrumbs-list .active {
	color: var(--s4t-text-dark);
	font-weight: 600;
}

.post-header {
	margin-bottom: 32px;
}

.post-header-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.single-post-title {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 800;
	color: var(--s4t-text-dark);
	line-height: 1.2;
	margin-bottom: 20px;
	letter-spacing: -0.025em;
}

.post-header-meta-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--s4t-border);
	border-bottom: 1px solid var(--s4t-border);
	font-size: 0.875rem;
	color: var(--s4t-text-muted);
}

.author-meta-block {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-meta-block img {
	border-radius: 50%;
}

.single-featured-media {
	margin-bottom: 36px;
	border-radius: var(--s4t-radius-lg);
	overflow: hidden;
	box-shadow: var(--s4t-shadow-md);
}

.single-featured-media img {
	width: 100%;
	height: auto;
}

/* Post Body Content Styling (Typography & Blocks) */
.entry-content {
	font-size: 1.125rem;
	line-height: 1.8;
	color: #1e293b;
	word-break: break-word;
}

/* Post Interlinks & Text Hyperlinks - Red Color Palette */
.entry-content a:not(.wp-block-button__link):not(.wp-element-button),
.single-post-article .entry-content a:not(.wp-block-button__link):not(.wp-element-button) {
	color: var(--s4t-primary, #ff2227);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 34, 39, 0.45);
	font-weight: 600;
	transition: color var(--s4t-transition-fast), text-decoration-color var(--s4t-transition-fast);
}

.entry-content a:not(.wp-block-button__link):not(.wp-element-button):hover,
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):focus,
.single-post-article .entry-content a:not(.wp-block-button__link):not(.wp-element-button):hover,
.single-post-article .entry-content a:not(.wp-block-button__link):not(.wp-element-button):focus {
	color: var(--s4t-primary-hover, #e01217);
	text-decoration-color: var(--s4t-primary-hover, #e01217);
}

.entry-content a:not(.wp-block-button__link):not(.wp-element-button):visited,
.single-post-article .entry-content a:not(.wp-block-button__link):not(.wp-element-button):visited {
	color: var(--s4t-primary, #ff2227);
}

/* Preserve clean display without text-underline for image links */
.entry-content a:has(> img),
.entry-content a:has(> picture),
.entry-content a:has(> figure) {
	text-decoration: none !important;
}

/* Inline related posts & interlink callout boxes */
.entry-content .inline-interlink,
.entry-content .inline-related-post,
.entry-content .wp-block-inline-related-posts,
.entry-content .wp-block-latest-posts {
	margin: 28px 0;
	padding: 16px 20px;
	background: var(--s4t-surface-subtle);
	border-left: 4px solid var(--s4t-primary, #ff2227);
	border-radius: 0 var(--s4t-radius-md) var(--s4t-radius-md) 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	font-size: 1rem;
}

.entry-content .inline-interlink .interlink-badge,
.entry-content .inline-related-post .interlink-badge {
	font-size: 0.725rem;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: #ffffff;
	background: var(--s4t-primary, #ff2227);
	padding: 4px 10px;
	border-radius: var(--s4t-radius-pill);
	white-space: nowrap;
}

.entry-content .inline-interlink a,
.entry-content .inline-related-post a {
	color: var(--s4t-primary, #ff2227);
	font-weight: 700;
	text-decoration: underline;
}

/* Post Pagination (wp_link_pages) */
.page-links {
	margin: 32px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 700;
	font-size: 0.9rem;
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: var(--s4t-radius-sm);
	border: 1px solid var(--s4t-border);
	font-size: 0.875rem;
	transition: all var(--s4t-transition-fast);
}

.page-links a {
	color: var(--s4t-primary, #ff2227);
	background: #ffffff;
	text-decoration: none;
}

.page-links a:hover {
	background: var(--s4t-primary, #ff2227);
	color: #ffffff;
	border-color: var(--s4t-primary, #ff2227);
}

.page-links > .post-page-numbers.current,
.page-links > span:not([class]) {
	background: var(--s4t-primary, #ff2227);
	color: #ffffff;
	border-color: var(--s4t-primary, #ff2227);
}

.entry-content p {
	margin-bottom: 1.5em;
}

.entry-content h2 {
	margin-top: 2em;
	margin-bottom: 0.8em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--s4t-border-subtle);
}

.entry-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.5em;
	padding-left: 1.75em;
}

.entry-content li {
	margin-bottom: 0.5em;
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 20px 24px;
	background: var(--s4t-surface-subtle);
	border-left: 4px solid var(--s4t-primary);
	border-radius: 0 var(--s4t-radius-md) var(--s4t-radius-md) 0;
	font-style: italic;
	color: var(--s4t-text-dark);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 12px 16px;
	border: 1px solid var(--s4t-border);
	text-align: left;
}

.entry-content th {
	background: var(--s4t-surface-alt);
	font-weight: 700;
	color: var(--s4t-text-dark);
}

/* Social Share Bar */
.article-share {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 32px 0;
	padding: 16px 20px;
	background: var(--s4t-surface-alt);
	border-radius: var(--s4t-radius-md);
}

.share-label {
	font-family: var(--s4t-font-display);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
}

.share-links {
	display: flex;
	align-items: center;
	gap: 10px;
}

.share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #ffffff;
	transition: all var(--s4t-transition-fast);
}

.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-x { background: #000000; }
.share-linkedin { background: #0a66c2; }

.share-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--s4t-shadow-sm);
	color: #ffffff;
}

/* Author Box */
.author-bio-box {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 24px;
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	margin: 40px 0;
	box-shadow: var(--s4t-shadow-card);
}

.author-bio-avatar img {
	border-radius: 50%;
	width: 72px;
	height: 72px;
}

.author-bio-name {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.author-bio-desc {
	font-size: 0.9rem;
	color: var(--s4t-text-muted);
}

/* Post Navigation (Prev / Next) */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 40px 0;
}

@media (min-width: 640px) {
	.post-navigation {
		grid-template-columns: 1fr 1fr;
	}
}

.post-nav-card {
	padding: 18px 20px;
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	transition: all var(--s4t-transition-fast);
}

.post-nav-card:hover {
	border-color: var(--s4t-primary);
	box-shadow: var(--s4t-shadow-md);
}

.post-nav-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--s4t-text-muted);
	margin-bottom: 4px;
	display: block;
}

.post-nav-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color var(--s4t-transition-fast);
}

.post-nav-card:hover .post-nav-title {
	color: var(--s4t-primary);
}

/* Comments Styling */
.comments-area {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid var(--s4t-border);
}

.comments-title {
	font-size: 1.5rem;
	margin-bottom: 24px;
}

.comment-list {
	list-style: none;
	margin-bottom: 40px;
}

.comment-list .comment {
	padding: 20px;
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-md);
	margin-bottom: 16px;
}

.comment-list .children {
	list-style: none;
	margin-left: 28px;
	margin-top: 16px;
}

.comment-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
}

.comment-meta img {
	border-radius: 50%;
}

.comment-form p {
	margin-bottom: 16px;
}

.comment-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--s4t-border);
	border-radius: var(--s4t-radius-sm);
	outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--s4t-primary);
}

/* --- 12. Pagination System --- */
.posts-pagination,
.navigation.pagination {
	margin-top: 48px;
	text-align: center;
}

.nav-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--s4t-radius-md);
	background: #ffffff;
	border: 1px solid var(--s4t-border);
	font-family: var(--s4t-font-display);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--s4t-text-dark);
	transition: all var(--s4t-transition-fast);
}

.nav-links .page-numbers:hover {
	border-color: var(--s4t-primary);
	color: var(--s4t-primary);
}

.nav-links .page-numbers.current {
	background: var(--s4t-primary);
	border-color: var(--s4t-primary);
	color: #ffffff;
}

/* --- 13. Archive & Taxonomy Hero --- */
.archive-hero {
	background: #ffffff;
	border-bottom: 1px solid var(--s4t-border);
	padding: 48px 0;
	margin-bottom: 40px;
}

.archive-hero-inner {
	max-width: 800px;
}

.archive-badge {
	display: inline-block;
	font-family: var(--s4t-font-display);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--s4t-primary);
	margin-bottom: 8px;
}

.archive-title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
	color: var(--s4t-text-dark);
	margin-bottom: 12px;
}

.archive-description {
	font-size: 1.05rem;
	color: var(--s4t-text-muted);
	line-height: 1.6;
}

/* --- 14. 404 Error Page --- */
.error-404-wrapper {
	padding: 80px 0;
	text-align: center;
}

.error-404-box {
	max-width: 600px;
	margin: 0 auto;
}

.error-404-num {
	font-family: var(--s4t-font-display);
	font-size: clamp(6rem, 12vw, 9rem);
	font-weight: 900;
	color: var(--s4t-primary);
	line-height: 1;
	letter-spacing: -0.05em;
	margin-bottom: 12px;
}

.error-404-title {
	font-size: 1.75rem;
	margin-bottom: 14px;
}

.error-404-text {
	color: var(--s4t-text-muted);
	margin-bottom: 28px;
}

/* --- 15. Footer --- */
.site-footer {
	background: var(--s4t-dark-footer);
	color: #ffffff;
	margin-top: auto;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
	padding: clamp(48px, 6vw, 72px) 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 640px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

.footer-branding {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-logo img {
	max-height: 44px;
	width: auto;
}

.footer-desc {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.6;
	max-width: 340px;
}

.footer-social-links {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.social-pill-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: all var(--s4t-transition-fast);
}

.social-pill-btn:hover {
	background: var(--s4t-primary);
	border-color: var(--s4t-primary);
	transform: translateY(-2px);
}

.footer-col-title {
	font-family: var(--s4t-font-display);
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 8px;
}

.footer-col-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 28px;
	height: 2px;
	background: var(--s4t-primary);
}

.footer-menu-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-menu-list a {
	font-size: 0.875rem;
	color: #94a3b8;
	transition: all var(--s4t-transition-fast);
}

.footer-menu-list a:hover {
	color: #ffffff;
	padding-left: 4px;
}

.footer-bottom {
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.825rem;
	color: #64748b;
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.footer-legal-links {
	display: flex;
	gap: 20px;
}

.footer-legal-links a:hover {
	color: #ffffff;
}

/* Floating Scroll to Top Button */
.scroll-top-btn {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--s4t-primary);
	color: #ffffff;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--s4t-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--s4t-transition-fast);
	z-index: 900;
}

.scroll-top-btn.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-top-btn:hover {
	background: var(--s4t-primary-hover);
	transform: translateY(-2px);
}

/* --- 16. Accessibility & Motion Preferences --- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
