/*
 * Single Blog Post — Ocean Multivision
 * File: assets/css/single-blog.css
 * All selectors scoped under .om-single-blog
 * Uses existing :root variables from style.css
 */

/* ==========================================================================
   SECTION 1 — HERO / ARTICLE HEADER
   ========================================================================== */
.om-single-blog__hero {
	background: var(--om-dark);
	/*padding: 80px 0 60px;*/
	position: relative;
	overflow: hidden;
}

.om-single-blog__hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 80% at 0% 0%, rgba(27,191,196,0.07) 0%, transparent 70%),
		radial-gradient(ellipse 40% 60% at 100% 100%, rgba(236,58,139,0.06) 0%, transparent 70%);
	pointer-events: none;
}

.om-single-blog__hero-inner {
	position: relative;
	z-index: 1;
}

/* Breadcrumb */
.om-single-blog__breadcrumb {
	margin-bottom: 24px;
}

.om-single-blog__breadcrumb-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.om-single-blog__breadcrumb-list li {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,0.45);
}

.om-single-blog__breadcrumb-list a {
	color: rgba(255,255,255,0.55);
	text-decoration: none;
	transition: color 0.2s;
}

.om-single-blog__breadcrumb-list a:hover {
	color: var(--om-teal);
}

.om-single-blog__breadcrumb-list [aria-current="page"] {
	color: var(--om-teal);
	font-weight: 600;
}

.om-single-blog__breadcrumb-sep {
	color: rgba(255,255,255,0.25);
	display: flex;
	align-items: center;
}

/* Category pill */
.om-single-blog__cat-pill {
	display: inline-block;
	background: var(--om-teal);
	color: var(--om-white);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 5px 14px;
	border-radius: 50px;
	text-decoration: none;
	margin-bottom: 20px;
	transition: background 0.2s;
}

.om-single-blog__cat-pill:hover {
	background: #17aab0;
	color: var(--om-white);
}

/* Title */
.om-single-blog__title {
	font-size: clamp(28px, 4.5vw, 56px);
	font-weight: 800;
	line-height: 1.15;
	color: var(--om-white);
	margin: 0 0 20px;
	letter-spacing: -1px;
	overflow-wrap: anywhere;
}

/* Excerpt */
.om-single-blog__excerpt {
	font-size: clamp(15px, 1.8vw, 18px);
	font-weight: 400;
	color: rgba(255,255,255,0.72);
	line-height: 1.75;
	margin: 0 0 28px;
	max-width: 740px;
}

/* Meta row */
.om-single-blog__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.om-single-blog__author-mini {
	display: flex;
	align-items: center;
	gap: 10px;
}

.om-single-blog__author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255,255,255,0.15);
	flex-shrink: 0;
}

.om-single-blog__author-info {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.om-single-blog__author-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--om-white);
	text-decoration: none;
	transition: color 0.2s;
}

.om-single-blog__author-name:hover {
	color: var(--om-teal);
}

.om-single-blog__meta-sep {
	color: rgba(255,255,255,0.3);
	font-size: 16px;
	line-height: 1;
}

.om-single-blog__date {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,0.5);
}

.om-single-blog__readtime,
.om-single-blog__updated {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,0.45);
}

.om-single-blog__readtime svg,
.om-single-blog__updated svg {
	stroke: var(--om-teal);
	flex-shrink: 0;
}


/* ==========================================================================
   SECTION 2 — FEATURED IMAGE
   ========================================================================== */
.om-single-blog__featured-img-wrap {
	background: var(--om-dark);
	padding: 0 0 40px;
}

.om-single-blog__featured-figure {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	max-height: 560px;
}

.om-single-blog__featured-img {
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: cover;
	object-position: center;
	display: block;
}

.om-single-blog__featured-caption {
	padding: 10px 0 0;
	font-size: 12px;
	color: var(--om-muted);
	font-style: italic;
	text-align: center;
}

/* ==========================================================================
   SECTION 3 — MAIN LAYOUT (Share | Content | Sidebar)
   ========================================================================== */
.om-single-blog__layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	grid-template-areas: "content sidebar";
	gap: 0 40px;
	align-items: start;
	padding-top: 56px;
	padding-bottom: 80px;
}

/* ==========================================================================
   SECTION 5 — ARTICLE CONTENT AREA
   ========================================================================== */
.om-single-blog__content {
	grid-area: content;
	min-width: 0;
}

/* ==========================================================================
   SECTION 6 — TABLE OF CONTENTS (inline, inside article)
   ========================================================================== */
.om-single-blog__toc {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-left: 4px solid var(--om-teal);
	border-radius: 0 12px 12px 0;
	padding: 20px 24px;
	margin-bottom: 40px;
}

.om-single-blog__toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.om-single-blog__toc-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--om-dark);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.om-single-blog__toc-title svg { stroke: var(--om-teal); }

.om-single-blog__toc-toggle {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--om-muted);
	padding: 2px;
	display: flex;
	align-items: center;
	transition: color 0.2s;
}

.om-single-blog__toc-toggle:hover { color: var(--om-teal); }

.om-single-blog__toc-toggle[aria-expanded="false"] svg {
	transform: rotate(180deg);
}

.om-single-blog__toc-nav {
	transition: max-height 0.35s ease, opacity 0.3s ease;
	overflow: hidden;
}

.om-single-blog__toc-nav.is-collapsed {
	max-height: 0 !important;
	opacity: 0;
}

.om-single-blog__toc-nav ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	counter-reset: toc-h2;
}

.om-single-blog__toc-nav ol li { counter-increment: toc-h2; }

.om-single-blog__toc-nav ol li a {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--om-muted);
	text-decoration: none;
	padding: 5px 8px;
	border-radius: 6px;
	transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.om-single-blog__toc-nav ol li a:hover,
.om-single-blog__toc-nav ol li a.is-active {
	color: var(--om-teal);
	background: rgba(27,191,196,0.06);
	padding-left: 14px;
}

.om-single-blog__toc-nav ol li.toc-h3 > a {
	font-size: 12.5px;
	padding-left: 20px;
}

.om-single-blog__toc-nav ol li.toc-h3 > a:hover,
.om-single-blog__toc-nav ol li.toc-h3 > a.is-active {
	padding-left: 26px;
}

/* ==========================================================================
   SECTION 5 — ENTRY CONTENT (WordPress wysiwyg / Gutenberg)
   ========================================================================== */
.om-single-blog .om-single-blog__entry {
	font-size: 16px;
	line-height: 1.85;
	color: var(--om-dark);
}

.om-single-blog .om-single-blog__entry > * {
	max-width: 100%;
}

.om-single-blog .om-single-blog__entry p {
	margin: 0 0 1.6em;
	overflow-wrap: anywhere;
}

.om-single-blog .om-single-blog__entry h2 {
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 800;
	color: var(--om-dark);
	line-height: 1.25;
	margin: 2em 0 0.6em;
	letter-spacing: -0.4px;
	scroll-margin-top: 90px;
}

.om-single-blog .om-single-blog__entry h3 {
	font-size: clamp(18px, 2.2vw, 24px);
	font-weight: 700;
	color: var(--om-dark);
	line-height: 1.3;
	margin: 1.8em 0 0.5em;
	scroll-margin-top: 90px;
}

.om-single-blog .om-single-blog__entry h4 {
	font-size: 18px;
	font-weight: 700;
	color: var(--om-dark);
	margin: 1.5em 0 0.4em;
	scroll-margin-top: 90px;
}

.om-single-blog .om-single-blog__entry ul,
.om-single-blog .om-single-blog__entry ol {
	margin: 0 0 1.6em 1.4em;
	padding: 0;
}

.om-single-blog .om-single-blog__entry ul li,
.om-single-blog .om-single-blog__entry ol li {
	margin-bottom: 0.5em;
	line-height: 1.75;
}

.om-single-blog .om-single-blog__entry ul li::marker {
	color: var(--om-teal);
}

.om-single-blog .om-single-blog__entry ol li::marker {
	color: var(--om-pink);
	font-weight: 700;
}

.om-single-blog .om-single-blog__entry a {
	color: var(--om-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
}

.om-single-blog .om-single-blog__entry a:hover {
	color: var(--om-pink);
}

/* Blockquote */
.om-single-blog .om-single-blog__entry blockquote {
	margin: 2em 0;
	padding: 28px 32px 28px 28px;
	border-left: 4px solid var(--om-teal);
	background: #f8fafc;
	border-radius: 0 12px 12px 0;
	position: relative;
}

.om-single-blog .om-single-blog__entry blockquote::before {
	content: '\201C';
	font-family: Georgia, serif;
	font-size: 64px;
	line-height: 0.6;
	color: var(--om-teal);
	opacity: 0.2;
	position: absolute;
	top: 22px;
	left: 18px;
}

.om-single-blog .om-single-blog__entry blockquote p {
	font-size: 17px;
	font-weight: 600;
	font-style: italic;
	color: var(--om-dark);
	line-height: 1.65;
	margin: 0;
	padding-left: 10px;
}

.om-single-blog .om-single-blog__entry blockquote cite {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--om-muted);
	margin-top: 12px;
	padding-left: 10px;
	font-style: normal;
}

/* Images / figures inside entry */
.om-single-blog .om-single-blog__entry img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

.om-single-blog .om-single-blog__entry figure {
	margin: 2em 0;
}

.om-single-blog .om-single-blog__entry figcaption {
	font-size: 12px;
	color: var(--om-muted);
	font-style: italic;
	text-align: center;
	margin-top: 8px;
}

/* Tables */
.om-single-blog .om-single-blog__entry table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	font-size: 14px;
	overflow-x: auto;
	display: block;
}

.om-single-blog .om-single-blog__entry table th {
	background: var(--om-dark);
	color: #fff;
	font-weight: 700;
	padding: 12px 16px;
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.om-single-blog .om-single-blog__entry table td {
	padding: 11px 16px;
	border-bottom: 1px solid #e2e8f0;
	color: var(--om-dark);
	vertical-align: top;
}

.om-single-blog .om-single-blog__entry table tr:hover td {
	background: #f8fafc;
}

/* Code blocks */
.om-single-blog .om-single-blog__entry pre {
	background: var(--om-dark);
	color: #e2e8f0;
	padding: 24px;
	border-radius: 12px;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.7;
	margin: 2em 0;
}

.om-single-blog .om-single-blog__entry code {
	background: rgba(27,191,196,0.1);
	color: var(--om-teal);
	font-size: 0.9em;
	padding: 2px 7px;
	border-radius: 4px;
	font-family: 'Courier New', Courier, monospace;
}

.om-single-blog .om-single-blog__entry pre code {
	background: none;
	color: inherit;
	padding: 0;
	border-radius: 0;
}

/* Embedded videos / iframes */
.om-single-blog .om-single-blog__entry iframe,
.om-single-blog .om-single-blog__entry .wp-block-embed__wrapper {
	max-width: 100%;
}

.om-single-blog .om-single-blog__entry .wp-block-embed {
	margin: 2em 0;
}

/* Gutenberg separator */
.om-single-blog .om-single-blog__entry hr,
.om-single-blog .om-single-blog__entry .wp-block-separator {
	border: none;
	height: 2px;
	background: linear-gradient(90deg, var(--om-teal), var(--om-pink));
	margin: 2.5em 0;
	border-radius: 2px;
	opacity: 0.3;
}

/* ==========================================================================
   SECTION 7 — INLINE QUOTE / HIGHLIGHT (Section 7 of spec)
   ========================================================================== */
.om-single-blog .om-single-blog__entry .om-highlight-box {
	background: linear-gradient(135deg, rgba(27,191,196,0.07) 0%, rgba(236,58,139,0.05) 100%);
	border: 1.5px solid rgba(27,191,196,0.2);
	border-radius: 12px;
	padding: 24px 28px;
	margin: 2em 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--om-dark);
	line-height: 1.6;
}

/* ==========================================================================
   SECTION 8 — TAGS
   ========================================================================== */
.om-single-blog__tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1.5px solid #e2e8f0;
}

.om-single-blog__tags-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--om-muted);
	flex-shrink: 0;
}

.om-single-blog__tag-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--om-dark);
	background: #f1f5f9;
	border: 1.5px solid #e2e8f0;
	border-radius: 50px;
	padding: 5px 14px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.om-single-blog__tag-pill:hover {
	background: var(--om-teal);
	color: #fff;
	border-color: var(--om-teal);
}

/* ==========================================================================
   SECTION 7 — SIDEBAR
   ========================================================================== */
.om-single-blog__sidebar {
	grid-area: sidebar;
	min-width: 0;
}

/* Sticky inner wrapper — yahi scroll ke saath chipakta hai */
.om-single-blog__sidebar-inner {
	position: sticky;
	top: 90px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Sidebar widget */
.om-single-blog__sidebar-widget {
	background: #fff;
	border: 1.5px solid #f0f0f0;
	border-radius: 16px;
	padding: 24px;
}

.om-single-blog__widget-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--om-dark);
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.om-single-blog__widget-title svg {
	stroke: var(--om-teal);
	flex-shrink: 0;
}

/* Sidebar TOC */
#om-sidebar-toc-list ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#om-sidebar-toc-list ol li a {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--om-muted);
	text-decoration: none;
	padding: 5px 8px;
	border-radius: 6px;
	transition: color 0.2s, background 0.2s, padding-left 0.2s;
	overflow-wrap: anywhere;
}

#om-sidebar-toc-list ol li a:hover,
#om-sidebar-toc-list ol li a.is-active {
	color: var(--om-teal);
	background: rgba(27,191,196,0.06);
	padding-left: 12px;
}

#om-sidebar-toc-list ol li.toc-h3 > a {
	padding-left: 16px;
	font-size: 12px;
}

#om-sidebar-toc-list ol li.toc-h3 > a:hover,
#om-sidebar-toc-list ol li.toc-h3 > a.is-active {
	padding-left: 22px;
}

/* Recent posts list */
.om-single-blog__recent-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.om-single-blog__recent-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}

.om-single-blog__recent-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.om-single-blog__recent-thumb {
	flex-shrink: 0;
}

.om-single-blog__recent-thumb img {
	width: 58px;
	height: 58px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	transition: transform 0.3s;
}

.om-single-blog__recent-item:hover .om-single-blog__recent-thumb img {
	transform: scale(1.04);
}

.om-single-blog__recent-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.om-single-blog__recent-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--om-dark);
	text-decoration: none;
	line-height: 1.45;
	overflow-wrap: anywhere;
	transition: color 0.2s;
}

.om-single-blog__recent-title:hover {
	color: var(--om-teal);
}

.om-single-blog__recent-date {
	font-size: 11px;
	color: var(--om-muted);
	font-weight: 500;
}

/* Category list */
.om-single-blog__cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.om-single-blog__cat-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--om-muted);
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 8px;
	transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.om-single-blog__cat-link:hover,
.om-single-blog__cat-link.is-active {
	color: var(--om-teal);
	background: rgba(27,191,196,0.06);
	padding-left: 14px;
}

.om-single-blog__cat-count {
	font-size: 11px;
	font-weight: 700;
	color: var(--om-muted);
	background: #f1f5f9;
	border-radius: 50px;
	padding: 2px 8px;
	flex-shrink: 0;
}

.om-single-blog__cat-link.is-active .om-single-blog__cat-count {
	background: rgba(27,191,196,0.12);
	color: var(--om-teal);
}

/* Sidebar CTA card */
.om-single-blog__sidebar-cta {
	background: var(--om-dark);
	border-radius: 16px;
	padding: 28px 24px;
	position: relative;
	overflow: hidden;
}

.om-single-blog__sidebar-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 0% 0%, rgba(27,191,196,0.12) 0%, transparent 70%),
		radial-gradient(ellipse 60% 80% at 100% 100%, rgba(236,58,139,0.1) 0%, transparent 70%);
	pointer-events: none;
}

.om-single-blog__sidebar-cta-eyebrow {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--om-teal);
	margin: 0 0 10px;
	position: relative;
	z-index: 1;
}

.om-single-blog__sidebar-cta-title {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
	margin: 0 0 10px;
	letter-spacing: -0.3px;
	position: relative;
	z-index: 1;
}

.om-single-blog__sidebar-cta-title span {
	color: var(--om-pink);
}

.om-single-blog__sidebar-cta-body {
	font-size: 13px;
	color: rgba(255,255,255,0.62);
	line-height: 1.65;
	margin: 0 0 20px;
	position: relative;
	z-index: 1;
}

.om-single-blog__sidebar-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--om-teal);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 12px 20px;
	border-radius: 4px;
	transition: background 0.25s, gap 0.25s;
	position: relative;
	z-index: 1;
}

.om-single-blog__sidebar-cta-btn:hover {
	background: #17aab0;
	color: #fff;
	gap: 12px;
}

/* ==========================================================================
   SECTION 9 — AUTHOR BOX
   ========================================================================== */
.om-single-blog__author-box {
	padding: 0 0 60px;
}

.om-single-blog__author-box-inner {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px;
	border-left: 4px solid var(--om-pink);
}

.om-single-blog__author-box-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 3px solid #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	display: block;
}

.om-single-blog__author-box-avatar-link {
	flex-shrink: 0;
}

.om-single-blog__author-box-body {
	min-width: 0;
	flex: 1;
}

.om-single-blog__author-box-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--om-muted);
	margin: 0 0 4px;
}

.om-single-blog__author-box-name {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: var(--om-dark);
	text-decoration: none;
	margin-bottom: 10px;
	letter-spacing: -0.3px;
	transition: color 0.2s;
}

.om-single-blog__author-box-name:hover {
	color: var(--om-teal);
}

.om-single-blog__author-box-bio {
	font-size: 14.5px;
	color: var(--om-muted);
	line-height: 1.75;
	margin: 0 0 16px;
}

.om-single-blog__author-box-socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}



/* ==========================================================================
   SECTION 10 — PREV / NEXT POST NAVIGATION
   ========================================================================== */
.om-single-blog__postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding: 0 0 60px;
}

.om-single-blog__postnav-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
	background: #fff;
	border: 1.5px solid #f0f0f0;
	border-radius: 16px;
	text-decoration: none;
	color: var(--om-dark);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
	min-width: 0;
}

.om-single-blog__postnav-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0,0,0,0.09);
	border-color: var(--om-teal);
}

.om-single-blog__postnav-item--next {
	flex-direction: row-reverse;
	text-align: right;
}

.om-single-blog__postnav-item--empty {
	background: transparent;
	border: none;
	pointer-events: none;
}

.om-single-blog__postnav-thumb {
	flex-shrink: 0;
}

.om-single-blog__postnav-thumb img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.om-single-blog__postnav-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.om-single-blog__postnav-direction {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--om-teal);
}

.om-single-blog__postnav-item--next .om-single-blog__postnav-direction {
	justify-content: flex-end;
}

.om-single-blog__postnav-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--om-dark);
	line-height: 1.4;
	overflow-wrap: anywhere;
	transition: color 0.2s;
}

.om-single-blog__postnav-item:hover .om-single-blog__postnav-title {
	color: var(--om-teal);
}

/* ==========================================================================
   SECTION 11 — RELATED ARTICLES
   ========================================================================== */
.om-single-blog__related {
	padding: 0 0 60px;
}

.om-single-blog__related-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 36px;
}

.om-single-blog__related-title {
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 800;
	color: var(--om-dark);
	margin: 0;
	letter-spacing: -0.5px;
}

.om-single-blog__related-title span {
	color: var(--om-pink);
}

.om-single-blog__related-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--om-teal);
	text-decoration: none;
	transition: gap 0.2s, color 0.2s;
}

.om-single-blog__related-all:hover {
	gap: 10px;
	color: var(--om-pink);
}

.om-single-blog__related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* Related card — matches existing .om-insights__card pattern */
.om-single-blog__related-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1.5px solid #f0f0f0;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.om-single-blog__related-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(0,0,0,0.09);
}

.om-single-blog__related-card-img-wrap {
	position: relative;
	height: 200px;
	overflow: hidden;
	background: var(--om-dark);
}

.om-single-blog__related-card-img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1D2433 0%, #0d3040 100%);
}

.om-single-blog__related-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.om-single-blog__related-card:hover .om-single-blog__related-card-img {
	transform: scale(1.05);
}

.om-single-blog__related-card-cat {
	position: absolute;
	top: 14px;
	left: 14px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #fff;
	background: var(--om-teal);
	padding: 4px 12px;
	border-radius: 50px;
}

.om-single-blog__related-card-body {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.om-single-blog__related-card-date {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--om-muted);
	margin: 0;
}

.om-single-blog__related-card-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--om-dark);
	margin: 0;
	line-height: 1.4;
	letter-spacing: -0.2px;
}

.om-single-blog__related-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.om-single-blog__related-card:hover .om-single-blog__related-card-title a {
	color: var(--om-teal);
}

.om-single-blog__related-card-excerpt {
	font-size: 13.5px;
	color: var(--om-muted);
	line-height: 1.65;
	margin: 0;
	flex: 1;
}

.om-single-blog__related-card-read {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--om-pink);
	text-decoration: none;
	margin-top: 4px;
	transition: gap 0.25s;
}

.om-single-blog__related-card:hover .om-single-blog__related-card-read {
	gap: 10px;
}

/* ==========================================================================
   FOCUS STATES — ACCESSIBILITY
   ========================================================================== */
.om-single-blog__share-btn:focus-visible,
.om-single-blog__toc-toggle:focus-visible,
.om-single-blog__tag-pill:focus-visible,
.om-single-blog__cat-link:focus-visible,
.om-single-blog__postnav-item:focus-visible,
.om-single-blog__related-card-title a:focus-visible,
.om-single-blog__author-box-name:focus-visible,
.om-single-blog__sidebar-cta-btn:focus-visible {
	outline: 2px solid var(--om-teal);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ==========================================================================
   RESPONSIVE — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
	.om-single-blog__layout {
		grid-template-columns: 1fr 260px;
		gap: 0 28px;
	}
}

/* ==========================================================================
   RESPONSIVE — 991px (tablet)
   ========================================================================== */
@media (max-width: 991px) {
	.om-single-blog__layout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"content"
			"sidebar";
		gap: 48px 0;
		padding-top: 40px;
	}

	.om-single-blog__sidebar {
		position: static;
	}

	.om-single-blog__sidebar-toc {
		position: static;
	}

	/* Sidebar becomes horizontal strip of widgets */
	.om-single-blog__sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		align-items: start;
	}

	.om-single-blog__sidebar-toc {
		grid-column: 1 / -1;
	}

	.om-single-blog__sidebar-cta {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   RESPONSIVE — 768px
   ========================================================================== */
@media (max-width: 768px) {
	.om-single-blog__hero {
		padding: 60px 0 40px;
	}

	.om-single-blog__title {
		font-size: clamp(24px, 7vw, 36px);
		letter-spacing: -0.5px;
	}

	.om-single-blog__layout {
		padding-top: 32px;
		padding-bottom: 56px;
	}

	.om-single-blog__sidebar {
		grid-template-columns: 1fr;
	}

	.om-single-blog__sidebar-toc,
	.om-single-blog__sidebar-cta {
		grid-column: auto;
	}

	.om-single-blog__author-box-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 28px 20px;
	}

	.om-single-blog__author-box-socials {
		justify-content: center;
	}

	.om-single-blog__postnav {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.om-single-blog__postnav-item--next {
		flex-direction: row;
		text-align: left;
	}

	.om-single-blog__postnav-item--next .om-single-blog__postnav-direction {
		justify-content: flex-start;
	}

	.om-single-blog__postnav-item--empty {
		display: none;
	}

	.om-single-blog__related-grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.om-single-blog__featured-figure {
		border-radius: 0;
	}
}

/* ==========================================================================
   RESPONSIVE — 600px
   ========================================================================== */
@media (max-width: 600px) {
	.om-single-blog__hero {
		padding: 48px 0 32px;
	}

	.om-single-blog__meta {
		gap: 10px;
	}

	.om-single-blog__related-grid {
		grid-template-columns: 1fr;
	}

	.om-single-blog .om-single-blog__entry blockquote {
		padding: 20px 20px 20px 20px;
	}

	.om-single-blog .om-single-blog__entry pre {
		padding: 16px;
		font-size: 12.5px;
	}

	.om-single-blog__toc {
		padding: 16px 18px;
	}

	.om-single-blog__sidebar-widget {
		padding: 18px;
	}
}

/* ==========================================================================
   RESPONSIVE — 480px
   ========================================================================== */
@media (max-width: 480px) {
	.om-single-blog__layout {
		padding-top: 24px;
	}

	.om-single-blog .om-single-blog__entry {
		font-size: 15px;
	}

	.om-single-blog .om-single-blog__entry h2 {
		font-size: 22px;
	}

	.om-single-blog .om-single-blog__entry h3 {
		font-size: 18px;
	}

	.om-single-blog__author-box-inner {
		padding: 20px 16px;
	}

	.om-single-blog__postnav {
		padding-bottom: 40px;
	}

	.om-single-blog__related {
		padding-bottom: 40px;
	}
}

/* ==========================================================================
   PREVENT OVERFLOW — DEFENSIVE
   ========================================================================== */
.om-single-blog__content,
.om-single-blog__entry,
.om-single-blog__sidebar {
	min-width: 0;
	overflow-wrap: anywhere;
}

.om-single-blog .om-single-blog__entry img,
.om-single-blog .om-single-blog__entry video,
.om-single-blog .om-single-blog__entry iframe,
.om-single-blog .om-single-blog__entry embed,
.om-single-blog .om-single-blog__entry object {
	max-width: 100%;
	height: auto;
}

.om-single-blog .om-single-blog__entry table {
	max-width: 100%;
	overflow-x: auto;
	display: block;
}

/* ==========================================================================
   SEARCH WIDGET
   ========================================================================== */
.om-single-blog__search-form { width: 100%; }

.om-single-blog__search-wrap {
	display: flex;
	align-items: center;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.25s, box-shadow 0.25s;
	background: #fafafa;
}

.om-single-blog__search-wrap:focus-within {
	border-color: var(--om-teal);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(27,191,196,0.1);
}

.om-single-blog__search-input {
	flex: 1;
	height: 44px;
	padding: 0 14px;
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px;
	color: var(--om-dark);
	background: transparent;
	border: none;
	outline: none;
	min-width: 0;
}

.om-single-blog__search-input::placeholder { color: #aab0bc; }

.om-single-blog__search-btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: var(--om-teal);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background 0.2s;
}

.om-single-blog__search-btn:hover { background: #17aab0; }

/* ==========================================================================
   CATEGORIES TOGGLE
   ========================================================================== */
.om-single-blog__widget-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.om-single-blog__widget-title-row .om-single-blog__widget-title {
	margin-bottom: 0;
}

.om-single-blog__cat-toggle {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	background: #f1f5f9;
	border: 1.5px solid #e2e8f0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s;
	flex-shrink: 0;
}

.om-single-blog__cat-toggle:hover {
	background: var(--om-teal);
	border-color: var(--om-teal);
}

.om-single-blog__cat-toggle:hover .om-single-blog__cat-toggle-icon { color: #fff; }

.om-single-blog__cat-toggle-icon {
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: var(--om-dark);
	display: block;
	width: 14px;
	text-align: center;
	pointer-events: none;
}

/* Collapsed state */
.om-single-blog__cat-list {
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.3s ease;
}

.om-single-blog__cat-list.is-collapsed {
	max-height: 0 !important;
	opacity: 0;
	pointer-events: none;
}

/* ==========================================================================
   LIVE SEARCH RESULTS DROPDOWN
   ========================================================================== */
.om-single-blog__search-box {
	position: relative;
}

.om-single-blog__search-results {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.12);
	z-index: 9999;
	max-height: 360px;
	overflow-y: auto;
	scroll-behavior: smooth;
}

.om-single-blog__search-results.is-active {
	display: block;
}

/* Each result item */
.om-search-result-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: var(--om-dark);
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.15s;
}

.om-search-result-item:last-child {
	border-bottom: none;
}

.om-search-result-item:hover {
	background: #f8fafc;
}

.om-search-result-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	display: block;
}

.om-search-result-thumb--placeholder {
	background: linear-gradient(135deg, #1D2433 0%, #0d3040 100%);
}

.om-search-result-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	flex: 1;
}

.om-search-result-cat {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--om-teal);
}

.om-search-result-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--om-dark);
	line-height: 1.4;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.om-search-result-item:hover .om-search-result-title {
	color: var(--om-teal);
}

.om-search-result-date {
	font-size: 11px;
	color: var(--om-muted);
	font-weight: 500;
}

/* Loading + no result states */
.om-search-loading,
.om-search-noresult,
.om-search-error {
	padding: 20px 16px;
	font-size: 13px;
	color: var(--om-muted);
	margin: 0;
	text-align: center;
	line-height: 1.6;
}

.om-search-loading {
	color: var(--om-teal);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.om-search-loading::before {
	content: '';
	width: 14px;
	height: 14px;
	border: 2px solid rgba(27,191,196,0.3);
	border-top-color: var(--om-teal);
	border-radius: 50%;
	animation: om-spin 0.7s linear infinite;
	flex-shrink: 0;
}

@keyframes om-spin {
	to { transform: rotate(360deg); }
}

.om-search-noresult {
	padding: 24px 16px;
}

.om-search-noresult strong {
	color: var(--om-dark);
}

.om-search-noresult-icon {
	font-size: 28px;
	display: block;
	margin-bottom: 8px;
}

.om-search-noresult-tip {
	font-size: 12px;
	color: #aab0bc;
	display: block;
	margin-top: 6px;
}

.om-search-error {
	color: var(--om-pink);
}

/* Results count footer */
.om-search-footer {
	padding: 8px 14px;
	font-size: 11px;
	color: var(--om-muted);
	border-top: 1px solid #f0f0f0;
	text-align: right;
	font-style: italic;
}
