:root {
	--ocm-header: #111111;
	--ocm-accent: #d62828;
	--ocm-accent-hover: #ef4444;
	--ocm-bg: #ffffff;
	--ocm-surface: #f8f9fa;
	--ocm-border: #e5e7eb;
	--ocm-text: #1f2937;
	--ocm-muted: #6b7280;
	--ocm-heading: "Space Grotesk", system-ui, sans-serif;
	--ocm-body: Inter, system-ui, sans-serif;
	--ocm-code: "JetBrains Mono", Consolas, monospace;
	--ocm-container: 1280px;
	--ocm-article: 820px;
	--ocm-radius: 8px;
	--ocm-shadow-sm: 0 20px 45px rgba(31, 41, 55, 0.12);
	--ocm-shadow-md: 0 12px 40px rgba(17, 17, 17, 0.18);
	--ocm-shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
	--ocm-space-xs: clamp(12px, 1.5vw, 16px);
	--ocm-space-sm: clamp(20px, 2.5vw, 28px);
	--ocm-space-md: clamp(32px, 4vw, 48px);
	--ocm-space-section: clamp(40px, 6vw, 64px);
	--ocm-space-section-gap: clamp(24px, 3vw, 32px);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ocm-bg);
	color: var(--ocm-text);
	font-family: var(--ocm-body);
	font-size: 17px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

body.search-open,
body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 150ms ease;
}

a:hover {
	color: var(--ocm-accent);
}

img,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid rgba(214, 40, 40, 0.35);
	outline-offset: 3px;
}

.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;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 16px;
	left: 16px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--ocm-header);
	color: #fff;
}

.ocm-container {
	width: min(100% - 32px, var(--ocm-container));
	margin-inline: auto;
}

.ocm-reading-progress {
	position: fixed;
	z-index: 1001;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: transparent;
}

.ocm-reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ocm-accent);
}

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	background: rgba(17, 17, 17, 0.98);
	color: #fff;
	transition: background 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home .site-header:not(.is-scrolled) {
	position: fixed;
	width: 100%;
	background: rgba(17, 17, 17, 0.18);
}

.site-header.is-scrolled {
	box-shadow: var(--ocm-shadow-md);
}

.header-inner {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto minmax(120px, 1fr);
	gap: 24px;
	align-items: stretch;
	min-height: 84px;
	transition: min-height 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .header-inner {
	min-height: 64px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

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

.custom-logo {
	max-height: 62px;
	width: auto;
	transition: max-height 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .custom-logo {
	max-height: 46px;
}

.site-branding-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.site-logo-text {
	font-family: var(--ocm-heading);
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.01em;
	transition: font-size 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .site-logo-text {
	font-size: 34px;
}

.site-logo-text span {
	color: #fff;
}

.site-tagline {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-navigation {
	display: flex;
	align-items: center;
	min-width: 0;
}

.primary-menu,
.mobile-menu,
.footer-menu {
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	align-items: center;
	height: 100%;
	gap: 8px;
}

.primary-menu > li {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.primary-menu .menu-link {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 20px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14.5px;
	font-weight: 800;
	letter-spacing: 0.015em;
	white-space: nowrap;
	transition: color 150ms ease;
}

.primary-menu .menu-link:hover,
.primary-menu .menu-link:focus-visible {
	color: #fff;
}

.primary-menu .menu-link:focus-visible {
	box-shadow: inset 0 -2px 0 var(--ocm-accent);
}

.primary-menu .current-menu-item > .menu-link,
.primary-menu .current-menu-ancestor > .menu-link {
	color: #fff;
}

.primary-menu .current-menu-item > .menu-link::after,
.primary-menu .current-menu-ancestor > .menu-link::after {
	position: absolute;
	right: 14px;
	bottom: 0;
	left: 14px;
	height: 2px;
	background: var(--ocm-accent);
	content: "";
}

.primary-menu li.menu-item-has-children > .menu-link::after {
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 150ms ease;
	content: "";
	flex-shrink: 0;
}

.primary-menu li.menu-item-has-children:hover > .menu-link::after,
.primary-menu li.menu-item-has-children:focus-within > .menu-link::after {
	transform: rotate(-135deg);
}

/* Dropdown panels (2nd level and deeper) */
.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1100;
	display: flex;
	min-width: 240px;
	max-width: 320px;
	padding: 10px;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ocm-border);
	border-radius: 10px;
	box-shadow: var(--ocm-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 200ms cubic-bezier(0.16, 1, 0.3, 1), transform 200ms cubic-bezier(0.16, 1, 0.3, 1), visibility 200ms;
}

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

/* Prevent the last couple of top-level dropdowns from overflowing past
   the right edge of the viewport; anchor them to the right instead. */
.primary-menu > li:nth-last-child(-n+2) > .sub-menu {
	right: 0;
	left: auto;
}

.primary-menu .sub-menu li {
	position: relative;
}

.primary-menu .sub-menu .menu-link {
	height: auto;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--ocm-text);
	font-size: 14px;
	font-weight: 600;
}

.primary-menu .sub-menu .menu-link:hover,
.primary-menu .sub-menu .menu-link:focus-visible {
	background: var(--ocm-surface);
	color: var(--ocm-accent);
}

.primary-menu .sub-menu .menu-link:focus-visible {
	box-shadow: inset 2px 0 0 var(--ocm-accent);
}

/* Third level and deeper flies out to the side of its parent panel */
.primary-menu .sub-menu .sub-menu {
	top: -8px;
	left: 100%;
	margin-left: 6px;
}

/* When the parent panel itself is right-anchored (last two top-level
   items), flip third-level flyouts to open leftward instead, so they
   can't run off the edge of the screen. */
.primary-menu > li:nth-last-child(-n+2) .sub-menu .sub-menu {
	right: 100%;
	left: auto;
	margin-right: 6px;
	margin-left: 0;
}

.primary-menu .sub-menu li.menu-item-has-children > .menu-link::after {
	position: absolute;
	right: 12px;
	transform: rotate(-45deg);
}

.primary-menu .sub-menu li.menu-item-has-children:hover > .menu-link::after,
.primary-menu .sub-menu li.menu-item-has-children:focus-within > .menu-link::after {
	transform: rotate(135deg);
}

.primary-menu > li:nth-last-child(-n+2) .sub-menu li.menu-item-has-children > .menu-link::after {
	right: auto;
	left: 12px;
	transform: rotate(135deg);
}

.primary-menu > li:nth-last-child(-n+2) .sub-menu li.menu-item-has-children:hover > .menu-link::after,
.primary-menu > li:nth-last-child(-n+2) .sub-menu li.menu-item-has-children:focus-within > .menu-link::after {
	transform: rotate(-45deg);
}

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

.social-links {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-right: 10px;
	margin-right: 2px;
	border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.mobile-social-links {
	justify-content: center;
	padding: 20px 4px 4px;
	margin: 8px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-right: 0;
}

.footer-social-links {
	gap: 8px;
	padding-right: 0;
	margin-right: 0;
	border-right: 0;
}

.footer-social-links .icon-button.social-icon {
	border-color: rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.72);
}

.icon-button.social-icon {
	width: 36px;
	height: 36px;
	color: rgba(255, 255, 255, 0.7);
}

.icon-button.social-icon:hover,
.icon-button.social-icon:focus-visible {
	border-color: var(--ocm-accent);
	color: #fff;
	background: var(--ocm-accent);
}

.icon-button {
	display: inline-grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: currentColor;
	transition: background 150ms ease, border-color 150ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.3);
}

.icon-button svg,
.reading-time svg,
.read-more svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Social icons are solid glyphs (Facebook/X/YouTube/LinkedIn) rather than
   line icons, so they need fill restored; only Instagram keeps a stroke. */
.social-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: none;
}

.social-icon.social-icon-instagram svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

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

.mobile-navigation {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	background: var(--ocm-header);
}

.mobile-menu {
	flex-direction: column;
	gap: 0;
	width: min(100% - 32px, var(--ocm-container));
	padding: 8px 0 24px;
	margin-inline: auto;
}

.mobile-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 4px;
	color: #fff;
	font-weight: 700;
}

.mobile-menu li.menu-item-has-children > .menu-link::after {
	width: 7px;
	height: 7px;
	margin-left: 12px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 150ms ease;
	content: "";
	flex-shrink: 0;
}

.mobile-menu li.is-submenu-open > .menu-link::after {
	transform: rotate(-135deg);
}

.mobile-menu .sub-menu {
	display: grid;
	grid-template-rows: 0fr;
	padding: 0;
	margin: 0 0 0 12px;
	list-style: none;
	transition: grid-template-rows 200ms ease;
}

.mobile-menu li.is-submenu-open > .sub-menu {
	grid-template-rows: 1fr;
}

.mobile-menu .sub-menu > * {
	overflow: hidden;
}

.mobile-menu .sub-menu .menu-link {
	padding-left: 16px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	font-weight: 600;
}

.mobile-menu .sub-menu li {
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.search-overlay {
	position: fixed;
	z-index: 2000;
	inset: 0;
	display: grid;
	place-items: start center;
	padding: 96px 16px 32px;
	background: rgba(17, 17, 17, 0.72);
	backdrop-filter: blur(8px);
}

.search-overlay[hidden],
.mobile-navigation[hidden] {
	display: none;
}

.search-panel {
	width: min(720px, 100%);
	padding: 24px;
	border-radius: var(--ocm-radius);
	background: #fff;
	box-shadow: var(--ocm-shadow);
}

.search-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.search-panel h2 {
	margin: 0;
	font-family: var(--ocm-heading);
}

.search-panel .icon-button {
	border-color: var(--ocm-border);
	color: var(--ocm-text);
}

.search-overlay-form,
.search-form,
.newsletter-form {
	display: flex;
	gap: 8px;
	margin-top: 20px;
}

.search-overlay-form input,
.search-form input,
.newsletter-form input {
	width: 100%;
	min-width: 0;
	padding: 13px 14px;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: #fff;
	color: var(--ocm-text);
}

.newsletter-form input {
	padding: 15px 20px;
	font-size: 15px;
}

.search-overlay-form button,
.search-form button,
.newsletter-form button,
.wp-block-button__link,
.form-submit .submit {
	padding: 13px 18px;
	border: 0;
	border-radius: var(--ocm-radius);
	background: var(--ocm-accent);
	color: #fff;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	transition: background 150ms ease;
}

.search-overlay-form button:hover,
.search-form button:hover,
.newsletter-form button:hover,
.wp-block-button__link:hover,
.form-submit .submit:hover {
	background: var(--ocm-accent-hover);
}

.newsletter-form button {
	padding: 15px 24px;
	font-size: 15px;
}

.search-results-live {
	margin-top: 16px;
}

.search-result {
	display: block;
	padding: 12px 0;
	border-top: 1px solid var(--ocm-border);
}

.search-result span {
	display: block;
	color: var(--ocm-muted);
	font-size: 13px;
}

.home-hero {
	padding: 128px 0 var(--ocm-space-md);
	background: var(--ocm-header);
}

.hero-story {
	position: relative;
	display: grid;
	min-height: 600px;
	align-items: end;
	overflow: hidden;
	border-radius: var(--ocm-radius);
	background: var(--ocm-header);
	isolation: isolate;
}

.hero-story::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--hero-image);
	background-position: center;
	background-size: cover;
	transform: scale(1.03);
	content: "";
}

.hero-story::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.45) 35%, rgba(8, 8, 8, 0.94) 100%), linear-gradient(90deg, rgba(8, 8, 8, 0.68) 0%, rgba(8, 8, 8, 0) 62%);
	content: "";
}

.hero-content {
	display: flex;
	max-width: 800px;
	flex-direction: column;
	gap: 18px;
	padding: clamp(28px, 6vw, 68px);
	color: #fff;
}

.hero-content h1 {
	margin: 0;
	font-family: var(--ocm-heading);
	font-size: clamp(34px, 5.2vw, 64px);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.05;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-content p {
	max-width: 60ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
	line-height: 1.65;
}

.read-more.hero-cta {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	width: fit-content;
	margin-top: 10px;
	padding: 16px 30px;
	color: #fff;
	font-size: 15.5px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background: var(--ocm-accent);
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(214, 40, 40, 0.35);
	transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.read-more.hero-cta svg {
	transition: transform 150ms ease;
}

.read-more.hero-cta:hover {
	color: #fff;
	background: var(--ocm-accent-hover);
	box-shadow: 0 16px 34px rgba(214, 40, 40, 0.42);
	transform: translateY(-2px);
}

.read-more.hero-cta:hover svg {
	transform: translateX(3px);
}

.read-more.hero-cta::after {
	display: none;
}

.hero-content .article-meta {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.hero-content .article-meta span + span {
	position: relative;
	padding-left: 16px;
}

.hero-content .article-meta span + span::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 3px;
	height: 3px;
	background: currentColor;
	border-radius: 50%;
	content: "";
	opacity: 0.7;
	transform: translateY(-50%);
}

.article-meta,
.article-card-top {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	color: var(--ocm-muted);
	font-size: 14px;
	font-weight: 600;
}

.ocm-badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--ocm-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition: background 150ms ease, transform 150ms ease;
}

.ocm-badge:hover {
	background: var(--ocm-accent-hover);
	color: #fff;
	transform: translateY(-1px);
}

.ocm-section {
	padding: var(--ocm-space-section) 0;
}

.ocm-section + .ocm-section,
.ocm-section + .ocm-section-surface,
.ocm-section-surface + .ocm-section {
	padding-top: 0;
}

.ocm-section-surface {
	background: var(--ocm-surface);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: var(--ocm-space-section-gap);
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ocm-border);
}

.section-heading h2 {
	position: relative;
	margin: 0 0 14px;
	padding-left: 16px;
	font-family: var(--ocm-heading);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.section-heading h2::before {
	position: absolute;
	top: 4px;
	left: 0;
	width: 4px;
	height: 1em;
	background: linear-gradient(180deg, var(--ocm-accent), var(--ocm-accent-hover));
	border-radius: 3px;
	content: "";
}

.section-heading a {
	margin-bottom: 16px;
	color: var(--ocm-accent);
	font-size: 14px;
	font-weight: 800;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ocm-space-sm);
}

.post-grid-four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: #fff;
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.04);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.article-card:hover {
	border-color: transparent;
	transform: translateY(-7px);
	box-shadow: var(--ocm-shadow-sm);
}

.post-grid-featured > .article-card-featured {
	grid-column: 1 / -1;
}

.article-card-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

.article-card-featured.is-reversed {
	grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
}

.article-card-featured.is-reversed .article-card-image {
	order: 2;
}

.article-card-featured.is-reversed .article-card-body {
	order: 1;
}

.article-card-image {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--ocm-surface);
}

.article-card-featured .article-card-image {
	aspect-ratio: auto;
	min-height: 360px;
}

.article-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

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

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

.article-card-top {
	margin-bottom: 2px;
}

.article-card h2 {
	margin: 12px 0 6px;
	font-family: var(--ocm-heading);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.005em;
	line-height: 1.25;
}

.article-card-featured h2 {
	font-size: clamp(24px, 2.4vw, 30px);
	line-height: 1.15;
}

.article-card-featured .article-card-body {
	padding: 24px 28px 28px;
}

.article-card-featured p {
	font-size: 16px;
}

.article-card p {
	margin: 8px 0 0;
	color: var(--ocm-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

.article-card-meta {
	color: var(--ocm-muted);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.reading-time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.article-card-meta .reading-time {
	color: var(--ocm-text);
	font-weight: 700;
}

.reading-time svg {
	width: 15px;
	height: 15px;
}

.read-more {
	position: relative;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	width: fit-content;
	margin-top: auto;
	padding-top: 14px;
	color: var(--ocm-accent);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.read-more::after {
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	opacity: 0.35;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 200ms ease, opacity 200ms ease;
}

.article-card:hover .read-more::after,
.read-more:focus-visible::after {
	opacity: 0.6;
	transform: scaleX(1);
}

.read-more svg {
	width: 15px;
	height: 15px;
	transition: transform 150ms ease;
}

.article-card:hover .read-more svg,
.read-more:hover svg,
.read-more:focus-visible svg {
	transform: translateX(3px);
}

.archive-layout,
.page-layout,
.error-404 {
	padding: 120px 0 var(--ocm-space-section);
}

.archive-header,
.page-header {
	max-width: var(--ocm-article);
	margin: 0 auto var(--ocm-space-md);
}

.page-layout .entry-content {
	margin-inline: auto;
}

.page-layout .entry-content > p:first-of-type {
	color: var(--ocm-text);
	font-size: 19px;
	line-height: 1.6;
}

.page-layout-full .page-header,
.page-layout-full .entry-content {
	max-width: 960px;
}

.archive-hero,
.author-hero {
	max-width: none;
	padding: 40px;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: var(--ocm-surface);
}

.category-featured {
	margin-bottom: var(--ocm-space-sm);
}

.archive-description {
	color: var(--ocm-muted);
	font-size: 15.5px;
	line-height: 1.65;
}

.archive-description p {
	margin: 0 0 10px;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.archive-description a {
	color: var(--ocm-accent);
}

.archive-header h1,
.page-header h1,
.single-article h1,
.error-404 h1 {
	margin: 0 0 16px;
	font-family: var(--ocm-heading);
	font-size: clamp(36px, 6vw, 64px);
	line-height: 1.05;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--ocm-accent);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.ocm-breadcrumbs {
	margin-bottom: var(--ocm-space-sm);
	color: var(--ocm-muted);
	font-size: 14px;
}

.ocm-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ocm-breadcrumbs li:not(:last-child)::after {
	margin-left: 8px;
	content: "/";
}

.single-article {
	padding: 120px 0 var(--ocm-space-section);
}

.article-shell {
	max-width: 1120px;
}

.article-header {
	max-width: var(--ocm-article);
	margin-inline: auto;
}

.article-featured-image {
	margin: var(--ocm-space-md) 0;
}

.article-featured-image img {
	width: 100%;
	border-radius: var(--ocm-radius);
}

.article-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, var(--ocm-article));
	gap: 48px;
	align-items: start;
	justify-content: center;
}

.article-toc {
	position: sticky;
	top: 112px;
}

.toc-box {
	max-height: calc(100vh - 140px);
	padding: 24px;
	overflow-y: auto;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: var(--ocm-surface);
}

.toc-box h2 {
	margin: 0 0 14px;
	color: var(--ocm-muted);
	font-family: var(--ocm-heading);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.toc-box ol {
	display: grid;
	gap: 4px;
	padding-left: 0;
	margin: 0;
	list-style: none;
	font-size: 14px;
}

.toc-box li {
	border-left: 2px solid transparent;
}

.toc-box li.toc-h3 {
	margin-left: 14px;
}

.toc-box a {
	display: block;
	padding: 6px 0 6px 12px;
	color: var(--ocm-text);
	line-height: 1.4;
	transition: color 150ms ease;
}

.toc-box a:hover,
.toc-box a:focus-visible {
	color: var(--ocm-accent);
}

.toc-box li.is-active {
	border-left-color: var(--ocm-accent);
}

.toc-box li.is-active > a {
	color: var(--ocm-accent);
	font-weight: 700;
}

.article-content,
.entry-content {
	max-width: var(--ocm-article);
}

.article-content p,
.entry-content p {
	margin: 0 0 var(--ocm-space-sm);
}

.article-content h2,
.entry-content h2,
.article-content h3,
.entry-content h3,
.article-content h4,
.entry-content h4 {
	margin-top: var(--ocm-space-md);
	margin-bottom: var(--ocm-space-xs);
	font-family: var(--ocm-heading);
	line-height: 1.2;
}

.article-content h2,
.entry-content h2 {
	font-size: 28px;
}

.article-content h3,
.entry-content h3 {
	font-size: 22px;
}

.article-content h4,
.entry-content h4 {
	font-size: 18px;
}

.page-layout .entry-content h2 {
	margin-top: calc(var(--ocm-space-section) * 0.75);
	padding-top: var(--ocm-space-md);
	border-top: 1px solid var(--ocm-border);
}

.page-layout .entry-content > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.page-layout .entry-content > p > em:only-child {
	display: block;
	max-width: 640px;
	margin: var(--ocm-space-md) auto 0;
	color: var(--ocm-text);
	font-family: var(--ocm-heading);
	font-size: 22px;
	line-height: 1.5;
	text-align: center;
}

.article-content ul,
.entry-content ul,
.article-content ol,
.entry-content ol {
	margin: 0 0 var(--ocm-space-sm);
	padding-left: 22px;
}

.article-content li,
.entry-content li {
	margin-bottom: 8px;
}

.page-layout .entry-content > ul {
	margin: var(--ocm-space-md) 0;
	padding-left: 0;
	list-style: none;
}

.page-layout .entry-content > ul > li {
	position: relative;
	margin-bottom: 10px;
	padding: 14px 18px 14px 46px;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: var(--ocm-surface);
}

.page-layout .entry-content > ul > li::before {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 20px;
	height: 20px;
	background: var(--ocm-accent);
	border-radius: 50%;
	content: "";
}

.page-layout .entry-content > ul > li::after {
	position: absolute;
	top: 20px;
	left: 21px;
	width: 10px;
	height: 6px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	content: "";
	transform: rotate(-45deg);
}

.article-content li > ul,
.entry-content li > ul,
.article-content li > ol,
.entry-content li > ol {
	margin-top: 8px;
	margin-bottom: 0;
}

.article-content blockquote,
.entry-content blockquote {
	margin: var(--ocm-space-md) 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--ocm-accent);
	color: var(--ocm-muted);
	font-family: var(--ocm-heading);
	font-size: 20px;
	font-style: italic;
	line-height: 1.5;
}

.article-content blockquote p,
.entry-content blockquote p {
	margin-bottom: 12px;
}

.article-content blockquote p:last-child,
.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.article-content table,
.entry-content table {
	display: block;
	width: 100%;
	margin: var(--ocm-space-md) 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15.5px;
}

.article-content th,
.entry-content th,
.article-content td,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--ocm-border);
	text-align: left;
}

.article-content th,
.entry-content th {
	background: var(--ocm-surface);
	font-family: var(--ocm-heading);
	font-weight: 700;
}

.article-content img,
.entry-content img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	box-shadow: 0 4px 16px rgba(17, 17, 17, 0.06);
}

.article-content figure,
.entry-content figure {
	margin: var(--ocm-space-md) 0;
}

.article-content figcaption,
.entry-content figcaption {
	margin-top: 8px;
	color: var(--ocm-muted);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* WordPress core alignment classes. These are applied automatically by
   the editor (classic and block) whenever an image/block is aligned, and
   had no styling at all — meaning any aligned image in existing content
   was rendering as if unaligned. */
.article-content .aligncenter,
.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.article-content .alignleft,
.entry-content .alignleft {
	float: left;
	margin: 6px 20px 14px 0;
}

.article-content .alignright,
.entry-content .alignright {
	float: right;
	margin: 6px 0 14px 20px;
}

.article-content .alignwide,
.entry-content .alignwide {
	max-width: 960px;
}

.article-content .alignfull,
.entry-content .alignfull {
	max-width: none;
}

/* Legacy [caption] shortcode markup (classic editor). The block-editor
   equivalent (figure/figcaption) is already styled above. */
.article-content .wp-caption,
.entry-content .wp-caption {
	max-width: 100%;
	margin: var(--ocm-space-md) 0;
}

.article-content .wp-caption img,
.entry-content .wp-caption img {
	display: block;
	margin: 0 auto;
}

.article-content .wp-caption.alignleft,
.entry-content .wp-caption.alignleft,
.article-content .wp-caption.alignright,
.entry-content .wp-caption.alignright {
	max-width: 50%;
}

.article-content .wp-caption-text,
.entry-content .wp-caption-text {
	margin-top: 8px;
	color: var(--ocm-muted);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.article-content iframe,
.entry-content iframe,
.article-content embed,
.entry-content embed {
	max-width: 100%;
	margin: var(--ocm-space-md) 0;
}

.article-content hr,
.entry-content hr {
	margin: var(--ocm-space-md) 0;
	border: none;
	border-top: 1px solid var(--ocm-border);
}

.article-content a,
.entry-content a {
	color: var(--ocm-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article-content pre,
.entry-content pre,
.article-content code,
.entry-content code {
	font-family: var(--ocm-code);
}

.article-content code,
.entry-content code {
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--ocm-surface);
	font-size: 0.88em;
}

.article-content pre,
.entry-content pre {
	overflow-x: auto;
	padding: 18px;
	border-radius: var(--ocm-radius);
	background: #111827;
	color: #f9fafb;
}

.article-content pre code,
.entry-content pre code {
	padding: 0;
	background: none;
	font-size: 0.9em;
}

.author-box,
.related-posts,
.comments-area {
	max-width: var(--ocm-article);
	margin: var(--ocm-space-md) auto 0;
}

.author-box {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 28px;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: var(--ocm-surface);
}

.author-box img,
.author-hero img {
	flex-shrink: 0;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(17, 17, 17, 0.08);
}

.author-box .eyebrow {
	margin-bottom: 4px;
}

.author-box h2 {
	margin: 0 0 8px;
	font-family: var(--ocm-heading);
	font-size: 20px;
}

.author-box p:not(.eyebrow) {
	margin: 0 0 14px;
	color: var(--ocm-muted);
	font-size: 15px;
	line-height: 1.6;
}

.author-box > div > a {
	color: var(--ocm-accent);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-transform: uppercase;
}

.author-box > div > a:hover {
	color: var(--ocm-accent-hover);
}

.newsletter-section {
	padding: var(--ocm-space-md) 0;
	background: linear-gradient(180deg, #161616 0%, var(--ocm-header) 100%);
	color: #fff;
	border-top: 2px solid var(--ocm-accent);
}

.newsletter-inner {
	display: grid;
	grid-template-columns: 1fr minmax(320px, 440px);
	gap: var(--ocm-space-sm);
	align-items: center;
}

.newsletter-inner h2 {
	margin: 0 0 8px;
	font-family: var(--ocm-heading);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.2;
}

.newsletter-inner p {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 15px;
}

.site-footer {
	background: #0b0b0b;
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: var(--ocm-space-md);
	padding: var(--ocm-space-section) 0 var(--ocm-space-md);
}

.footer-column p {
	margin: 0;
	line-height: 1.6;
}

.site-footer h2,
.widget-title {
	position: relative;
	margin: 0 0 20px;
	padding-bottom: 12px;
	font-family: var(--ocm-heading);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.site-footer h2::after,
.widget-title::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 28px;
	height: 2px;
	background: var(--ocm-accent);
	content: "";
}

.footer-column:first-child h2 {
	font-size: 22px;
	letter-spacing: normal;
	text-transform: none;
}

.footer-column:first-child h2::after {
	display: none;
}

.site-footer p,
.site-footer a {
	color: rgba(255, 255, 255, 0.68);
	font-size: 14.5px;
}

.site-footer a:hover {
	color: #fff;
}

.footer-menu {
	flex-direction: column;
	gap: 12px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
	margin: 0;
	padding: 22px 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
	letter-spacing: 0.02em;
	text-align: center;
}

.ad-slot {
	position: relative;
	width: min(100% - 32px, var(--ocm-container));
	max-width: 100%;
	margin: var(--ocm-space-sm) auto;
	padding: 16px;
	overflow: hidden;
	border: 1px dashed var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: var(--ocm-surface);
	text-align: center;
}

.ad-slot > * {
	max-width: 100%;
}

/* MailPoet form/popup overrides (the "Enjoy This Read" and "Join Our
   Community" widgets, identified via their "powered by MailPoet" credit).
   Presentation-only: no plugin markup or behavior is touched, this just
   aligns colors/typography/radius with the rest of the theme. */
.mailpoet_form,
.mailpoet_form_popup,
.mailpoet_form_popup_body {
	font-family: var(--ocm-body) !important;
}

.mailpoet_form_popup_body {
	border-radius: var(--ocm-radius) !important;
	box-shadow: var(--ocm-shadow) !important;
}

.mailpoet_paragraph {
	margin-bottom: 12px !important;
}

.mailpoet_form h1,
.mailpoet_form h2,
.mailpoet_form h3,
.mailpoet_form_heading {
	font-family: var(--ocm-heading) !important;
	color: var(--ocm-text) !important;
}

.mailpoet_text,
.mailpoet_textarea,
.mailpoet_select,
.mailpoet_date_month,
.mailpoet_date_day,
.mailpoet_date_year {
	padding: 12px 14px !important;
	border: 1px solid var(--ocm-border) !important;
	border-radius: var(--ocm-radius) !important;
	font-family: var(--ocm-body) !important;
	font-size: 15px !important;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.mailpoet_text:focus,
.mailpoet_textarea:focus {
	border-color: var(--ocm-accent) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.12);
}

.mailpoet_submit,
.mailpoet_form input[type="submit"] {
	padding: 13px 20px !important;
	border: 0 !important;
	border-radius: var(--ocm-radius) !important;
	background: var(--ocm-accent) !important;
	color: #fff !important;
	font-family: var(--ocm-body) !important;
	font-weight: 800 !important;
	cursor: pointer;
	transition: background 150ms ease;
}

.mailpoet_submit:hover,
.mailpoet_form input[type="submit"]:hover {
	background: var(--ocm-accent-hover) !important;
}

.mailpoet_message,
.mailpoet_validate_success {
	color: var(--ocm-text) !important;
	font-family: var(--ocm-body) !important;
}

.ocm-pagination {
	margin-top: 32px;
}

.ocm-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.ocm-pagination a,
.ocm-pagination span {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
}

.ocm-pagination .current {
	background: var(--ocm-header);
	color: #fff;
}

.comments-title {
	margin: 0 0 var(--ocm-space-md);
	font-family: var(--ocm-heading);
	font-size: 24px;
}

.comments-title span {
	color: var(--ocm-accent);
}

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

.comment-list .children {
	padding-left: 0;
	margin: var(--ocm-space-xs) 0 0 28px;
	list-style: none;
	border-left: 2px solid var(--ocm-border);
}

.comment-list .children .comment-body {
	margin-left: 18px;
}

.comment-body {
	margin-bottom: var(--ocm-space-xs);
	padding: 20px;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: #fff;
	box-shadow: 0 1px 3px rgba(17, 17, 17, 0.04);
}

.comment-author.vcard {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .fn {
	font-family: var(--ocm-heading);
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
}

.comment-metadata {
	margin-bottom: 12px;
	font-size: 13px;
}

.comment-metadata a {
	color: var(--ocm-muted);
	text-decoration: none;
}

.comment-content p {
	margin: 0 0 10px;
	font-size: 15.5px;
	line-height: 1.65;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-reply-link {
	display: inline-block;
	margin-top: 10px;
	color: var(--ocm-accent);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.comment-reply-link:hover {
	color: var(--ocm-accent-hover);
}

.comment-awaiting-moderation {
	display: block;
	margin-top: 8px;
	color: var(--ocm-muted);
	font-size: 13px;
	font-style: italic;
}

#respond {
	margin-top: var(--ocm-space-md);
}

.comment-reply-title {
	margin: 0 0 var(--ocm-space-xs);
	font-family: var(--ocm-heading);
	font-size: 20px;
}

.comment-form p {
	margin: 0 0 var(--ocm-space-xs);
}

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

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="url"],
.entry-content input[type="tel"],
.entry-content input[type="number"],
.entry-content textarea,
.entry-content select,
.article-content input[type="text"],
.article-content input[type="email"],
.article-content input[type="url"],
.article-content input[type="tel"],
.article-content input[type="number"],
.article-content textarea,
.article-content select {
	width: 100%;
	max-width: 480px;
	padding: 13px 16px;
	border: 1px solid var(--ocm-border);
	border-radius: var(--ocm-radius);
	background: #fff;
	color: var(--ocm-text);
	font-family: var(--ocm-body);
	font-size: 15px;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus,
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus,
.article-content input:focus,
.article-content textarea:focus,
.article-content select:focus {
	border-color: var(--ocm-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.12);
}

.comment-form textarea,
.entry-content textarea,
.article-content textarea {
	max-width: 100%;
	resize: vertical;
}

.entry-content label,
.article-content label {
	display: block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 700;
}

.comment-notes,
.comment-form-cookies-consent {
	color: var(--ocm-muted);
	font-size: 13.5px;
}

@media (max-width: 1100px) {
	.primary-navigation {
		display: none;
	}

	.header-actions > .social-links {
		display: none;
	}

	.mobile-menu-toggle {
		display: inline-grid;
	}

	.header-inner {
		grid-template-columns: 1fr auto;
	}

	.home-hero {
		padding-top: 96px;
	}

	.hero-story {
		min-height: 480px;
	}

	.hero-content {
		max-width: 100%;
	}

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

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

	.article-toc {
		position: static;
		max-width: var(--ocm-article);
		margin-inline: auto;
	}

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

@media (max-width: 720px) {
	body {
		font-size: 16px;
	}

	.ocm-container {
		width: min(100% - 24px, var(--ocm-container));
	}

	.site-tagline {
		display: none;
	}

	.site-logo-text {
		font-size: 28px;
	}

	.custom-logo,
	.site-header.is-scrolled .custom-logo {
		max-height: 38px;
	}

	.home-hero {
		padding-top: 92px;
	}

	.hero-story {
		min-height: 460px;
	}

	.hero-content {
		padding: 24px;
		gap: 14px;
	}

	.hero-content h1 {
		font-size: 34px;
	}

	.hero-content p {
		font-size: 16px;
	}

	.read-more.hero-cta {
		width: 100%;
		justify-content: center;
		padding: 12px 20px;
		font-size: 13.5px;
	}

	.author-box {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.comment-list .children {
		margin-left: 12px;
	}

	.comment-list .children .comment-body {
		margin-left: 8px;
	}

	.post-grid,
	.post-grid-four,
	.post-grid-three,
	.newsletter-inner,
	.footer-grid,
	.article-card-featured,
	.article-card-featured.is-reversed {
		grid-template-columns: 1fr;
	}

	.article-card-featured.is-reversed .article-card-image,
	.article-card-featured.is-reversed .article-card-body {
		order: initial;
	}

	.search-overlay-form,
	.search-form,
	.newsletter-form {
		flex-direction: column;
	}

	.archive-hero,
	.author-hero {
		padding: 24px;
	}

	.single-article,
	.archive-layout,
	.page-layout,
	.error-404 {
		padding-top: 104px;
	}
}
