/*
Theme Name: Unicorn Holo
Theme URI: https://unicornsuccess.com/
Author: RyseVisibility
Author URI: https://rysevisibility.com/
Description: A bright, playful magazine theme for founder stories and success lessons. Holographic pastel cards, a filterable Zero-to-Million tracker, ranked billionaire playbooks, level-based category cards and a newsletter banner. Built for Unicorn Success.
Version: 1.2.2
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unicorn-holo
Tags: blog, news, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--uh-ink: #16131F;
	--uh-bg: #F6F4FF;
	--uh-paper: #FFFFFF;
	--uh-muted: #4A4560;
	--uh-line: #E7E3F7;
	--uh-yellow: #FFD84D;
	--uh-pink: #FBC2EB;
	--uh-blue: #A6C1EE;
	--uh-mint: #C2F0E0;
	--uh-peach: #FDE1A9;
	--uh-lilac: #D9CCFF;
	--uh-holo: linear-gradient(135deg, #FBC2EB 0%, #A6C1EE 40%, #C2F0E0 70%, #FDE1A9 100%);
	--uh-display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--uh-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--uh-radius: 28px;
	--uh-shadow: 6px 6px 0 var(--uh-ink);
	--uh-shadow-sm: 3px 3px 0 var(--uh-ink);
	--uh-border: 2px solid var(--uh-ink);
	--uh-wrap: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
	margin: 0;
	background: var(--uh-bg);
	color: var(--uh-ink);
	font-family: var(--uh-body);
	font-size: 17px;
	line-height: 1.55;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #5B3FD6; }
:focus-visible { outline: 3px solid #5B3FD6; outline-offset: 3px; border-radius: 8px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }

.uh-sr, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.uh-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--uh-yellow); border: var(--uh-border); border-radius: 999px; font-weight: 700; }
.uh-skip:focus { top: 12px; }

.uh-wrap { width: 100%; max-width: var(--uh-wrap); margin: 0 auto; padding: 0 24px; }
.uh-wrap--narrow { max-width: 820px; }
.uh-muted { color: var(--uh-muted); }
.uh-strong { font-weight: 600; }

/* ---------- Type ---------- */
.uh-h2 { font-family: var(--uh-display); font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.uh-h3 { font-family: var(--uh-display); font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.uh-lead { margin: 10px 0 0; color: var(--uh-muted); font-size: 19px; }

/* ---------- Buttons, pills, chips ---------- */
.uh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border-radius: 999px; border: var(--uh-border);
	font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
}
.uh-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--uh-shadow-sm); color: inherit; }
.uh-btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.uh-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.uh-btn--ink { background: var(--uh-ink); color: #fff; }
.uh-btn--ink:hover { color: #fff; }
.uh-btn--line { background: var(--uh-paper); color: var(--uh-ink); }
.uh-btn--yellow { background: var(--uh-yellow); color: var(--uh-ink); box-shadow: 4px 4px 0 var(--uh-ink); }
.uh-btn--yellow:hover { box-shadow: 6px 6px 0 var(--uh-ink); }

.uh-badge { display: inline-flex; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--uh-paper); border: var(--uh-border); font-weight: 600; font-size: 14px; }
.uh-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: var(--uh-border); background: var(--uh-paper); font-size: 13px; font-weight: 700; }
.uh-pill--white { background: var(--uh-paper); }

.uh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.uh-chip {
	min-height: 44px; padding: 0 18px; border-radius: 999px; border: var(--uh-border);
	background: var(--uh-paper); color: var(--uh-ink); font-weight: 700; font-size: 15px; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.uh-chip:hover { transform: translate(-1px, -1px); }
.uh-chip[aria-pressed="true"] { background: var(--uh-yellow); box-shadow: var(--uh-shadow-sm); }

.uh-link { font-weight: 700; }
.uh-link--yellow { color: var(--uh-yellow); }
.uh-link--yellow:hover { color: #fff; }

.uh-round {
	width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; background: transparent;
	color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.uh-round:hover { background: var(--uh-yellow); color: var(--uh-ink); border-color: var(--uh-yellow); }

/* Tints */
.uh-tint-1 { background: var(--uh-pink); }
.uh-tint-2 { background: var(--uh-blue); }
.uh-tint-3 { background: var(--uh-mint); }
.uh-tint-4 { background: var(--uh-peach); }
.uh-tint-5 { background: var(--uh-lilac); }
.uh-tint-6 { background: var(--uh-yellow); }

/* ---------- Header ---------- */
.uh-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid transparent; }
.admin-bar .uh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .uh-header { top: 46px; } }
.uh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }

.uh-brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; font-family: var(--uh-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--uh-ink); }
.uh-brand:hover { color: var(--uh-ink); }
.uh-brand__mark { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--uh-holo); border: var(--uh-border); display: inline-flex; align-items: center; justify-content: center; color: var(--uh-ink); }
.uh-brand__logo { height: 48px; width: auto; max-width: 220px; object-fit: contain; }

.uh-nav { display: flex; align-items: center; gap: 12px; }
.uh-nav .uh-menu { list-style: none; margin: 0; display: flex; flex-wrap: nowrap; gap: 2px; white-space: nowrap; padding: 6px; border-radius: 999px; background: var(--uh-paper); border: var(--uh-border); }
.uh-nav .uh-menu > li { position: relative; }
.uh-nav .uh-menu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.uh-nav .uh-menu a:hover { background: var(--uh-bg); color: var(--uh-ink); }
.uh-nav .uh-menu .current-menu-item > a,
.uh-nav .uh-menu .current-cat > a,
.uh-nav .uh-menu .current-menu-ancestor > a { background: var(--uh-ink); color: #fff; }
.uh-nav .sub-menu { list-style: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; margin: 0; padding: 8px; background: var(--uh-paper); border: var(--uh-border); border-radius: 20px; box-shadow: var(--uh-shadow); display: none; }
.uh-nav li:hover > .sub-menu, .uh-nav li:focus-within > .sub-menu { display: block; }
.uh-nav .sub-menu a { display: flex; width: 100%; }
.uh-nav__actions { display: flex; align-items: center; gap: 10px; }

.uh-search-mini { display: flex; align-items: center; height: 48px; border: var(--uh-border); border-radius: 999px; background: var(--uh-paper); overflow: hidden; }
.uh-search-mini input { width: 120px; height: 100%; border: 0; padding: 0 0 0 16px; background: transparent; font-size: 15px; }
.uh-search-mini input:focus { outline: none; }
.uh-search-mini:focus-within { box-shadow: var(--uh-shadow-sm); }
.uh-search-mini button { width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.uh-menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: var(--uh-border); background: var(--uh-paper); align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1240px) {
	.uh-menu-toggle { display: inline-flex; }
	.uh-nav {
		position: absolute; left: 16px; right: 16px; top: calc(100% - 4px);
		flex-direction: column; align-items: stretch; gap: 12px; padding: 16px;
		background: var(--uh-paper); border: var(--uh-border); border-radius: 24px; box-shadow: var(--uh-shadow);
		display: none;
	}
	.uh-nav.is-open { display: flex; }
	.uh-nav .uh-menu { flex-direction: column; border: 0; padding: 0; border-radius: 0; white-space: normal; }
	.uh-nav .uh-menu a { width: 100%; min-height: 48px; }
	.uh-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
	.uh-nav__actions { flex-direction: column; align-items: stretch; }
	.uh-search-mini input { width: 100%; }
}

/* ---------- Sections ---------- */
.uh-main { display: block; }
.uh-section { padding: 88px 0; }
.uh-section--tight { padding: 56px 0; }
.uh-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.uh-card { background: var(--uh-paper); border: var(--uh-border); border-radius: var(--uh-radius); box-shadow: var(--uh-shadow); }

/* ---------- Hero ---------- */
.uh-hero { padding: 48px 0 72px; }
.uh-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.uh-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.uh-hero__title { font-family: var(--uh-display); font-size: clamp(42px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; }
.uh-holo-word { display: inline-block; padding: 0 14px; border-radius: 20px; border: 3px solid var(--uh-ink); background: var(--uh-holo); transform: rotate(-2deg); }
.uh-hero__text { margin: 0; font-size: 20px; color: var(--uh-muted); max-width: 540px; }
.uh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.uh-deck { flex: 1 1 440px; min-width: 0; position: relative; height: 540px; }
.uh-deck__card {
	position: absolute; width: 300px; max-width: 60%;
	border-radius: var(--uh-radius); border: 3px solid var(--uh-ink); box-shadow: 8px 8px 0 var(--uh-ink);
	padding: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--uh-ink);
	transition: transform .25s ease, box-shadow .25s ease;
}
.uh-deck__card--1 { left: 0; top: 48px; transform: rotate(-8deg); background: var(--uh-pink); z-index: 1; }
.uh-deck__card--2 { left: 23%; top: 8px; transform: rotate(4deg); background: var(--uh-mint); z-index: 2; }
.uh-deck__card--3 { left: 44%; top: 84px; transform: rotate(-2deg); background: var(--uh-holo); z-index: 3; }
.uh-deck__card:hover, .uh-deck__card:focus-visible { transform: rotate(0) translateY(-10px); z-index: 5; box-shadow: 12px 12px 0 var(--uh-ink); color: var(--uh-ink); }
.uh-deck__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.uh-deck__co { font-size: 13px; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uh-deck__media { height: 150px; border-radius: 18px; overflow: hidden; border: 2px solid var(--uh-ink); }
.uh-deck__media img { width: 100%; height: 100%; object-fit: cover; }
.uh-deck__fig { font-family: var(--uh-display); font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.uh-deck__line { font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uh-deck__who { font-size: 14px; color: var(--uh-muted); }

/* Placeholders (no featured image) */
.is-placeholder { display: flex; align-items: center; justify-content: center; }
.is-placeholder span { font-family: var(--uh-display); font-weight: 800; font-size: 48px; letter-spacing: -0.04em; color: rgba(22, 19, 31, .28); }

@media (max-width: 820px) {
	.uh-deck { height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 12px 20px 4px; margin: 0 -24px; padding-left: 24px; }
	.uh-deck__card { position: relative; left: auto !important; top: auto !important; transform: none !important; flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
}

/* ---------- Tracker ---------- */
.uh-tracker { padding-top: 24px; }
.uh-tracker__card { overflow: hidden; }
.uh-table-scroll { position: relative; overflow-x: auto; }
.uh-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 16px; }
.uh-table th { text-align: left; padding: 16px 24px; background: var(--uh-bg); border-bottom: var(--uh-border); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uh-muted); }
.uh-table td { padding: 16px 24px; border-top: 1px solid var(--uh-line); vertical-align: middle; }
.uh-table tbody tr:first-child td { border-top: 0; }
.uh-table tbody tr { transition: background .15s ease; }
.uh-table tbody tr:hover { background: #FBFAFF; }
.uh-table tr[hidden] { display: none; }
.uh-table__fig { font-family: var(--uh-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.uh-table__go { text-align: right; }
@media (max-width: 700px) {
	.uh-table { min-width: 0; }
	.uh-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.uh-table, .uh-table tbody, .uh-table td { display: block; }
	.uh-table tbody tr { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 16px; padding: 18px; border-top: 1px solid var(--uh-line); }
	.uh-table tbody tr:first-child { border-top: 0; }
	.uh-table tbody tr[hidden] { display: none; }
	.uh-table td { padding: 0; border: 0; }
	.uh-table td:nth-child(1), .uh-table td:nth-child(2) { grid-column: 1 / -1; }
	.uh-table td:nth-child(2) { font-size: 15px; }
	.uh-table td:nth-child(6) { justify-self: end; }
}
.uh-tracker__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 15px; }
.uh-tracker__foot p { margin: 0; }

.uh-person { display: flex; align-items: center; gap: 14px; }
.uh-person__name { display: block; font-weight: 700; }
.uh-person__co { display: block; font-size: 14px; color: var(--uh-muted); }
.uh-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; border: var(--uh-border); display: inline-flex; align-items: center; justify-content: center; font-family: var(--uh-display); font-size: 13px; font-weight: 700; color: var(--uh-ink); }
.uh-avatar { position: relative; overflow: hidden; }
.uh-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uh-avatar--lg { width: 72px; height: 72px; font-size: 20px; }
.uh-avatar--xl { width: 120px; height: 120px; font-size: 32px; border-width: 3px; }

.uh-lever { display: inline-block; padding: 6px 14px; border-radius: 999px; border: var(--uh-border); font-size: 14px; font-weight: 700; background: var(--uh-paper); white-space: nowrap; }
.uh-lever--seo { background: var(--uh-mint); }
.uh-lever--outreach { background: var(--uh-pink); }
.uh-lever--systems { background: var(--uh-blue); }
.uh-lever--reinvestment { background: var(--uh-peach); }
.uh-lever--product { background: var(--uh-lilac); }

/* ---------- Playbooks (dark) ---------- */
.uh-dark { background: var(--uh-ink); color: #fff; border-radius: 48px; margin: 0 12px; padding: 80px 0; }
.uh-dark .uh-h2 { color: #fff; }
.uh-slider-nav { display: flex; align-items: center; gap: 10px; }
.uh-slider-nav .uh-link { margin-left: 10px; }
.uh-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 8px 24px; scrollbar-width: thin; scrollbar-color: #4A4560 transparent; }
.uh-book {
	flex: 0 0 236px; min-height: 310px; scroll-snap-align: start;
	border-radius: var(--uh-radius); padding: 24px; color: var(--uh-ink);
	display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease;
}
.uh-book:nth-child(odd) { transform: rotate(-1.5deg); }
.uh-book:nth-child(even) { transform: rotate(1.5deg); }
.uh-book:hover, .uh-book:focus-visible { transform: rotate(0) translateY(-6px); color: var(--uh-ink); }
.uh-book__n { font-family: var(--uh-display); font-size: 80px; font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.uh-book__label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.uh-book__name { margin-top: auto; font-family: var(--uh-display); font-size: 21px; font-weight: 700; line-height: 1.1; }
.uh-book__role { font-size: 14px; line-height: 1.35; }

/* ---------- Levels ---------- */
.uh-levels { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.uh-level {
	background: var(--uh-paper); border: var(--uh-border); border-radius: var(--uh-radius); box-shadow: var(--uh-shadow);
	padding: 26px; min-height: 250px; display: flex; flex-direction: column; gap: 12px; color: var(--uh-ink);
	transition: transform .15s ease, box-shadow .15s ease;
}
.uh-level:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--uh-ink); color: var(--uh-ink); }
.uh-level__badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; border: var(--uh-border); font-weight: 700; font-size: 13px; }
.uh-level__title { font-family: var(--uh-display); font-size: 22px; font-weight: 700; line-height: 1.15; }
.uh-level__text { color: var(--uh-muted); font-size: 16px; }
.uh-level__foot { margin-top: auto; display: flex; justify-content: space-between; font-weight: 700; padding-top: 12px; border-top: 1px dashed var(--uh-line); }

/* ---------- Story bubbles ---------- */
.uh-bubbles { display: flex; gap: 24px; overflow-x: auto; padding: 4px 4px 12px; }
.uh-bubble { flex: 0 0 120px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--uh-ink); }
.uh-bubble__ring { width: 112px; height: 112px; border-radius: 50%; padding: 4px; background: conic-gradient(#F472B6, #A78BFA, #60A5FA, #34D399, #FBBF24, #F472B6); display: flex; transition: transform .2s ease; }
.uh-bubble:hover .uh-bubble__ring { transform: scale(1.05) rotate(8deg); }
.uh-bubble__img { flex: 1; border-radius: 50%; border: 4px solid var(--uh-bg); overflow: hidden; }
.uh-bubble__img img { width: 100%; height: 100%; object-fit: cover; }
.uh-bubble__img.is-placeholder span { font-size: 22px; color: var(--uh-ink); }
.uh-bubble__label { font-size: 14px; font-weight: 600; line-height: 1.2; }

/* ---------- Newsletter ---------- */
.uh-news { border-radius: 40px; border: 3px solid var(--uh-ink); background: var(--uh-holo); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.uh-news__copy { flex: 1 1 420px; }
.uh-news__title { font-family: var(--uh-display); font-size: clamp(32px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.uh-news__copy p { margin: 10px 0 0; font-size: 19px; font-weight: 500; }
.uh-news__form { flex: 1 1 400px; display: flex; flex-wrap: wrap; gap: 10px; }
.uh-news__form input { flex: 1 1 220px; height: 58px; padding: 0 22px; border-radius: 999px; border: var(--uh-border); background: var(--uh-paper); font-size: 17px; }

/* ---------- Footer ---------- */

/* ---------- Archive & cards ---------- */
.uh-archive-head { padding: 56px 0 8px; }
.uh-archive-head .uh-wrap { display: flex; flex-direction: column; gap: 16px; }
.uh-archive-head__title { font-family: var(--uh-display); font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.uh-archive-head__desc { color: var(--uh-muted); font-size: 19px; max-width: 680px; }
.uh-archive-head__desc p { margin: 0; }

.uh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 28px; }
.uh-post-card { height: 100%; }
.uh-post-card__link { height: 100%; display: flex; flex-direction: column; background: var(--uh-paper); border: var(--uh-border); border-radius: var(--uh-radius); box-shadow: var(--uh-shadow); overflow: hidden; color: var(--uh-ink); transition: transform .15s ease, box-shadow .15s ease; }
.uh-post-card__link:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--uh-ink); color: var(--uh-ink); }
.uh-post-card__media { aspect-ratio: 16 / 10; border-bottom: var(--uh-border); overflow: hidden; }
.uh-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.uh-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.uh-post-card__cat { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--uh-bg); border: 1.5px solid var(--uh-ink); }
.uh-post-card__title { font-family: var(--uh-display); font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.uh-post-card__excerpt { color: var(--uh-muted); font-size: 15px; }
.uh-post-card__meta { margin-top: auto; font-size: 14px; color: var(--uh-muted); }

.uh-pagination { margin-top: 48px; }
.uh-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.uh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 16px; border-radius: 999px; border: var(--uh-border); background: var(--uh-paper); font-weight: 700; }
.uh-pagination .page-numbers.current { background: var(--uh-yellow); box-shadow: var(--uh-shadow-sm); }
.uh-pagination .page-numbers.dots { border: 0; background: transparent; }

.uh-empty { padding: 40px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Search form ---------- */
.uh-searchform { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.uh-searchform input { flex: 1 1 240px; height: 52px; padding: 0 20px; border-radius: 999px; border: var(--uh-border); background: var(--uh-paper); font-size: 16px; }
.uh-searchform .uh-btn { min-height: 52px; }

/* ---------- Single ---------- */
.uh-single__head { padding: 48px 0 32px; }
.uh-single__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.uh-single__title { font-family: var(--uh-display); font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.uh-single__dek { margin: 18px 0 0; font-size: 20px; color: var(--uh-muted); }
.uh-single__meta { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.uh-single__media { display: block; border: 3px solid var(--uh-ink); border-radius: 36px; overflow: hidden; box-shadow: 10px 10px 0 var(--uh-ink); aspect-ratio: 16 / 7; background: var(--uh-holo); }
.uh-single__media img { width: 100%; height: 100%; object-fit: cover; }
.uh-single__media.is-placeholder { display: flex; }
.uh-single__media.is-placeholder span { font-size: clamp(64px, 12vw, 160px); }

.uh-stats { margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.uh-stats > div { background: var(--uh-paper); border: var(--uh-border); border-radius: 20px; padding: 16px 18px; }
.uh-stats dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uh-muted); }
.uh-stats dd { margin: 6px 0 0; font-family: var(--uh-display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.uh-stats dd .uh-lever { font-family: var(--uh-body); font-size: 14px; letter-spacing: 0; }

.uh-content { margin-top: 40px; font-size: 19px; line-height: 1.75; }
.uh-content > * { margin: 0 0 1.2em; }
.uh-content h2 { font-family: var(--uh-display); font-size: 30px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; margin: 1.8em 0 0.6em; }
.uh-content h3 { font-family: var(--uh-display); font-size: 22px; line-height: 1.25; font-weight: 700; margin: 1.6em 0 0.5em; }
.uh-content a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: #A78BFA; }
.uh-content blockquote { margin: 1.8em 0; padding: 28px 32px; border-radius: 28px; border: var(--uh-border); background: var(--uh-holo); font-family: var(--uh-display); font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
.uh-content blockquote p { margin: 0; }
.uh-content blockquote cite { display: block; margin-top: 10px; font-family: var(--uh-body); font-size: 15px; font-style: normal; font-weight: 600; }
.uh-content ul, .uh-content ol { padding-left: 1.3em; }
.uh-content li { margin-bottom: 0.4em; }
.uh-content li::marker { color: #5B3FD6; font-weight: 700; }
.uh-content img, .uh-content figure img { border-radius: 20px; border: var(--uh-border); }
.uh-content figure { margin: 1.8em 0; }
.uh-content figcaption, .wp-caption-text, .gallery-caption { font-size: 14px; color: var(--uh-muted); margin-top: 8px; text-align: center; }
.uh-content hr { border: 0; height: 3px; background: var(--uh-holo); border-radius: 3px; margin: 2.4em 0; }
.uh-content pre { background: var(--uh-ink); color: #fff; padding: 20px; border-radius: 16px; overflow-x: auto; font-size: 15px; }
.uh-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.uh-content th, .uh-content td { border: 1px solid var(--uh-line); padding: 10px 12px; text-align: left; }
.uh-content .alignwide { margin-left: -120px; margin-right: -120px; max-width: none; }
.uh-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
@media (max-width: 1080px) { .uh-content .alignwide { margin-left: 0; margin-right: 0; } }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky .uh-post-card__link { background: #FFFBEA; }
.bypostauthor > .comment-body .fn { color: #5B3FD6; }

.uh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.uh-author { display: flex; gap: 20px; align-items: flex-start; padding: 28px; margin: 40px 0; }
.uh-author p { margin: 0; }
.uh-author__label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uh-muted); }
.uh-author__name { font-family: var(--uh-display); font-size: 20px; font-weight: 700; margin: 4px 0 8px !important; }
.uh-author__bio { color: var(--uh-muted); font-size: 16px; }

/* ---------- Comments ---------- */
.uh-comments { margin: 48px 0; }
.uh-comment-list { list-style: none; padding: 0; margin: 20px 0; }
.uh-comment-list .comment-body { background: var(--uh-paper); border: var(--uh-border); border-radius: 20px; padding: 18px 20px; margin-bottom: 14px; }
.uh-comment-list .children { list-style: none; padding-left: 28px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 16px; border-radius: 16px; border: var(--uh-border); background: var(--uh-paper); }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }

/* ---------- 404 ---------- */
.uh-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.uh-404__num { margin: 0; font-family: var(--uh-display); font-size: clamp(110px, 22vw, 220px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; background: var(--uh-holo); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 3px var(--uh-ink); }
.uh-404 .uh-searchform { width: 100%; max-width: 560px; }
.uh-to-top { font-weight: 600; }

/* ---------- Breadcrumbs (Rank Math / Yoast) ---------- */
.uh-breadcrumbs { margin-bottom: 18px; font-size: 14px; color: var(--uh-muted); }
.uh-breadcrumbs a { font-weight: 600; color: var(--uh-ink); }
.uh-breadcrumbs a:hover { color: #5B3FD6; }
.uh-breadcrumbs p, .uh-breadcrumbs nav { margin: 0; }
.uh-breadcrumbs .separator { margin: 0 6px; }

/* ---------- Author archive ---------- */
.uh-author-hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding: clamp(24px, 4vw, 40px); }
.uh-author-hero__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.uh-author-hero .uh-archive-head__desc a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: #A78BFA; }
.uh-author__name a:hover, .uh-single__meta a:hover { color: #5B3FD6; }

/* ---------- Article with sidebar ---------- */
.uh-single__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.uh-single__layout .uh-single__main { flex: 999 1 560px; min-width: 0; }
.uh-sidebar { flex: 1 1 300px; min-width: 0; position: sticky; top: 110px; margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.uh-widget { background: var(--uh-paper); border: var(--uh-border); border-radius: 24px; padding: 22px; font-size: 16px; }
.uh-widget__title { font-family: var(--uh-display); font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.uh-widget ul { list-style: none; margin: 0; padding: 0; }
.uh-widget li { padding: 8px 0; border-top: 1px solid var(--uh-line); }
.uh-widget li:first-child { border-top: 0; }
.uh-widget li a { font-weight: 600; }
.uh-widget img { border-radius: 14px; }
.uh-widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.uh-widget .wp-block-search__input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; border: var(--uh-border); }
.uh-widget .wp-block-search__button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: var(--uh-border); background: var(--uh-ink); color: #fff; font-weight: 700; }
.uh-after-article { margin: 40px 0; display: flex; flex-direction: column; gap: 20px; }
.uh-after-article .uh-widget { text-align: center; }
@media (max-width: 900px) { .uh-sidebar { position: static; margin-top: 0; } }

/* ---------- Full-width pages (Elementor, Spectra, wide blocks) ---------- */
.uh-content--full { margin-top: 0; font-size: 18px; }
.uh-content--full > *:not(.alignfull):not(.elementor):not([class*="uagb-"]):not(.wp-block-uagb-container) { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.uh-content--full > .alignfull { margin-left: 0; margin-right: 0; max-width: none; }
.uh-content--full .elementor img, .uh-content--full [class*="uagb-"] img { border: 0; border-radius: 0; }

/* ---------- Block content ---------- */
.uh-content .wp-block-button__link, .uh-content .wp-element-button {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
	border: var(--uh-border); background: var(--uh-ink); color: #fff; font-weight: 700; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.uh-content .wp-block-button__link:hover { transform: translate(-2px, -2px); box-shadow: var(--uh-shadow-sm); color: #fff; }
.uh-content .is-style-outline .wp-block-button__link { background: var(--uh-paper); color: var(--uh-ink); }
.uh-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.uh-content .wp-block-pullquote { margin: 2em 0; padding: 32px; border: 3px solid var(--uh-ink); border-radius: 32px; background: var(--uh-holo); text-align: center; }
.uh-content .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; background: none; }
.uh-content .wp-block-pullquote p { font-family: var(--uh-display); font-size: 26px; line-height: 1.3; font-weight: 800; }
.uh-content .wp-block-table { overflow-x: auto; }
.uh-content .wp-block-table table { border: var(--uh-border); border-radius: 16px; overflow: hidden; }
.uh-content .wp-block-table thead { background: var(--uh-bg); }
.uh-content .wp-block-separator { border: 0; height: 3px; background: var(--uh-holo); border-radius: 3px; opacity: 1; }
.uh-content .wp-block-image figcaption { text-align: center; }
.uh-content .wp-block-columns { gap: 28px; }
.uh-content .wp-block-group.has-background, .uh-content .wp-block-column.has-background { padding: 24px 28px; border-radius: 24px; }
.uh-content .wp-block-details { border: var(--uh-border); border-radius: 20px; padding: 14px 20px; background: var(--uh-paper); }
.uh-content .wp-block-details summary { font-weight: 700; cursor: pointer; }
.uh-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.uh-content .wp-block-file__button { border-radius: 999px; padding: 10px 18px; background: var(--uh-ink); color: #fff; text-decoration: none; }
.uh-content .wp-block-embed { margin: 1.8em 0; }
.uh-content .wp-block-embed__wrapper iframe { border-radius: 20px; }
.uh-content .wp-block-code { background: var(--uh-ink); color: #fff; padding: 20px; border-radius: 16px; }
.uh-content .wp-block-gallery img { border-radius: 16px; }
.uh-content .wp-block-quote.is-style-plain { background: none; border: 0; padding: 0; }
/* Table of contents blocks (Rank Math / Spectra / LuckyWP) */
.uh-content .wp-block-rank-math-toc-block, .uh-content .uagb-toc__wrap, .uh-content #ez-toc-container, .uh-content .lwptoc {
	border: var(--uh-border); border-radius: 24px; background: var(--uh-paper); padding: 20px 24px; box-shadow: var(--uh-shadow-sm);
}
.uh-content .wp-block-rank-math-toc-block h2 { margin-top: 0; font-size: 20px; }
.uh-content .wp-block-rank-math-toc-block a { text-decoration: none; }
/* Ads keep their own sizes */
.uh-content ins.adsbygoogle, .uh-after-article ins.adsbygoogle { display: block; margin: 1.6em auto; }

/* ---------- Elementor ---------- */
/* Pages built with Elementor get a clean area: no article typography, borders or spacing from the theme. */
.uh-elementor { width: 100%; font-size: 16px; line-height: 1.5; }
.uh-elementor::after { content: ""; display: table; clear: both; }
.elementor img { display: inline-block; height: auto; max-width: 100%; }
.elementor svg { display: inline-block; }
.elementor a:hover { color: inherit; }
.elementor-page .uh-archive-head { padding-bottom: 24px; }
/* Elementor's "Elementor Full Width" and "Canvas" templates also work: they bypass the theme's content wrappers. */


/* ---------- Footer ---------- */
.uh-footer { margin-top: 40px; background: var(--uh-paper); border-top: var(--uh-border); }
.uh-footer__grid {
	display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px 48px; padding-top: 56px; padding-bottom: 48px;
}
.uh-footer__about { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.uh-footer__about p { margin: 0; color: var(--uh-muted); max-width: 360px; font-size: 15px; line-height: 1.6; }
.uh-footer__about .uh-brand__logo { height: 52px; }
.uh-footer__label { margin: 4px 0 18px; font-family: var(--uh-body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uh-muted); }
.uh-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.uh-footer__links a { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--uh-ink); }
.uh-footer__links a:hover { color: #5B3FD6; text-decoration: underline; text-underline-offset: 3px; }
.uh-footer__extra { margin-top: 20px; }
.uh-footer .uh-widget { background: transparent; border: 0; padding: 0; font-size: 15px; }
.uh-dmca { display: inline-flex; }
.uh-dmca img { height: 36px; width: auto; }
.uh-footer__bottom { border-top: 1px solid var(--uh-line); background: var(--uh-bg); }
.uh-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--uh-muted); }
.uh-footer__copy a { color: var(--uh-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.uh-footer__badges { display: flex; align-items: center; gap: 12px; }
.uh-footer__badges img { max-height: 32px; width: auto; }
.uh-footer__badges .uh-widget { padding: 0; }
.uh-to-top { font-weight: 600; color: var(--uh-ink); white-space: nowrap; }
@media (max-width: 960px) { .uh-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .uh-footer__about { grid-column: 1 / -1; } }
@media (max-width: 600px) {
	.uh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; }
	.uh-footer__col:last-child { grid-column: 1 / -1; }
	.uh-footer__col:last-child .uh-footer__links { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }
}

/* Social icon buttons */
.uh-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.uh-social {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: var(--uh-border); border-radius: 12px; background: var(--uh-paper); color: var(--uh-ink);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.uh-social:hover, .uh-social:focus-visible { background: var(--uh-yellow); color: var(--uh-ink); transform: translate(-2px, -2px); box-shadow: var(--uh-shadow-sm); }
.uh-social__icon { width: 20px; height: 20px; }
@media (max-width: 600px) { .uh-socials { gap: 8px; } .uh-social { width: 40px; height: 40px; border-radius: 10px; } }
