@font-face {
	font-family: "Runama Arad";
	src: url("../fonts/AradVF.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
}

:root {
	color-scheme: dark;
	--font-arad: "Runama Arad";
	--rf-bg: var(--color-bg);
	--rf-surface: var(--color-surface);
	--rf-surface-soft: var(--color-surface-2);
	--rf-border: var(--color-border);
	--rf-text: var(--color-text);
	--rf-muted: var(--color-text-muted);
	--rf-primary: var(--color-primary);
	--rf-primary-dark: var(--color-primary);
	--rf-primary-soft: var(--color-surface-2);
	--rf-green: var(--color-buy);
	--rf-shadow: var(--shadow-card);
	--rf-radius: var(--gogo-radius-xl);
	font-family: var(--font-sans), Tahoma, sans-serif;
}

:root[data-theme="light"] {
	color-scheme: light;
}

:root[data-theme="dark"] {
	color-scheme: dark;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	min-width: 320px;
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans), "Runama Arad", Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
}

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

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

button {
	color: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1 0 auto;
	padding-bottom: 32px;
}

.rf-container {
	width: min(1160px, calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid var(--rf-border);
	background: color-mix(in srgb, var(--rf-surface) 94%, transparent);
	backdrop-filter: blur(16px);
}

.header-inner {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
	display: grid;
	grid-template-columns: auto minmax(180px, 1fr) auto;
	align-items: center;
	gap: 20px 30px;
	padding-block: 13px;
}

.site-branding {
	min-width: 150px;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}

.brand-logo {
	width: auto;
	height: 36px;
	object-fit: contain;
}

.brand-logo-dark {
	display: none;
}

:root[data-theme="dark"] .brand-logo-light {
	display: none;
}

:root[data-theme="dark"] .brand-logo-dark {
	display: block;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) .brand-logo-light {
		display: none;
	}

	:root:not([data-theme]) .brand-logo-dark {
		display: block;
	}
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

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

.header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.header-search {
	width: min(100%, 360px);
}

.search-form {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 4px 5px 4px 11px;
	border: 1px solid var(--rf-border);
	border-radius: 12px;
	background: var(--rf-surface-soft);
}

.search-label {
	display: block;
	min-width: 0;
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 38px;
	padding: 5px 10px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--rf-text);
	font-size: 13px;
}

.search-field::placeholder {
	color: var(--rf-muted);
	opacity: 1;
}

.search-submit,
.theme-toggle,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rf-border);
	background: var(--rf-surface);
	color: var(--rf-muted);
	cursor: pointer;
	transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.search-submit {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	color: var(--rf-primary);
	font-size: 23px;
	line-height: 1;
}

.search-submit:hover,
.theme-toggle:hover,
.menu-toggle:hover {
	border-color: var(--rf-primary);
	color: var(--rf-primary);
}

.theme-toggle {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	font-size: 20px;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	font-size: 18px;
}

.main-navigation {
	grid-column: 1 / -1;
	border-top: 1px solid var(--rf-border);
	padding-top: 9px;
}

.main-navigation .menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a {
	display: inline-block;
	padding: 5px 0;
	color: var(--rf-muted);
	font-size: 13px;
	font-weight: 600;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--rf-primary);
}

.hero-section {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(250px, .8fr);
	align-items: stretch;
	gap: 24px;
	margin-top: 34px;
	padding: 30px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--rf-primary) 18%, var(--rf-border));
	border-radius: 24px;
	background:
		radial-gradient(ellipse at 12% 8%, rgba(1, 120, 254, .12), transparent 44%),
		linear-gradient(130deg, var(--rf-surface), var(--rf-primary-soft));
}

.hero-copy {
	align-self: center;
	padding: 8px 2px;
}

.eyebrow,
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 9px;
	color: var(--rf-primary);
	font-size: 12px;
	font-weight: 700;
}

.eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rf-green);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--rf-green) 15%, transparent);
}

.hero-copy h1 {
	max-width: 700px;
	margin: 0;
	font-size: clamp(30px, 4.2vw, 48px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -.035em;
}

.hero-copy > p {
	max-width: 660px;
	margin: 14px 0 22px;
	color: var(--rf-muted);
	font-size: 15px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 45px;
	padding: 8px 18px;
	border: 1px solid transparent;
	border-radius: 11px;
	font-size: 13px;
	font-weight: 700;
	transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button-primary {
	background: var(--rf-primary);
	color: #fff;
}

.button-primary:hover {
	background: var(--rf-primary-dark);
	color: #fff;
}

.hero-side {
	position: relative;
	align-self: stretch;
	min-height: 195px;
	padding: 23px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--rf-primary) 20%, var(--rf-border));
	border-radius: 18px;
	background: color-mix(in srgb, var(--rf-surface) 78%, transparent);
}

.hero-side::after {
	position: absolute;
	inset-inline-end: -32px;
	bottom: -72px;
	width: 190px;
	height: 190px;
	border: 1px solid color-mix(in srgb, var(--rf-primary) 20%, transparent);
	border-radius: 50%;
	content: "";
	box-shadow: 0 0 0 22px color-mix(in srgb, var(--rf-primary) 5%, transparent), 0 0 0 45px color-mix(in srgb, var(--rf-primary) 4%, transparent);
}

.hero-side-icon {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	margin-bottom: 15px;
	border-radius: 12px;
	background: var(--rf-primary-soft);
	color: var(--rf-primary);
	font-size: 22px;
	font-weight: 700;
}

.hero-side-label {
	margin: 0;
	color: var(--rf-muted);
	font-size: 12px;
}

.hero-side-title {
	margin: 4px 0;
	font-size: 19px;
	font-weight: 750;
}

.hero-side-copy {
	max-width: 280px;
	margin: 6px 0 0;
	color: var(--rf-muted);
	font-size: 12px;
	line-height: 1.8;
}

.home-section {
	margin-top: 52px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 17px;
}

.section-heading .section-kicker {
	margin-bottom: 1px;
}

.section-heading h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.45;
}

.section-description {
	margin: 0;
	color: var(--rf-muted);
	font-size: 12px;
}

.market-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.market-card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 86px;
	padding: 14px;
	border: 1px solid var(--rf-border);
	border-radius: 15px;
	background: var(--rf-surface);
	box-shadow: 0 5px 18px rgba(28, 46, 72, .025);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a.market-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--rf-primary) 45%, var(--rf-border));
	box-shadow: var(--rf-shadow);
}

.market-card.is-pending {
	background: var(--rf-surface-soft);
}

.market-symbol {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	border-radius: 13px;
	background: var(--rf-primary-soft);
	color: var(--rf-primary);
	font-size: 19px;
	font-weight: 750;
}

.tone-gold .market-symbol { background: #fff5d9; color: #ba8416; }
.tone-violet .market-symbol { background: #f1eaff; color: #7548cc; }
.tone-green .market-symbol { background: #e5f7ef; color: #18845e; }
.tone-orange .market-symbol { background: #fff0e4; color: #c8681b; }
.tone-teal .market-symbol { background: #e1f5f4; color: #14817a; }
.tone-rose .market-symbol { background: #ffedf1; color: #c54f6b; }

:root[data-theme="dark"] .tone-gold .market-symbol { background: #3e3522; color: #edc56d; }
:root[data-theme="dark"] .tone-violet .market-symbol { background: #302445; color: #c4a7ff; }
:root[data-theme="dark"] .tone-green .market-symbol { background: #193a30; color: #77dbb2; }
:root[data-theme="dark"] .tone-orange .market-symbol { background: #3d2b20; color: #f2ac70; }
:root[data-theme="dark"] .tone-teal .market-symbol { background: #193a3a; color: #7bd7d2; }
:root[data-theme="dark"] .tone-rose .market-symbol { background: #3e2730; color: #ee9caf; }

.market-card-copy {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
}

.market-card-copy strong {
	overflow: hidden;
	font-size: 14px;
	font-weight: 750;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.market-card-copy > span {
	color: var(--rf-muted);
	font-size: 11px;
}

.market-arrow {
	color: var(--rf-muted);
	font-size: 15px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rf-primary);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.featured-article {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	min-height: 290px;
	overflow: hidden;
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
	box-shadow: var(--rf-shadow);
}

.featured-image,
.article-card-image {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--rf-primary-soft);
}

.featured-image {
	min-height: 290px;
}

.featured-image img,
.article-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.featured-image:hover img,
.article-card-image:hover img {
	transform: scale(1.025);
}

.featured-copy {
	align-self: center;
	padding: 28px clamp(22px, 4vw, 46px);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 16px;
	color: var(--rf-muted);
	font-size: 11px;
}

.featured-copy h3 {
	margin: 9px 0 8px;
	font-size: clamp(19px, 2.4vw, 27px);
	font-weight: 800;
	line-height: 1.55;
}

.featured-copy > p {
	margin: 0 0 18px;
	color: var(--rf-muted);
	font-size: 13px;
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
	margin-top: 20px;
}

.article-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--rf-border);
	border-radius: 16px;
	background: var(--rf-surface);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.article-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--rf-primary) 25%, var(--rf-border));
	box-shadow: var(--rf-shadow);
}

.article-card-image {
	height: 180px;
}

.article-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px 17px 17px;
}

.article-category {
	display: inline-flex;
	align-items: center;
	margin-bottom: 6px;
	padding: 2px 9px;
	border-radius: 99px;
	background: var(--rf-primary-soft);
	color: var(--rf-primary);
	font-size: 10px;
	font-weight: 700;
}

.article-card h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.65;
}

.article-excerpt {
	display: -webkit-box;
	min-height: 48px;
	margin: 7px 0 13px;
	overflow: hidden;
	color: var(--rf-muted);
	font-size: 12px;
	line-height: 1.9;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.article-card .post-meta {
	margin-top: auto;
}

.image-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	min-height: 160px;
	place-items: center;
	background:
		radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--rf-primary) 22%, transparent), transparent 32%),
		linear-gradient(135deg, var(--rf-primary-soft), var(--rf-surface-soft));
	color: color-mix(in srgb, var(--rf-primary) 55%, transparent);
}

.image-placeholder span {
	font-size: 58px;
	font-weight: 800;
	opacity: .55;
}

.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 230px;
	padding: 28px;
	border: 1px dashed var(--rf-border);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
	text-align: center;
}

.empty-state-icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 15px;
	background: var(--rf-primary-soft);
	color: var(--rf-primary);
	font-size: 21px;
}

.empty-state h2,
.empty-state h3 {
	margin: 13px 0 4px;
	font-size: 17px;
}

.empty-state p {
	margin: 0 0 12px;
	color: var(--rf-muted);
	font-size: 13px;
}

.archive-page,
.content-page,
.single-page {
	padding-top: 44px;
}

.archive-header {
	margin-bottom: 26px;
	padding: 23px 26px;
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
}

.archive-header h1 {
	margin: 0;
	font-size: clamp(25px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.5;
}

.archive-description {
	max-width: 760px;
	margin-top: 7px;
	color: var(--rf-muted);
	font-size: 14px;
}

.archive-description > :first-child {
	margin-top: 0;
}

.search-header .search-form {
	max-width: 520px;
	margin-top: 17px;
}

.content-page {
	max-width: 920px;
}

.entry-card {
	padding: clamp(22px, 5vw, 52px);
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
	box-shadow: var(--rf-shadow);
}

.entry-header {
	max-width: 820px;
	margin: 0 auto 22px;
}

.entry-header h1 {
	margin: 0 0 12px;
	font-size: clamp(27px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.55;
}

.entry-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 9px;
}

.entry-meta {
	gap: 8px 18px;
}

.entry-featured-image {
	max-width: 900px;
	margin: 0 auto 30px;
	overflow: hidden;
	border-radius: 16px;
}

.entry-featured-image img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

.entry-content {
	max-width: 820px;
	margin-inline: auto;
	font-size: 16px;
	line-height: 2;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.7em 0 .55em;
	font-weight: 800;
	line-height: 1.5;
}

.entry-content h2 { font-size: 25px; }
.entry-content h3 { font-size: 21px; }
.entry-content h4 { font-size: 18px; }

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content table {
	margin-block: 1em;
}

.entry-content ul,
.entry-content ol {
	padding-inline-start: 1.5em;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content a {
	color: var(--rf-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 15px 20px;
	border-inline-start: 3px solid var(--rf-primary);
	border-radius: 8px;
	background: var(--rf-surface-soft);
	color: var(--rf-muted);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--rf-border);
	text-align: start;
}

.entry-content th {
	background: var(--rf-surface-soft);
	font-weight: 750;
}

.entry-content .alignwide {
	width: min(100% + 140px, 1060px);
	max-width: none;
	margin-inline: max(-70px, calc((100% - 1060px) / 2));
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.entry-content iframe,
.entry-content video {
	max-width: 100%;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 28px auto 0;
	max-width: 820px;
	color: var(--rf-muted);
	font-size: 12px;
}

.entry-tags a {
	padding: 3px 9px;
	border: 1px solid var(--rf-border);
	border-radius: 99px;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin: 18px 0;
	padding: 14px 18px;
	border: 1px solid var(--rf-border);
	border-radius: 13px;
	background: var(--rf-surface);
	color: var(--rf-primary);
	font-size: 12px;
	font-weight: 700;
}

.pagination,
.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.page-numbers {
	display: inline-grid;
	min-width: 38px;
	height: 38px;
	place-items: center;
	padding-inline: 8px;
	border: 1px solid var(--rf-border);
	border-radius: 10px;
	background: var(--rf-surface);
	color: var(--rf-text);
	font-size: 12px;
}

.page-numbers.current {
	border-color: var(--rf-primary);
	background: var(--rf-primary);
	color: #fff;
}

.home-page-content {
	margin-top: 42px;
	padding: 26px;
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
}

.comments-area {
	margin-top: 24px;
	padding: 24px;
	border: 1px solid var(--rf-border);
	border-radius: var(--rf-radius);
	background: var(--rf-surface);
}

.comments-title {
	margin-top: 0;
	font-size: 20px;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-inline-start: 24px;
	list-style: none;
}

.comment-body {
	margin-block: 12px;
	padding: 14px;
	border: 1px solid var(--rf-border);
	border-radius: 12px;
}

.comment-meta,
.comment-author {
	font-size: 12px;
}

.comment-content {
	font-size: 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 700;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--rf-border);
	border-radius: 10px;
	background: var(--rf-surface-soft);
	color: var(--rf-text);
}

.comment-form .submit {
	padding: 10px 17px;
	border: 0;
	border-radius: 10px;
	background: var(--rf-primary);
	color: #fff;
	cursor: pointer;
}

.not-found-page {
	display: grid;
	min-height: 55vh;
	align-items: center;
	padding-block: 40px;
}

.not-found-code {
	color: var(--rf-primary);
	font-size: 54px;
	font-weight: 850;
	line-height: 1;
}

.not-found-page .search-form {
	max-width: 440px;
	margin: 15px auto;
}

.site-footer {
	margin-top: auto;
	border-top: 1px solid var(--rf-border);
	background: var(--rf-surface);
}

.footer-inner {
	width: min(1160px, calc(100% - 40px));
	margin-inline: auto;
	padding: 34px 0 18px;
}

.footer-about {
	max-width: 420px;
}

.footer-brand {
	font-size: 18px;
	font-weight: 800;
}

.footer-about p {
	margin: 5px 0 0;
	color: var(--rf-muted);
	font-size: 12px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	margin-top: 22px;
}

.footer-widget-title {
	font-size: 14px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding-top: 14px;
	border-top: 1px solid var(--rf-border);
	color: var(--rf-muted);
	font-size: 11px;
}

.footer-bottom p {
	margin: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 17px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: var(--rf-muted);
}

.footer-menu a:hover {
	color: var(--rf-primary);
}

.alignleft {
	float: left;
	margin: .4em 0 1em 1.5em;
}

.alignright {
	float: right;
	margin: .4em 1.5em 1em 0;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	color: var(--rf-muted);
	font-size: 12px;
	text-align: center;
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--rf-primary) 65%, white);
	outline-offset: 3px;
}

@media (max-width: 940px) {
	.header-inner {
		grid-template-columns: auto 1fr auto;
		gap: 10px 16px;
	}

	.header-search {
		width: min(100%, 300px);
	}

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

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

@media (max-width: 700px) {
	.rf-container,
	.footer-inner {
		width: min(100% - 28px, 560px);
	}

	.header-inner {
		width: calc(100% - 28px);
		grid-template-columns: auto 1fr auto;
		gap: 8px;
		padding-block: 10px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-branding {
		min-width: 0;
	}

	.brand-logo {
		height: 31px;
	}

	.custom-logo {
		max-height: 38px;
	}

	.header-tools {
		gap: 6px;
	}

	.header-search {
		display: none;
	}

	.theme-toggle {
		width: 39px;
		height: 39px;
	}

	.main-navigation {
		grid-column: 1 / -1;
		padding-top: 10px;
	}

	.js .main-navigation {
		display: none;
	}

	.js .main-navigation.is-open {
		display: block;
	}

	.main-navigation .menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 12px;
	}

	.main-navigation a {
		width: 100%;
		padding: 8px 4px;
	}

	.hero-section {
		grid-template-columns: 1fr;
		gap: 17px;
		margin-top: 18px;
		padding: 22px;
		border-radius: 19px;
	}

	.hero-side {
		min-height: 0;
		padding: 18px;
	}

	.hero-side-icon {
		margin-bottom: 9px;
	}

	.home-section {
		margin-top: 38px;
	}

	.section-heading {
		align-items: flex-start;
	}

	.section-description {
		display: none;
	}

	.market-grid {
		gap: 9px;
	}

	.market-card {
		gap: 9px;
		min-height: 74px;
		padding: 10px;
	}

	.market-symbol {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
		border-radius: 11px;
		font-size: 17px;
	}

	.market-card-copy strong {
		font-size: 12px;
	}

	.market-card-copy > span {
		font-size: 10px;
	}

	.featured-article {
		grid-template-columns: 1fr;
	}

	.featured-image {
		min-height: 220px;
		max-height: 280px;
	}

	.featured-copy {
		padding: 20px;
	}

	.article-grid {
		gap: 11px;
	}

	.article-card-image {
		height: 135px;
	}

	.article-card-body {
		padding: 12px;
	}

	.article-card h3 {
		font-size: 13px;
	}

	.article-excerpt {
		display: none;
	}

	.archive-page,
	.content-page,
	.single-page {
		padding-top: 24px;
	}

	.archive-header {
		padding: 18px;
	}

	.entry-card {
		padding: 20px 17px;
	}

	.entry-content {
		font-size: 15px;
	}

	.entry-content .alignwide {
		width: 100%;
		margin-inline: 0;
	}

	.home-page-content {
		padding: 18px;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 420px) {
	.hero-copy h1 {
		font-size: 29px;
	}

	.article-grid {
		grid-template-columns: 1fr;
	}

	.article-card {
		display: grid;
		grid-template-columns: 118px 1fr;
		min-height: 125px;
	}

	.article-card-image {
		height: 100%;
		min-height: 125px;
	}

	.article-card-body {
		padding: 11px;
	}

	.article-card .post-meta {
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* Runama's original Gogo market shell and WordPress integration styles. */
.runama-custom-logo {
	width: auto;
	max-width: 180px;
	height: 28px;
	object-fit: contain;
}

.gogo-public-nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gogo-public-actions button,
.runama-mobile-menu {
	min-height: 36px;
	border: 1px solid var(--color-border);
	border-radius: var(--gogo-radius-xs);
	background: transparent;
	color: var(--color-text-muted);
	font: inherit;
	font-size: 12px;
	line-height: 1.4;
	padding: 7px 10px;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.gogo-public-actions button:hover,
.runama-mobile-menu:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.gogo-public-actions .theme-toggle {
	width: auto;
	height: auto;
	border-radius: var(--gogo-radius-xs);
	font-size: 12px;
}

.runama-mobile-menu {
	display: none;
}

.runama-search-form {
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
}

.runama-search-input {
	width: 100%;
	min-width: 0;
	min-height: 40px;
	border: 1px solid var(--color-border);
	border-radius: var(--gogo-radius-xs);
	padding: 8px 12px;
	background: var(--color-surface-2);
	color: var(--color-text);
	font-size: 13px;
	outline: none;
}

.runama-search-input:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.runama-search-submit {
	width: 38px;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--color-border);
	border-radius: var(--gogo-radius-xs);
	background: var(--color-surface);
	color: var(--color-text-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.runama-search-submit:hover {
	color: var(--color-primary);
	border-color: var(--color-primary);
}

.runama-market-kicker {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 600;
}

.runama-market-hero h1 {
	margin-bottom: 0;
	color: var(--color-text);
}

.runama-market-hero-link {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	border: 1px solid var(--color-border);
	border-radius: var(--gogo-radius-xs);
	padding: 7px 12px;
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.runama-market-hero-link:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.home-page .home-section {
	margin-top: 0;
}

.home-page .gogo-quick-tile {
	min-width: 0;
	color: var(--color-text);
}

.home-page .gogo-quick-tile:hover {
	color: var(--color-text);
	box-shadow: var(--shadow-card), var(--shadow-glow);
}

.home-page .gogo-quick-icon svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 1023px) {
	.gogo-public-header {
		padding-inline: 8px;
	}

	.gogo-public-header-inner {
		flex-wrap: wrap;
		gap: 8px 10px;
		padding: 10px 12px;
	}

	.gogo-public-search {
		order: 3;
		flex: 1 0 100%;
		max-width: none;
	}

	.runama-mobile-menu {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.gogo-public-nav {
		display: none;
		order: 4;
		flex: 1 0 100%;
		align-items: stretch;
		margin-inline-start: 0;
	}

	.gogo-public-nav.is-open {
		display: flex;
	}

	.gogo-public-nav .menu {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}

	.gogo-public-nav a {
		display: block;
	}
}

@media (max-width: 600px) {
	.home-page .runama-market-hero h1 {
		font-size: 1.65rem;
	}

	.featured-article {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

.runama-market-page {
	padding-bottom: 24px;
}

.runama-market-page h1 {
	margin: 0;
	color: var(--color-text);
}

.runama-share-button,
.runama-market-pagination button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	border: 1px solid var(--color-border);
	border-radius: var(--gogo-radius-xs);
	padding: 7px 11px;
	background: transparent;
	color: var(--color-text-muted);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.runama-share-button:hover,
.runama-market-pagination button:hover:not(:disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.runama-market-stat {
	border-color: var(--color-border);
	background: var(--color-surface);
	box-shadow: var(--shadow-card);
}

.runama-market-board {
	min-width: 0;
}

.runama-market-toolbar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 14px;
}

.runama-market-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.runama-market-filter {
	min-height: 34px;
	border: 1px solid transparent;
	border-radius: var(--gogo-radius-xs);
	padding: 6px 11px;
	background: var(--color-bg);
	color: var(--color-text-muted);
	font: inherit;
	font-size: 12px;
	font-weight: 550;
	cursor: pointer;
	transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.runama-market-filter:hover {
	border-color: var(--color-border);
	color: var(--color-text);
}

.runama-market-filter.is-active {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: var(--color-primary-contrast);
	box-shadow: var(--shadow-glow);
}

.runama-market-filter-search {
	width: 100%;
	min-height: 38px;
	border: 1px solid var(--color-border);
	border-radius: var(--gogo-radius-xs);
	padding: 7px 11px;
	background: var(--color-surface);
	color: var(--color-text);
	font-size: 13px;
	outline: none;
}

.runama-market-filter-search:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.runama-market-count {
	margin-bottom: 8px;
}

.runama-market-table-wrap {
	border-color: var(--color-border);
	background: var(--color-surface);
	box-shadow: var(--shadow-card);
}

.runama-market-table {
	min-width: 680px;
	border-collapse: collapse;
	text-align: start;
}

.runama-market-table-wrap.is-empty .runama-market-table {
	min-width: 0;
}

.runama-ui-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

.runama-market-table thead {
	position: static;
	background: var(--color-surface-2);
	color: var(--color-text-muted);
}

.runama-market-table th {
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 600;
	text-align: start;
	white-space: nowrap;
}

.runama-market-table th button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.runama-market-table th button:hover {
	color: var(--color-primary);
}

.runama-market-table td {
	padding: 11px 14px;
	border-top: 1px solid var(--color-border);
	vertical-align: middle;
}

.runama-market-table tbody tr[data-market-row]:hover {
	background: color-mix(in srgb, var(--color-primary) 5%, var(--color-surface));
}

.runama-market-asset-link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: var(--color-text);
}

.runama-market-asset-link:hover {
	color: var(--color-primary);
}

.runama-market-asset-name {
	font-weight: 600;
}

.runama-market-symbol,
.runama-market-muted {
	color: var(--color-text-muted);
	font-size: 11px;
}

.runama-market-number {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.runama-market-number.is-positive {
	color: var(--color-buy);
}

.runama-market-number.is-negative {
	color: var(--color-sell);
}

.runama-market-signal {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 3px 9px;
	background: var(--color-insufficient-bg);
	color: var(--color-insufficient);
	font-size: 11px;
	font-weight: 650;
	white-space: nowrap;
}

.runama-market-signal.is-buy {
	background: var(--color-buy-bg);
	color: var(--color-buy);
}

.runama-market-signal.is-sell {
	background: var(--color-sell-bg);
	color: var(--color-sell);
}

.runama-market-signal.is-wait {
	background: var(--color-wait-bg);
	color: var(--color-wait);
}

.runama-market-empty-state {
	max-width: 520px;
	margin: 0 auto;
	padding: 36px 18px;
	color: var(--color-text);
	text-align: center;
}

.runama-market-empty-state p {
	margin: 7px 0 0;
	color: var(--color-text-muted);
	font-size: 13px;
}

.runama-market-no-results td {
	padding: 28px 16px;
	color: var(--color-text-muted);
	text-align: center;
}

.runama-market-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 14px;
	color: var(--color-text-muted);
	font-size: 12px;
}

.runama-market-pagination[hidden] {
	display: none;
}

.runama-market-pagination button:disabled {
	opacity: .45;
	cursor: default;
}

@media (min-width: 640px) {
	.runama-market-toolbar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.runama-market-filter-search {
		width: 224px;
		flex: 0 0 224px;
	}
}

@media (max-width: 600px) {
	.runama-market-table {
		min-width: 620px;
	}

	.runama-market-page > .flex.items-start {
		align-items: center;
	}
}

/* Introduction, independent editorial index and readable news pages. */
.runama-home { padding-block: clamp(32px,5vw,68px) 46px; }
.runama-intro { max-width:780px; margin-bottom:32px; }
.runama-intro h1 { font-size:clamp(30px,4vw,48px); line-height:1.5; margin:6px 0 12px; }
.intro-description { font-size:16px; line-height:2; color:var(--rf-muted); max-width:650px; }
.destination-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.destination-card { display:flex; flex-direction:column; align-items:flex-start; padding:28px; border:1px solid var(--rf-border); border-radius:20px; background:var(--rf-surface); min-width:0; transition:border-color .2s,transform .2s; }
.destination-card:hover { border-color:var(--rf-primary); transform:translateY(-3px); }
.destination-icon { display:grid; place-items:center; width:54px; height:54px; border-radius:16px; background:var(--rf-primary-soft); color:var(--rf-primary); margin-bottom:24px; }
.destination-icon svg { width:28px; height:28px; }
.destination-card h2 { font-size:23px; margin:5px 0 10px; }
.destination-card p { font-size:14px; color:var(--rf-muted); line-height:2; margin:0 0 24px; }
.destination-enter { display:flex; align-items:center; gap:8px; color:var(--rf-primary); font-size:13px; margin-top:auto; }
.home-topics { padding-top:32px; }
.home-topics h2 { font-size:17px; margin:0 0 16px; }
.topic-links { display:flex; flex-wrap:wrap; gap:9px; }
.topic-links a { display:inline-flex; border:1px solid var(--rf-border); border-radius:10px; background:var(--rf-surface); padding:9px 14px; font-size:13px; }
.topic-links a:hover, .topic-links a[aria-current="page"] { background:var(--rf-primary); color:#fff; border-color:var(--rf-primary); }
.runama-blog { padding-block:36px 50px; }
.blog-heading h1 { font-size:clamp(28px,4vw,40px); margin:0 0 10px; line-height:1.5; }
.blog-heading p:not(.section-kicker) { color:var(--rf-muted); font-size:15px; }
.blog-search { display:flex; gap:10px; max-width:620px; margin:24px 0; }
.blog-search input { flex:1; min-width:0; padding:12px 16px; border:1px solid var(--rf-border); background:var(--rf-surface); color:var(--rf-text); border-radius:12px; font:inherit; }
.blog-search button { padding:10px 20px; border:0; border-radius:12px; color:#fff; background:var(--rf-primary); font:inherit; cursor:pointer; }
.blog-results-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:30px; border-top:1px solid var(--rf-border); padding-top:24px; }
.blog-results-heading h2 { font-size:20px; margin:0; }
.blog-results-heading span { color:var(--rf-muted); font-size:12px; }
.blog-grid .article-card-image { display:block; height:170px; background:var(--rf-surface-soft); }
.blog-grid .article-card-body { padding:20px; }
.blog-grid .article-card h3 { font-size:18px; line-height:1.75; }
.blog-grid .article-excerpt { font-size:13px; -webkit-line-clamp:3; min-height:0; }
.blog-grid .article-card .post-meta { padding-top:14px; }
.blog-pagination ul { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; list-style:none; margin:32px 0 0; padding:0; }
.blog-pagination a,.blog-pagination span { display:block; min-width:40px; padding:9px 14px; border:1px solid var(--rf-border); border-radius:10px; background:var(--rf-surface); text-align:center; }
.blog-pagination .current { background:var(--rf-primary); color:#fff; }
.news-reader { max-width:980px; padding-top:26px; }
.news-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:12px; margin-bottom:20px; color:var(--rf-muted); }
.news-breadcrumb a:hover { color:var(--rf-primary); }
.news-reader .entry-card { padding:clamp(20px,4vw,40px); box-shadow:none; }
.news-reader .entry-header h1 { font-size:clamp(24px,3vw,34px); line-height:1.7; margin-bottom:18px; overflow-wrap:anywhere; }
.news-reader .entry-meta { font-size:12px; line-height:1.8; }
.news-reader .entry-featured-image { max-width:780px; margin-bottom:26px; }
.news-reader .entry-featured-image img { display:block; width:100%; max-height:320px; object-fit:cover; }
.news-reader .entry-content { max-width:740px; font-size:17px; line-height:2.15; overflow-wrap:anywhere; }
.news-reader .entry-content img { max-width:100%; height:auto; }
.news-reader .entry-content figure { max-width:100%; margin-inline:0; }
.news-reader .entry-content table { display:block; max-width:100%; overflow-x:auto; }
.news-reader .entry-content details { border:1px solid var(--rf-border); padding:14px 18px; border-radius:12px; font-size:14px; }
.news-reader .entry-content summary { cursor:pointer; font-weight:700; }
.related-news { margin-block:32px; }
.related-news .article-card-image { display:block; height:150px; }
.news-reader .comment-respond { max-width:780px; margin-inline:auto; }
@media(max-width:760px) {
 .destination-grid { grid-template-columns:1fr; }
 .destination-card { padding:22px; }
 .destination-icon { margin-bottom:14px; }
 .runama-home { padding-top:28px; }
 .blog-grid { grid-template-columns:1fr; }
 .blog-grid .article-card-image { height:190px; }
 .news-reader .entry-content { font-size:16px; }
 .news-reader .entry-featured-image img { max-height:240px; }
 .news-reader .article-grid { grid-template-columns:1fr; }
 .topic-links a { padding:8px 11px; font-size:12px; }
}

.destination-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1050px){.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.destination-grid{grid-template-columns:1fr;}}
