/**
 * TMD Blog home & search — isolated from OpenCart Bootstrap / theme styles.
 */

/* Break out of WordPress + OpenCart wrappers */
#page.site,
#page.site > #content.site-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.tmd-blog {
	--tmd-navy: #0a2647;
	--tmd-blue: #185fa5;
	--tmd-blue-deep: #0c447c;
	--tmd-gold: #e8c468;
	--tmd-gold-text: #92700a;
	--tmd-gold-bg: #fdf3dc;
	--tmd-ink: #101828;
	--tmd-muted: #667085;
	--tmd-faint: #98a2b3;
	--tmd-border: #eaecf0;
	--tmd-tint-1: #f0f6fd;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--tmd-ink);
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Hard reset inside blog area — overrides OpenCart Bootstrap */
.tmd-blog *,
.tmd-blog *::before,
.tmd-blog *::after {
	box-sizing: border-box;
}

.tmd-blog h1,
.tmd-blog h2,
.tmd-blog h3,
.tmd-blog h4,
.tmd-blog p,
.tmd-blog ul,
.tmd-blog ol,
.tmd-blog li,
.tmd-blog figure {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
}

.tmd-blog h1,
.tmd-blog h2,
.tmd-blog h3,
.tmd-blog h4 {
	font-family: inherit;
	color: var(--tmd-ink);
	line-height: 1.25;
}

.tmd-blog p {
	color: inherit;
}

.tmd-blog a {
	text-decoration: none;
}

.tmd-blog a:not( .tmd-btn-pill ):not( .tmd-btn-dark ):not( .tmd-page ):not( .tmd-tag ):not( .tmd-scroll-subscribe ) {
	color: inherit;
}

.tmd-blog a:not( .tmd-btn-pill ):not( .tmd-btn-dark ):hover,
.tmd-blog a:not( .tmd-btn-pill ):not( .tmd-btn-dark ):focus {
	text-decoration: none;
}

.tmd-blog button,
.tmd-blog input {
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
}

.tmd-blog button.tmd-btn-dark {
	background: var(--tmd-blue);
	color: #fff;
	border: none;
	text-transform: none;
	letter-spacing: normal;
}

.tmd-blog img {
	border: 0;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.tmd-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 32px;
}

.tmd-hero {
	background: linear-gradient(165deg, var(--tmd-tint-1), #fff 78%);
	padding: 48px 0 36px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.tmd-hero h1 {
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -1.4px;
	margin: 0 0 10px;
	line-height: 1.1;
}

.tmd-hero p {
	font-size: 16px;
	color: var(--tmd-muted);
	margin: 0 auto 20px;
	max-width: 460px;
	line-height: 1.6;
}

.tmd-badge {
    display: block;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 20px;
    background: var(--tmd-gold-bg);
    border: 1px solid var(--tmd-gold);
    margin-bottom: 16px;
    width: 258px;
    margin: auto;
    margin-bottom: 18px;
    font-size: 17px;
	position: static;
}


.tmd-badge i {
	font-size: 13px;
	color: var(--tmd-gold-text);
	line-height: 1;
}

.tmd-badge span {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--tmd-gold-text);
}

.tmd-doodle {
	position: absolute;
	opacity: 0.45;
	pointer-events: none;
}

.tmd-search-hero {
	display: flex;
	gap: 9px;
	max-width: 520px;
	margin: 0 auto;
}

.tmd-search-hero .tmd-inp {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 15px;
	font-size: 14px;
	border-radius: 8px;
	border: 1px solid var(--tmd-border);
	outline: none;
	background: #fff;
	color: var(--tmd-ink);
	transition: border-color 0.15s;
}

.tmd-search-hero .tmd-inp:focus {
	border-color: var(--tmd-blue);
}

.tmd-btn-dark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 22px;
	font-size: 14px;
	font-weight: 600;
	background: var(--tmd-blue);
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.16s, transform 0.16s;
}

.tmd-btn-dark:hover {
	background: var(--tmd-blue-deep);
	color: #fff;
	transform: translateY(-1px);
}

.tmd-section {
	padding-top: 40px;
}

.tmd-section + .tmd-section {
	padding-top: 48px;
}

.tmd-sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.tmd-sec-head h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.7px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.tmd-sq {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: #fff;
	line-height: 1;
}

.tmd-sec-head a {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tmd-blue) !important;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.tmd-sec-head a:hover {
	color: var(--tmd-blue-deep) !important;
	gap: 9px;
}

.tmd-meta {
	font-size: 12.5px;
	color: var(--tmd-faint);
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	margin: 0 0 8px;
	line-height: 1.4;
}

.tmd-dot {
	flex-shrink: 0;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--tmd-border);
}

.tmd-cat {
	font-weight: 600;
	color: var(--tmd-blue);
}

.tmd-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	align-items: start;
}

.tmd-big {
	display: block;
	transition: transform 0.2s ease;
}

.tmd-big:hover {
	transform: translateY(-3px);
}

.tmd-art {
	position: relative;
	overflow: hidden;
	background: #eef2f6;
}

.tmd-art-lg {
	height: 230px;
	border-radius: 14px;
	margin-bottom: 14px;
}

.tmd-art-row {
	width: 96px;
	height: 76px;
	border-radius: 10px;
	flex-shrink: 0;
}

.tmd-art-sm {
	height: 130px;
	border-radius: 12px;
	margin-bottom: 12px;
}

.tmd-art-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tmd-art-fill {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.tmd-art i {
	position: relative;
	z-index: 1;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1;
}

.tmd-art-lg .tmd-art-fill i,
.tmd-art-lg > i {
	font-size: 52px;
}

.tmd-art-row .tmd-art-fill i {
	font-size: 24px;
}

.tmd-art-sm .tmd-art-fill i {
	font-size: 32px;
}

.tmd-art-decor {
	position: absolute;
	inset: 0;
	opacity: 0.16;
	pointer-events: none;
}

.tmd-big h3 {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.4px;
	margin: 0 0 8px;
	line-height: 1.35;
	transition: color 0.15s;
}

.tmd-big:hover h3 {
	color: var(--tmd-blue);
}

.tmd-ex {
	font-size: 14.5px;
	color: var(--tmd-muted);
	margin: 0;
	line-height: 1.6;
}

.tmd-row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tmd-border);
	transition: transform 0.18s ease;
	align-items: center;
}

.tmd-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.tmd-row:first-child {
	padding-top: 0;
}

.tmd-row:hover {
	transform: translateX(3px);
}

.tmd-row h3 {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	line-height: 1.42;
	letter-spacing: -0.2px;
	transition: color 0.15s;
}

.tmd-row:hover h3 {
	color: var(--tmd-blue);
}

.tmd-sm-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.tmd-sm {
	display: block;
	transition: transform 0.2s ease;
}

.tmd-sm:hover {
	transform: translateY(-3px);
}

.tmd-sm h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 6px;
	line-height: 1.4;
	letter-spacing: -0.25px;
	transition: color 0.15s;
}

.tmd-sm:hover h3 {
	color: var(--tmd-blue);
}

.tmd-sm .tmd-ex {
	font-size: 13.5px;
	line-height: 1.55;
}

.tmd-band {
	border-radius: 18px;
	padding: 32px 36px;
	position: relative;
	overflow: hidden;
}

.tmd-band-gold {
	background: var(--tmd-gold-bg);
	border: 1px solid #f0dfb4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.tmd-band-navy {
	background: var(--tmd-navy);
	color: #fff;
	text-align: center;
}

.tmd-band-gold .tmd-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tmd-gold-text);
	margin: 0 0 8px;
}

.tmd-band-gold h3 {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.5px;
	margin: 0 0 8px;
	line-height: 1.25;
}

.tmd-band-gold p {
	font-size: 14px;
	color: #7a6437;
	margin: 0;
	max-width: 460px;
	line-height: 1.6;
}

.tmd-band-navy h3 {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.6px;
	margin: 0 0 10px;
	color: #fff;
}

.tmd-band-navy p {
	font-size: 14.5px;
	color: #a8c2da;
	margin: 0 0 20px;
	line-height: 1.6;
}

.tmd-band-inner {
	position: relative;
	max-width: 520px;
	margin: 0 auto;
}

.tmd-pagination {
	display: flex;
	justify-content: center;
	gap: 7px;
	padding: 40px 0 56px;
	flex-wrap: wrap;
}

.tmd-page {
	min-width: 34px;
	height: 34px;
	padding: 0 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13.5px;
	border-radius: 8px;
	border: 1px solid var(--tmd-border);
	color: var(--tmd-muted);
	background: #fff;
}

.tmd-page.is-active {
	background: var(--tmd-blue);
	color: #fff !important;
	font-weight: 700;
	border-color: var(--tmd-blue);
}

.tmd-page-next {
	gap: 6px;
}

.tmd-search-results {
	padding-bottom: 48px;
}

.tmd-search-count {
	font-size: 14px;
	color: var(--tmd-muted);
	margin: 0 0 20px;
}

.tmd-empty {
	text-align: center;
	padding: 40px 0 56px;
	color: var(--tmd-muted);
}

.tmd-empty h2 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}

.tmd-section-more {
	margin-top: 32px;
}

.tmd-rows-list {
	display: block;
}

.tmd-hero-plain {
	padding-top: 40px;
	padding-bottom: 32px;
}

.tmd-hero-plain h1 {
	margin-top: 0;
}

.tmd-hero-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin-bottom: 20px;
	text-align: left;
}

.tmd-archive-count {
	font-size: 13px;
	font-weight: 600;
	color: var(--tmd-faint);
	margin: 0 0 18px;
	letter-spacing: 0.2px;
}

.tmd-category-posts {
	padding-top: 28px;
	padding-bottom: 48px;
}

.tmd-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.tmd-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.tmd-blog .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
	.tmd-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.tmd-big:hover,
	.tmd-sm:hover,
	.tmd-row:hover,
	.tmd-btn-dark:hover {
		transform: none;
	}
}

@media (max-width: 900px) {
	.tmd-wrap {
		padding: 0 20px;
	}

	.tmd-split,
	.tmd-sm-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tmd-hero h1 {
		font-size: 32px;
	}

	.tmd-sec-head h2 {
		font-size: 22px;
	}

	.tmd-band {
		padding: 24px 20px;
	}
}

@media (max-width: 620px) {
	.tmd-search-hero {
		flex-direction: column;
	}

	.tmd-search-hero .tmd-inp,
	.tmd-search-hero .tmd-btn-dark {
		width: 100%;
	}
}

/* ============================================================
   SINGLE POST
   ============================================================ */

.tmd-single-hero {
	padding: 36px 0 28px;
	background: linear-gradient(165deg, var(--tmd-tint-1), #fff 85%);
}

.tmd-single-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.tmd-btn-pill {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	min-height: 42px !important;
	padding: 0 18px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	border-radius: 10px !important;
	border: 1.5px solid transparent !important;
	white-space: nowrap !important;
	text-decoration: none !important;
	cursor: pointer !important;
	transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s !important;
}

.tmd-btn-pill i {
	font-size: 16px !important;
	line-height: 1 !important;
	opacity: 1 !important;
}

.tmd-btn-pill-outline,
.tmd-btn-pill-outline:link,
.tmd-btn-pill-outline:visited {
	color: var(--tmd-navy) !important;
	background: #fff !important;
	border-color: #d0d5dd !important;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08) !important;
}

.tmd-btn-pill-outline:hover,
.tmd-btn-pill-outline:focus {
	color: var(--tmd-blue) !important;
	background: var(--tmd-tint-1) !important;
	border-color: var(--tmd-blue) !important;
	box-shadow: 0 2px 6px rgba(24, 95, 165, 0.12) !important;
	transform: translateY(-1px) !important;
}

.tmd-btn-pill-cat,
.tmd-btn-pill-cat:link,
.tmd-btn-pill-cat:visited {
	color: #fff !important;
	background: var(--tmd-blue) !important;
	border-color: var(--tmd-blue) !important;
	box-shadow: 0 2px 6px rgba(24, 95, 165, 0.28) !important;
}

.tmd-btn-pill-cat:hover,
.tmd-btn-pill-cat:focus {
	color: #fff !important;
	background: var(--tmd-blue-deep) !important;
	border-color: var(--tmd-blue-deep) !important;
	box-shadow: 0 3px 10px rgba(12, 68, 124, 0.35) !important;
	transform: translateY(-1px) !important;
}

.tmd-single-title {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.2;
	margin: 0 0 16px;
	max-width: 820px;
}

.tmd-single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13.5px;
	color: var(--tmd-muted);
}

.tmd-single-meta i {
	font-size: 14px;
	opacity: 0.7;
}

.tmd-single-featured {
	margin: 28px 0 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--tmd-tint-1);
}

.tmd-single-featured-img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 460px;
	object-fit: cover;
}

.tmd-single-body {
	max-width: 720px;
	margin: 0 auto;
	padding: 40px 0 48px;
}

.tmd-topics-bar {
	padding: 0 0 8px;
	margin-top: -12px;
}

.tmd-topics-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--tmd-border);
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.tmd-topics-label {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: var(--tmd-navy);
	white-space: nowrap;
}

.tmd-topics-label i {
	font-size: 15px;
	color: var(--tmd-blue);
}

.tmd-topics-scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 2px 0;
}

.tmd-topics-scroll::-webkit-scrollbar {
	display: none;
}

.tmd-topic-pill {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	flex-shrink: 0;
	height: 36px !important;
	padding: 0 14px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--tmd-ink) !important;
	background: #f8fafc !important;
	border: 1px solid var(--tmd-border) !important;
	border-radius: 20px !important;
	transition: all 0.16s !important;
}

.tmd-topic-pill:hover {
	color: var(--tmd-blue) !important;
	border-color: var(--tmd-blue) !important;
	background: var(--tmd-tint-1) !important;
}

.tmd-topic-count {
	font-size: 11px;
	font-weight: 700;
	color: var(--tmd-blue);
	background: rgba(24, 95, 165, 0.1);
	padding: 2px 7px;
	border-radius: 10px;
	line-height: 1.3;
}

@media (max-width: 900px) {
	.tmd-topics-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

.tmd-entry-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--tmd-ink);
}

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

.tmd-entry-content > *:last-child {
	margin-bottom: 0;
}

.tmd-entry-content p {
	margin: 0 0 1.4em;
}

.tmd-entry-content h2,
.tmd-entry-content h3,
.tmd-entry-content h4 {
	font-weight: 700;
	letter-spacing: -0.4px;
	line-height: 1.3;
	margin: 2em 0 0.75em;
	color: var(--tmd-ink);
}

.tmd-entry-content h2 {
	font-size: 26px;
}

.tmd-entry-content h3 {
	font-size: 21px;
}

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

.tmd-entry-content ul,
.tmd-entry-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.5em;
}

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

.tmd-entry-content a {
	color: var(--tmd-blue) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tmd-entry-content a:hover {
	color: var(--tmd-blue-deep) !important;
}

.tmd-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1.5em 0;
}

.tmd-entry-content blockquote {
	margin: 1.8em 0;
	padding: 20px 24px;
	border-left: 4px solid var(--tmd-blue);
	background: var(--tmd-tint-1);
	border-radius: 0 12px 12px 0;
	font-size: 18px;
	font-style: italic;
	color: var(--tmd-muted);
}

.tmd-entry-content pre,
.tmd-entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 14px;
}

.tmd-entry-content pre {
	background: #1e293b;
	color: #e2e8f0;
	padding: 20px;
	border-radius: 12px;
	overflow-x: auto;
	margin: 1.5em 0;
}

.tmd-entry-content code {
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	color: #334155;
}

.tmd-entry-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

.tmd-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 15px;
}

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

.tmd-entry-content th {
	background: var(--tmd-tint-1);
	font-weight: 600;
}

.tmd-page-links {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid var(--tmd-border);
	font-size: 14px;
}

.tmd-page-num {
	display: inline-block;
	padding: 4px 10px;
	margin: 0 4px;
	border-radius: 6px;
	border: 1px solid var(--tmd-border);
}

.tmd-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 24px 0;
	border-top: 1px solid var(--tmd-border);
}

.tmd-tags-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--tmd-faint);
	margin-right: 4px;
}

.tmd-tag {
	font-size: 13px;
	font-weight: 500;
	color: var(--tmd-muted) !important;
	background: #f8fafc;
	border: 1px solid var(--tmd-border);
	padding: 5px 12px;
	border-radius: 20px;
	transition: all 0.15s;
}

.tmd-tag:hover {
	color: var(--tmd-blue) !important;
	border-color: var(--tmd-blue);
	background: var(--tmd-tint-1);
}

.tmd-author {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 16px;
	padding: 24px;
	background: var(--tmd-tint-1);
	border-radius: 16px;
	margin-top: 32px;
}

.tmd-author-avatar img {
	border-radius: 50%;
	display: block;
}

.tmd-author-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--tmd-faint);
	margin: 0 0 4px;
}

.tmd-author-name {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
}

.tmd-author-bio {
	font-size: 14.5px;
	color: var(--tmd-muted);
	margin: 0;
	line-height: 1.6;
}

.tmd-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--tmd-border);
}

.tmd-post-nav-spacer {
	display: block;
}

.tmd-post-nav-link {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--tmd-border);
	border-radius: 12px;
	transition: all 0.18s;
}

.tmd-post-nav-link:hover {
	border-color: var(--tmd-blue);
	background: var(--tmd-tint-1);
	transform: translateY(-2px);
}

.tmd-post-nav-next {
	text-align: right;
}

.tmd-post-nav-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: var(--tmd-blue);
	margin-bottom: 6px;
}

.tmd-post-nav-next .tmd-post-nav-label {
	justify-content: flex-end;
}

.tmd-post-nav-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tmd-ink);
}

.tmd-related {
	padding-bottom: 16px;
}

.tmd-comments-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 32px 56px;
}

.tmd-single .comments-area {
	margin: 0;
}

.tmd-single .comments-title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.5px;
	margin-bottom: 24px;
}

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

.tmd-single .comment-list .comment {
	margin-bottom: 20px;
	padding: 18px;
	border: 1px solid var(--tmd-border);
	border-radius: 12px;
}

.tmd-single .comment-form input[type="text"],
.tmd-single .comment-form input[type="email"],
.tmd-single .comment-form input[type="url"],
.tmd-single .comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	border: 1px solid var(--tmd-border);
	border-radius: 8px;
	margin-bottom: 12px;
}

.tmd-single .comment-form input[type="submit"] {
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	background: var(--tmd-blue);
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.tmd-single-title {
		font-size: 28px;
	}

	.tmd-post-nav {
		grid-template-columns: 1fr;
	}

	.tmd-post-nav-next {
		text-align: left;
	}

	.tmd-post-nav-next .tmd-post-nav-label {
		justify-content: flex-start;
	}
}

@media (max-width: 620px) {
	.tmd-single-body {
		padding: 28px 0 36px;
	}

	.tmd-entry-content {
		font-size: 16px;
	}

	.tmd-author {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.tmd-author-avatar {
		justify-self: center;
	}
}

/* ============================================================
   SINGLE ARTICLE (tmd-blog-article.html)
   ============================================================ */

.tmd-article-page {
	--tmd-blue-light: #e6f1fb;
	--tmd-blue-mid: #85b7eb;
	--tmd-green: #0f7a4d;
	--tmd-green-bg: #e4f6ed;
	position: relative;
}

.tmd-shell {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}

.tmd-read-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: var(--tmd-blue);
	z-index: 50;
	transition: width 0.1s linear;
	pointer-events: none;
}

.tmd-article-page .tmd-single-toolbar {
	padding-top: 24px;
	margin-bottom: 4px;
}

.tmd-crumb {
	font-size: 13px;
	color: var(--tmd-faint);
	padding: 26px 0 0;
	margin: 0;
}

.tmd-crumb a:hover {
	color: var(--tmd-blue) !important;
}

.tmd-crumb span {
	color: var(--tmd-muted);
}

.tmd-article-head {
	padding: 14px 0 0;
}

.tmd-article-chip {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 4px 11px;
	border-radius: 16px;
	background: var(--tmd-blue-light);
	color: var(--tmd-blue) !important;
	margin-bottom: 14px;
}

.tmd-article-title {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -1.2px;
	line-height: 1.2;
	margin: 0 0 18px;
	max-width: 800px;
}

.tmd-byline {
	display: flex;
	align-items: center;
	gap: 11px;
	flex-wrap: wrap;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--tmd-border);
}

.tmd-byline-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tmd-blue), var(--tmd-blue-deep));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
}

.tmd-byline-author b {
	font-size: 14px;
	font-weight: 600;
	display: block;
	line-height: 1.3;
}

.tmd-byline-author small {
	font-size: 12.5px;
	color: var(--tmd-faint);
	display: block;
}

.tmd-byline-sep {
	color: var(--tmd-border);
}

.tmd-byline-meta {
	font-size: 13px;
	color: var(--tmd-faint);
}

.tmd-share {
	margin-left: auto;
	display: flex;
	gap: 8px;
}

.tmd-share a {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid var(--tmd-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tmd-muted) !important;
	background: #fff;
	transition: all 0.15s;
}

.tmd-share a:hover {
	border-color: var(--tmd-blue);
	color: var(--tmd-blue) !important;
	background: var(--tmd-blue-light);
}

.tmd-article-banner {
	margin: 30px 0 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--tmd-border);
}

.tmd-article-banner-img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 360px;
	object-fit: cover;
}

.tmd-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 52px;
	align-items: start;
	padding: 34px 0 0;
}

.tmd-article-main {
	max-width: 720px;
	min-width: 0;
}

.tmd-article-aside {
	position: sticky;
	top: 96px;
}

.tmd-sidebar-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	color: var(--tmd-faint);
	margin: 0 0 14px;
}

.tmd-article-toc {
	border: 1px solid var(--tmd-border);
	border-radius: 12px;
	padding: 18px 20px;
	margin-bottom: 18px;
	max-height: calc(100vh - 260px);
	overflow-y: auto;
}

.tmd-article-toc a {
	display: block;
	font-size: 13.5px;
	color: var(--tmd-muted) !important;
	padding: 6px 0 6px 13px;
	border-left: 2px solid var(--tmd-border);
	line-height: 1.45;
	transition: all 0.15s;
}

.tmd-article-toc a.is-sub {
	padding-left: 26px;
	font-size: 12.5px;
}

.tmd-article-toc a:hover {
	color: var(--tmd-blue) !important;
	border-left-color: var(--tmd-blue-mid);
}

.tmd-article-toc a.is-active {
	color: var(--tmd-blue) !important;
	font-weight: 650;
	border-left-color: var(--tmd-blue);
}

.tmd-module-promo {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--tmd-border);
	margin-bottom: 18px;
	background: #fff;
}

.tmd-module-promo-art {
	height: 96px;
	background: linear-gradient(140deg, var(--tmd-blue), var(--tmd-navy));
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.tmd-module-promo-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tmd-module-promo-art i {
	font-size: 32px;
	color: rgba(255, 255, 255, 0.94);
	position: relative;
	z-index: 1;
}

.tmd-module-promo-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.92);
	color: var(--tmd-blue);
	padding: 3px 9px;
	border-radius: 14px;
	z-index: 2;
}

.tmd-module-promo-body {
	padding: 16px;
}

.tmd-module-promo-body h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
	letter-spacing: -0.2px;
}

.tmd-module-promo-body p {
	font-size: 13px;
	color: var(--tmd-muted);
	margin: 0 0 12px;
	line-height: 1.5;
}

.tmd-module-promo-btn {
	display: block !important;
	width: 100%;
	text-align: center;
	padding: 10px !important;
	font-size: 13.5px !important;
	border-radius: 8px !important;
}

.tmd-sidebar-mini {
	border: 1px solid var(--tmd-border);
	border-radius: 12px;
	padding: 18px 20px;
}

.tmd-sidebar-mini a {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	padding: 9px 0;
	border-bottom: 1px solid var(--tmd-border);
	color: var(--tmd-ink) !important;
}

.tmd-sidebar-mini a:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.tmd-sidebar-mini a:hover {
	color: var(--tmd-blue) !important;
}

.tmd-sidebar-mini small {
	display: block;
	font-size: 11.5px;
	color: var(--tmd-faint);
	font-weight: 400;
	margin-top: 2px;
}

.tmd-end-cta {
	background: var(--tmd-navy);
	border-radius: 16px;
	padding: 34px 38px;
	margin: 52px 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
}

.tmd-end-cta h3 {
	font-size: 21px;
	font-weight: 750;
	color: #fff;
	margin: 0 0 7px;
	letter-spacing: -0.4px;
}

.tmd-end-cta p {
	font-size: 14.5px;
	color: #a8c2da;
	margin: 0;
	max-width: 420px;
}

.tmd-end-cta-btn {
	padding: 13px 26px;
	font-size: 14.5px;
	font-weight: 600;
	border-radius: 9px;
	background: #fff !important;
	color: var(--tmd-navy) !important;
	border: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	transition: transform 0.15s;
}

.tmd-end-cta-btn:hover {
	transform: translateY(-1px);
	color: var(--tmd-navy) !important;
}

/* Article content refinements */
.tmd-article-page .tmd-entry-content .wp-block-rank-math-toc-block,
.tmd-article-page .tmd-entry-content #rank-math-toc,
.tmd-article-page .tmd-entry-content .yoast-table-of-contents,
.tmd-article-page .tmd-entry-content .wp-block-yoast-seo-table-of-contents,
.tmd-article-page .tmd-entry-content #ez-toc-container,
.tmd-article-page .tmd-entry-content .ez-toc-container,
.tmd-article-page .tmd-entry-content div[class*="ez-toc-container"] {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tmd-article-page .tmd-entry-content {
	font-size: 16.5px;
	line-height: 1.7;
	color: #3b4a61;
}

.tmd-article-page .tmd-entry-content p {
	margin: 0 0 18px;
}

.tmd-article-page .tmd-entry-content h2 {
	font-size: 26px;
	font-weight: 750;
	letter-spacing: -0.6px;
	margin: 44px 0 14px;
	scroll-margin-top: 96px;
}

.tmd-article-page .tmd-entry-content h3 {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.3px;
	margin: 30px 0 10px;
	scroll-margin-top: 96px;
}

.tmd-article-page .tmd-entry-content strong {
	color: var(--tmd-ink);
	font-weight: 650;
}

.tmd-article-page .tmd-entry-content a {
	font-weight: 600;
	border-bottom: 1px solid var(--tmd-blue-mid);
	text-decoration: none !important;
}

.tmd-article-page .tmd-entry-content a:hover {
	border-bottom-color: var(--tmd-blue);
}

.tmd-article-page .tmd-entry-content li {
	font-size: 16.5px;
	color: #3b4a61;
	margin-bottom: 9px;
}

.tmd-article-page .tmd-entry-content img,
.tmd-article-page .tmd-entry-content figure {
	border-radius: 12px;
	border: 1px solid var(--tmd-border);
}

.tmd-article-page .tmd-entry-content figcaption {
	font-size: 13px;
	color: var(--tmd-faint);
	text-align: center;
	margin-top: 9px;
}

.tmd-article-page .tmd-entry-content blockquote,
.tmd-article-page .tmd-entry-content .callout {
	background: var(--tmd-blue-light);
	border-left: 3px solid var(--tmd-blue);
	border-radius: 0 10px 10px 0;
	padding: 18px 22px;
	margin: 26px 0;
	font-style: italic;
	font-size: 15.5px;
	color: #28405c;
}

.tmd-article-page .tmd-entry-content .keybox {
	background: var(--tmd-gold-bg);
	border: 1px solid #f0dfb4;
	border-radius: 12px;
	padding: 20px 24px;
	margin: 26px 0;
}

.tmd-article-page .tmd-entry-content .keybox > p:first-child,
.tmd-article-page .tmd-entry-content .keybox .t {
	font-size: 13px;
	font-weight: 700;
	color: var(--tmd-gold-text);
	margin: 0 0 10px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	font-style: normal;
}

.tmd-article-page .tmd-entry-content .keybox ul {
	margin: 0;
}

.tmd-article-page .tmd-entry-content .keybox li {
	font-size: 15px;
	color: #6b5720;
}

.tmd-article-page .tmd-entry-content details {
	border: 1px solid var(--tmd-border);
	border-radius: 10px;
	padding: 15px 18px;
	margin-bottom: 10px;
	background: #fff;
}

.tmd-article-page .tmd-entry-content details summary {
	list-style: none;
	cursor: pointer;
	font-size: 15.5px;
	font-weight: 650;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	color: var(--tmd-ink);
}

.tmd-article-page .tmd-entry-content details summary::-webkit-details-marker {
	display: none;
}

.tmd-article-page .tmd-entry-content details summary::after {
	content: '+';
	color: var(--tmd-blue);
	font-size: 19px;
	font-weight: 600;
	flex-shrink: 0;
}

.tmd-article-page .tmd-entry-content details[open] summary::after {
	content: '\2212';
}

.tmd-article-page .tmd-entry-content details p {
	margin: 12px 0 0;
	font-size: 15.5px;
}

.tmd-article-page .tmd-post-nav {
	margin-top: 40px;
}

.tmd-article-page .tmd-comments-wrap {
	padding-bottom: 56px;
}

@media (max-width: 1000px) {
	.tmd-article-layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.tmd-article-aside {
		position: static;
		order: -1;
		margin-bottom: 30px;
	}

	.tmd-article-toc {
		max-height: none;
	}

	.tmd-article-title {
		font-size: 29px;
	}
}

@media (max-width: 620px) {
	.tmd-shell {
		padding: 0 20px;
	}

	.tmd-end-cta {
		padding: 26px 22px;
	}

	.tmd-share {
		margin-left: 0;
		width: 100%;
	}
}

