/* Blog listing, single post, and article content */

/* ── Page shell ─────────────────────────────────────────────── */
.ds-blog-page {
	background: #f4f7fb;
	padding-block: 2rem 2.5rem;
}

.ds-blog-page .ds-container,
.ds-blog-page .ds-blog-layout,
.ds-blog-page .ds-blog-trust-wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.ds-blog-page .ds-blog-layout {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr) !important;
	gap: 1.75rem !important;
	align-items: start !important;
}

.ds-blog-content {
	min-width: 0;
}

/* ── Listing hero ──────────────────────────────────────────── */
.ds-blog-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #082f47 0%, #0e4163 45%, #1d3267 100%);
	padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.ds-blog-hero::before,
.ds-blog-hero::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	pointer-events: none;
}

.ds-blog-hero::before {
	width: 280px;
	height: 280px;
	top: -80px;
	right: 18%;
}

.ds-blog-hero::after {
	width: 160px;
	height: 160px;
	bottom: -40px;
	left: 8%;
}

.ds-blog-hero-wrap,
.ds-blog-hero-grid {
	position: relative;
	z-index: 1;
}

.ds-blog-hero h1,
.ds-blog-hero p,
.ds-blog-hero .wp-block-query-title,
.ds-blog-hero .ds-hero-kicker,
.ds-blog-hero .wp-block-term-description,
.ds-blog-hero .ds-blog-breadcrumb,
.ds-blog-hero .ds-blog-breadcrumb a,
.ds-blog-hero .ds-blog-hero-title {
	color: #fff !important;
}

.ds-blog-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.875rem;
}

.ds-blog-breadcrumb a {
	color: rgba(255, 255, 255, 0.78) !important;
	text-decoration: none;
	font-weight: 500;
}

.ds-blog-breadcrumb a:hover {
	color: #fff !important;
}

.ds-blog-breadcrumb .ds-breadcrumb-sep {
	color: rgba(255, 255, 255, 0.45);
}

.ds-blog-breadcrumb .ds-breadcrumb-current {
	color: #fff;
	font-weight: 600;
}

.ds-blog-hero-title,
.ds-blog-hero .wp-block-query-title {
	margin: 0 0 0.75rem;
	line-height: 1.08;
	font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	font-weight: 800;
}

.ds-blog-hero-lead,
.ds-blog-hero .wp-block-term-description {
	max-width: 34rem;
	margin: 0;
	opacity: 0.9;
	line-height: 1.65;
	font-size: 0.975rem;
}

.ds-blog-hero-visual {
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ds-blog-hero-visual img {
	display: block;
	max-width: min(100%, 340px);
	height: auto;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

/* ── Sidebar ───────────────────────────────────────────────── */
.ds-blog-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ds-blog-widget {
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 14px;
	padding: 1.1rem 1.15rem;
	box-shadow: 0 2px 10px rgba(17, 91, 138, 0.04);
}

.ds-blog-widget__title {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #1d3267;
}

.ds-blog-search {
	display: flex;
	align-items: stretch;
	border: 1px solid #dbe3ec;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
}

.ds-blog-search input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 0.7rem 0.85rem;
	font-size: 0.875rem;
	color: #334155;
	min-width: 0;
}

.ds-blog-search input:focus {
	outline: none;
}

.ds-blog-search button {
	border: 0;
	background: transparent;
	color: #64748b;
	padding: 0 0.85rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}

.ds-blog-search button:hover {
	color: #115b8a;
}

.ds-blog-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ds-blog-cat-list li + li {
	margin-top: 0.15rem;
}

.ds-blog-cat-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.55rem 0.7rem;
	border-radius: 8px;
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
	transition: background 0.2s ease, color 0.2s ease;
}

.ds-blog-cat-list a:hover {
	background: #f0f6fb;
	color: #115b8a;
}

.ds-blog-cat-list li.is-active a {
	background: #e8f4fc;
	color: #115b8a;
}

.ds-blog-cat-list .count {
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	min-width: 1.5rem;
	text-align: center;
}

.ds-blog-cat-list li.is-active .count {
	background: #fff;
	color: #115b8a;
}

.ds-blog-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.ds-blog-tag {
	display: inline-flex;
	padding: 0.35rem 0.7rem;
	border-radius: 8px;
	border: 1px solid #dbe3ec;
	background: #f8fafc;
	color: #475569;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ds-blog-tag:hover {
	background: #115b8a;
	border-color: #115b8a;
	color: #fff;
}

.ds-blog-widget--newsletter {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.ds-blog-newsletter {
	background: linear-gradient(160deg, #082f47 0%, #115b8a 100%);
	border-radius: 14px;
	padding: 1.25rem 1.15rem;
	color: #fff;
}

.ds-blog-newsletter__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	margin-bottom: 0.75rem;
}

.ds-blog-newsletter__title {
	margin: 0 0 0.45rem;
	font-size: 1rem;
	color: #fff;
}

.ds-blog-newsletter p {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	opacity: 0.88;
}

.ds-blog-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.ds-blog-newsletter__form input {
	border: 0;
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
	font-size: 0.8125rem;
}

.ds-blog-newsletter__form button {
	border: 0;
	border-radius: 8px;
	padding: 0.65rem 0.85rem;
	background: #f36735;
	color: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ds-blog-newsletter__form button:hover {
	background: #e05a2a;
}

/* ── Toolbar ───────────────────────────────────────────────── */
.ds-blog-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #dbe3ec;
}

.ds-blog-results-count {
	margin: 0;
	font-size: 0.875rem;
	color: #64748b;
}

.ds-blog-sort {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.ds-blog-sort__label {
	font-size: 0.875rem;
	color: #64748b;
}

.ds-blog-sort__select {
	border: 1px solid #dbe3ec;
	border-radius: 8px;
	padding: 0.45rem 1.75rem 0.45rem 0.65rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1d3267;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%2364748b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
	appearance: none;
	cursor: pointer;
}

/* ── Trust bar ─────────────────────────────────────────────── */
.ds-blog-trust-wrap {
	margin-top: 2rem;
}

.ds-blog-trust-bar {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 1rem !important;
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 14px;
	padding: 1.15rem 1.25rem;
	box-shadow: 0 2px 12px rgba(17, 91, 138, 0.05);
}

.ds-blog-trust-bar > .wp-block-column {
	width: 100% !important;
	flex-basis: auto !important;
}

.ds-blog-trust-bar p {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #475569;
}

.ds-blog-trust-bar strong {
	color: #1d3267;
}

.ds-blog-main,
.ds-blog-archive-page {
	background: #f4f7fb;
}

/* ── Single post hero ──────────────────────────────────────── */
.ds-post-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #082f47 0%, #0e4163 45%, #1d3267 100%);
	padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.ds-post-hero::before,
.ds-post-hero::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	pointer-events: none;
}

.ds-post-hero::before {
	width: 260px;
	height: 260px;
	top: -70px;
	right: 16%;
}

.ds-post-hero::after {
	width: 140px;
	height: 140px;
	bottom: -35px;
	left: 6%;
}

.ds-post-hero-wrap,
.ds-post-hero-grid {
	position: relative;
	z-index: 1;
}

.ds-post-hero .ds-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.ds-post-hero h1,
.ds-post-hero .wp-block-post-title,
.ds-post-hero .ds-post-hero-title,
.ds-post-hero .ds-post-hero-lead,
.ds-post-hero .ds-post-hero-meta,
.ds-post-hero .ds-post-hero-meta time,
.ds-post-hero .ds-blog-breadcrumb,
.ds-post-hero .ds-blog-breadcrumb a {
	color: #fff !important;
}

.ds-post-hero-category {
	margin: 0 0 0.85rem;
}

.ds-post-hero-category a,
.ds-post-hero-category .wp-block-post-terms__term {
	display: inline-block;
	padding: 0.28rem 0.65rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ds-post-hero-title,
.ds-post-hero .wp-block-post-title {
	margin: 0 0 0.85rem;
	line-height: 1.12;
	font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	font-weight: 800;
	max-width: 36rem;
}

.ds-post-hero-lead {
	max-width: 34rem;
	margin: 0 0 1.15rem;
	opacity: 0.9;
	line-height: 1.65;
	font-size: 0.975rem;
}

.ds-post-hero-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.ds-post-author-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.35);
}

.ds-post-hero-meta__text {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.875rem;
	opacity: 0.92;
}

.ds-post-hero-meta__sep {
	opacity: 0.55;
}

.ds-post-hero-visual {
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ds-post-hero-visual__img,
.ds-post-hero-visual img {
	display: block;
	max-width: min(100%, 320px);
	height: auto;
	border-radius: 12px;
	filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

/* ── Single post layout ─────────────────────────────────────── */
.ds-post-page {
	background: #f4f7fb;
	padding-block: 2rem 2.5rem;
}

.ds-post-page .ds-container,
.ds-post-page .ds-post-layout,
.ds-post-page .ds-blog-trust-wrap {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.ds-post-page .ds-post-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 320px !important;
	gap: 1.75rem !important;
	align-items: start !important;
}

.ds-post-main {
	min-width: 0;
}

.ds-post-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.ds-single-post {
	background: #f4f7fb;
}

.ds-article-card {
	box-shadow: 0 2px 16px rgba(17, 91, 138, 0.06);
	margin-top: 0;
}

/* Article content navigation */
.ds-entry-content .ds-article-content-nav,
.ds-post-content-nav {
	border: 1px solid #dbe3ec;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 4px 22px rgba(8, 47, 71, 0.06);
	overflow: hidden;
}

.ds-entry-content .ds-article-content-nav {
	margin: 0 0 2.25rem;
}

.ds-post-content-nav {
	position: sticky;
	top: calc(var(--ds-header-h, 72px) + 12px);
	padding: 0;
}

.ds-article-content-nav__head,
.ds-post-content-nav__head {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 1.15rem;
	border-bottom: 1px solid #e8eef4;
	background: linear-gradient(180deg, #f4f9fc 0%, #fafcfe 100%);
}

.ds-article-content-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	border-radius: 10px;
	background: rgba(17, 91, 138, 0.1);
	color: var(--wp--preset--color--primary, #115b8a);
}

.ds-article-content-nav__title,
.ds-post-content-nav .ds-blog-widget__title {
	margin: 0;
	flex: 1 1 auto;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy, #1d3267);
	line-height: 1.3;
}

.ds-article-content-nav__count,
.ds-post-content-nav__count {
	flex: 0 0 auto;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(17, 91, 138, 0.08);
	color: #64748b;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.ds-article-content-nav__list,
.ds-post-content-nav__list {
	list-style: none;
	margin: 0;
	padding: 0.75rem 0.85rem 0.85rem;
	display: grid;
	gap: 0.15rem;
	counter-reset: ds-toc;
	max-height: none;
}

.ds-entry-content .ds-article-content-nav__item,
.ds-post-content-nav__item {
	position: relative;
	margin: 0;
	padding: 0;
}

.ds-entry-content .ds-article-content-nav__item a,
.ds-post-content-nav__item a {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	color: #475569 !important;
	font-size: 0.8125rem;
	font-weight: 500 !important;
	line-height: 1.45;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ds-entry-content .ds-article-content-nav__item a::before,
.ds-post-content-nav__item a::before {
	content: "";
	flex: 0 0 0.45rem;
	width: 0.45rem;
	height: 0.45rem;
	margin-top: 0.45rem;
	border-radius: 999px;
	background: #cbd5e1;
	transition: background 0.15s ease, transform 0.15s ease;
}

.ds-entry-content .ds-article-content-nav__item.is-level-2 > a,
.ds-post-content-nav__item.is-level-2 > a {
	font-weight: 600 !important;
	color: #1e293b !important;
}

.ds-entry-content .ds-article-content-nav__item.is-level-2 > a::before,
.ds-post-content-nav__item.is-level-2 > a::before {
	background: var(--wp--preset--color--primary, #115b8a);
}

.ds-entry-content .ds-article-content-nav__item.is-level-3 > a,
.ds-post-content-nav__item.is-level-3 > a {
	padding-left: 1.35rem;
	font-size: 0.78125rem;
}

.ds-entry-content .ds-article-content-nav__item.is-level-3 > a::before,
.ds-post-content-nav__item.is-level-3 > a::before {
	margin-left: 0.55rem;
	width: 0.35rem;
	height: 0.35rem;
	margin-top: 0.48rem;
}

.ds-entry-content .ds-article-content-nav__label,
.ds-post-content-nav__label {
	display: block;
	min-width: 0;
}

.ds-entry-content .ds-article-content-nav__item a:hover,
.ds-post-content-nav__item a:hover,
.ds-post-content-nav__item.is-active a,
.ds-article-content-nav__item.is-active a {
	background: rgba(17, 91, 138, 0.07);
	color: var(--wp--preset--color--primary, #115b8a) !important;
}

.ds-entry-content .ds-article-content-nav__item.is-active > a::before,
.ds-post-content-nav__item.is-active > a::before {
	background: var(--wp--preset--color--accent, #f36735);
	transform: scale(1.15);
}

.ds-article-content-nav.is-collapsed .ds-article-content-nav__item.is-toc-extra {
	display: none;
}

.ds-article-content-nav__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 1.7rem);
	margin: 0 0.85rem 0.85rem;
	padding: 0.65rem 0.85rem;
	border: 1px dashed #b8c9d9;
	border-radius: 10px;
	background: #f8fafc;
	color: var(--wp--preset--color--primary, #115b8a);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ds-article-content-nav__toggle:hover {
	background: #eef6fb;
	border-color: var(--wp--preset--color--primary, #115b8a);
}

.ds-article-content-nav.is-collapsible:not(.is-collapsed) .ds-article-content-nav__toggle {
	border-style: solid;
	background: #eef6fb;
}

.ds-post-content-nav__list {
	max-height: min(24rem, 55vh);
	overflow-y: auto;
	scrollbar-width: thin;
}

.ds-entry-content h2[id],
.ds-entry-content h3[id] {
	scroll-margin-top: calc(var(--ds-header-h, 72px) + 18px);
}

/* Author card */
.ds-author-card__body {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.ds-author-card__avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	flex-shrink: 0;
}

.ds-author-card__name {
	display: block;
	color: #1d3267;
	font-size: 0.95rem;
	margin-bottom: 0.15rem;
}

.ds-author-card__role {
	display: block;
	font-size: 0.75rem;
	color: #64748b;
	margin-bottom: 0.55rem;
}

.ds-author-card__bio {
	margin: 0 0 0.65rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: #475569;
}

.ds-author-card__link {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #115b8a;
	text-decoration: none;
}

.ds-author-card__link:hover {
	color: #f36735;
}

/* Related sidebar list */
.ds-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ds-related-list__item + .ds-related-list__item {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid #eef2f6;
}

.ds-related-list__link {
	display: flex;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.ds-related-list__thumb {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
}

.ds-related-list__thumb--empty {
	background: #e8eef4;
	display: block;
}

.ds-related-list__content {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.ds-related-list__cat {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #115b8a;
}

.ds-related-list__title {
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1d3267;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ds-related-list__link:hover .ds-related-list__title {
	color: #f36735;
}

.ds-related-list__meta {
	font-size: 0.72rem;
	color: #64748b;
}

.ds-related-list__all {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #115b8a;
	text-decoration: none;
}

.ds-related-list__all:hover {
	color: #f36735;
}

/* Inline CTA */
.ds-post-inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.15rem 1.25rem;
	background: #f0f6fb;
	border: 1px solid #dbe3ec;
	border-radius: 12px;
}

.ds-post-inline-cta__icon {
	font-size: 1.5rem;
	line-height: 1;
}

.ds-post-inline-cta__copy {
	flex: 1 1 220px;
	min-width: 0;
}

.ds-post-inline-cta__copy strong {
	display: block;
	color: #1d3267;
	margin-bottom: 0.25rem;
}

.ds-post-inline-cta__copy p {
	margin: 0;
	font-size: 0.875rem;
	color: #64748b;
	line-height: 1.5;
}

.ds-post-inline-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.25rem;
	border-radius: 8px;
	background: #f36735;
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.875rem;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.ds-post-inline-cta__btn:hover {
	background: #e05a2a;
}

/* Share bar */
.ds-post-share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.75rem;
	padding-top: 1.35rem;
	border-top: 1px solid #eef2f6;
}

.ds-post-share-bar__left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.ds-post-share-bar__label {
	font-size: 0.875rem;
	font-weight: 700;
	color: #1d3267;
}

.ds-post-share-links {
	display: inline-flex;
	gap: 0.45rem;
}

.ds-post-share-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid #dbe3ec;
	background: #fff;
	color: #115b8a;
	text-decoration: none;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ds-post-share-links a:hover {
	background: #115b8a;
	border-color: #115b8a;
	color: #fff;
}

.ds-post-share-bar__back {
	font-size: 0.875rem;
	font-weight: 700;
	color: #115b8a;
	text-decoration: none;
}

.ds-post-share-bar__back:hover {
	color: #f36735;
}

.ds-article-shell,
.ds-entry-content {
	width: 100%;
	max-width: 100%;
}

/* ── Entry content typography ──────────────────────────────── */
.ds-entry-content {
	font-size: clamp(1rem, 1.15vw, 1.0625rem);
	line-height: 1.8;
	color: var(--wp--preset--color--text, #334155);
}

.ds-entry-content > p:first-child {
	margin-bottom: 1.5rem;
}

.ds-entry-content h2:not(.ds-faq-heading) {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e8eef4;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	line-height: 1.25;
	color: var(--wp--preset--color--navy, #1d3267);
}

.ds-entry-content h3 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	line-height: 1.3;
	color: var(--wp--preset--color--navy, #1d3267);
}

.ds-entry-content h4 {
	margin-top: 1.5rem;
	margin-bottom: 0.65rem;
	font-size: 1.05rem;
	color: var(--wp--preset--color--primary, #115b8a);
}

.ds-entry-content p,
.ds-entry-content ul,
.ds-entry-content ol {
	margin-bottom: 1.25rem;
}

.ds-entry-content ul,
.ds-entry-content ol {
	padding-left: 1.35rem;
}

.ds-entry-content li {
	margin-bottom: 0.5rem;
	font-weight: inherit !important;
}

.ds-entry-content li[style] {
	font-weight: inherit !important;
}

.ds-entry-content a {
	color: var(--wp--preset--color--primary, #115b8a);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ds-entry-content a:hover {
	color: var(--wp--preset--color--accent, #f36735);
}

.ds-entry-content strong,
.ds-entry-content b {
	color: var(--wp--preset--color--navy, #1d3267);
	font-weight: 700;
}

.ds-entry-content em,
.ds-entry-content i {
	color: var(--wp--preset--color--text-muted, #64748b);
}

.ds-entry-content img,
.ds-entry-content figure img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.ds-entry-content figure {
	margin: 2rem 0;
}

.ds-entry-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-muted, #64748b);
	text-align: center;
}

/* ── Tables ────────────────────────────────────────────────── */
.ds-entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: 0.9375rem;
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(17, 91, 138, 0.05);
}

.ds-entry-content thead {
	background: linear-gradient(135deg, #115b8a, #1d3267);
}

.ds-entry-content th {
	padding: 0.85rem 1rem;
	text-align: left;
	color: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ds-entry-content td {
	padding: 0.85rem 1rem;
	border-top: 1px solid #e8eef4;
	vertical-align: top;
}

.ds-entry-content tbody tr:nth-child(even) {
	background: #f8fafc;
}

.ds-entry-content tbody tr:hover {
	background: #f0f6fb;
}

.ds-entry-content td:first-child {
	font-weight: 600;
	color: var(--wp--preset--color--navy, #1d3267);
}

@media (max-width: 640px) {
	.ds-entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* ── Content images ────────────────────────────────────────── */
.ds-content-image {
	margin: 2rem 0;
	padding: 0;
}

.ds-content-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(17, 91, 138, 0.08);
}

/* ── Inline CTA buttons ────────────────────────────────────── */
.ds-article-cta {
	margin: 1.75rem 0;
}

.ds-btn-inline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent, #f36735) !important;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	line-height: 1.3;
	box-shadow: 0 4px 16px rgba(243, 103, 53, 0.25);
	transition: background 0.2s ease, transform 0.2s ease;
}

.ds-btn-inline:hover {
	background: var(--wp--preset--color--primary, #115b8a) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

/* ── FAQ accordion ─────────────────────────────────────────── */
.ds-faq-section {
	margin: 2.75rem 0 2rem;
	padding-top: 0.25rem;
}

.ds-entry-content .ds-faq-heading,
.ds-faq-section > .ds-faq-heading {
	margin: 0 0 1.15rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #dbe3ec;
	font-size: clamp(1.35rem, 2.5vw, 1.55rem);
	line-height: 1.25;
	color: var(--wp--preset--color--navy, #1d3267);
}

.ds-faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.ds-entry-content details,
.ds-entry-content .ds-faq-item {
	border: 1px solid #dbe3ec;
	border-radius: 10px;
	margin: 0;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-entry-content details:hover,
.ds-entry-content .ds-faq-item:hover {
	border-color: #c5d4e3;
}

.ds-entry-content details[open],
.ds-entry-content .ds-faq-item[open] {
	border-color: #b8cfe3;
	box-shadow: 0 4px 18px rgba(17, 91, 138, 0.08);
}

.ds-entry-content summary,
.ds-entry-content .ds-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 3.25rem 1rem 1.15rem;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--wp--preset--color--navy, #1d3267);
	list-style: none;
	position: relative;
	user-select: none;
}

.ds-entry-content summary::-webkit-details-marker {
	display: none;
}

.ds-entry-content summary::after,
.ds-entry-content .ds-faq-question::after {
	content: "+";
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 999px;
	background: #eef4f9;
	color: var(--wp--preset--color--primary, #115b8a);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.85rem;
	text-align: center;
	flex-shrink: 0;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ds-entry-content details[open] summary::after,
.ds-entry-content .ds-faq-item[open] .ds-faq-question::after {
	content: "−";
	background: var(--wp--preset--color--primary, #115b8a);
	color: #fff;
}

.ds-entry-content .ds-faq-answer,
.ds-entry-content details > .ds-faq-answer {
	padding: 0 1.15rem 1.1rem;
	color: var(--wp--preset--color--text-muted, #64748b);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.ds-entry-content .ds-faq-answer p,
.ds-entry-content details > p {
	margin: 0 0 0.75rem;
	padding: 0;
	color: inherit;
}

.ds-entry-content .ds-faq-answer p:last-child,
.ds-entry-content details > p:last-child {
	margin-bottom: 0;
}

.ds-entry-content .ds-faq-answer ul,
.ds-entry-content .ds-faq-answer ol {
	margin: 0 0 0.75rem;
	padding-left: 1.25rem;
}

@media (max-width: 640px) {
	.ds-entry-content summary,
	.ds-entry-content .ds-faq-question {
		padding-right: 3rem;
		font-size: 0.875rem;
	}
}

/* Never allow legacy SVGs to blow up article layout. */
.ds-entry-content svg {
	display: none !important;
}

/* ── Post footer ───────────────────────────────────────────── */
.ds-post-footer {
	gap: 1rem;
}

.ds-post-tags {
	margin: 0;
	font-size: 0.9375rem;
}

.ds-post-tags a {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	margin: 0.15rem 0.35rem 0.15rem 0;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #dbe3ec;
	color: var(--wp--preset--color--navy, #1d3267);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.8125rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.ds-post-tags a:hover {
	background: var(--wp--preset--color--primary, #115b8a);
	border-color: var(--wp--preset--color--primary, #115b8a);
	color: #fff;
}

.ds-share-label {
	margin: 0;
}

.ds-post-share {
	margin: 0;
}

.ds-post-share .wp-block-social-link,
.ds-post-share .wp-block-social-link-anchor {
	width: 36px;
	height: 36px;
}

.ds-post-share svg {
	width: 18px !important;
	height: 18px !important;
}

/* ── Inline product cards (blog articles) ──────────────────── */
.ds-post-product-card {
	margin: 1.75rem 0 2rem;
	max-width: 420px;
}

.ds-post-product-card .ds-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #dbe3ec;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(17, 91, 138, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ds-post-product-card .ds-product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(17, 91, 138, 0.14);
	border-color: #c5d4e3;
}

.ds-post-product-card .ds-brand-product-image {
	display: block;
	aspect-ratio: 1;
	background: #f8fafc;
	padding: 1rem;
}

.ds-post-product-card .ds-brand-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ds-post-product-card .ds-brand-product-body {
	padding: 1rem 1.15rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.ds-post-product-card .ds-brand-product-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}

.ds-post-product-card .ds-brand-product-price {
	font-weight: 700;
	color: var(--wp--preset--color--navy, #1d3267);
}

.ds-post-product-card .ds-brand-product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.35rem;
}

.ds-post-product-card .ds-product-readmore,
.ds-post-product-card .ds-brand-product-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.85rem;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.2;
}

.ds-post-product-card .ds-product-readmore {
	border: 1px solid #dbe3ec;
	color: var(--wp--preset--color--navy, #1d3267);
	background: #fff;
}

.ds-post-product-card .ds-product-readmore:hover {
	border-color: #115b8a;
	color: #115b8a;
}

.ds-post-product-card .ds-brand-product-cart {
	background: var(--wp--preset--color--orange, #e85d04);
	color: #fff;
	border: 1px solid transparent;
}

.ds-post-product-card .ds-brand-product-cart:hover {
	background: #cf5203;
	color: #fff;
}

/* ── Related posts ─────────────────────────────────────────── */
.ds-related-posts {
	padding-bottom: 0.5rem;
}

.ds-related-heading {
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--navy, #1d3267);
}

/* ── Blog cards (archive + related) ────────────────────────── */
.ds-blog-grid .wp-block-post-template,
.ds-blog-archive .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	list-style: none;
	padding: 0;
	margin: 0;
}

.ds-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dbe3ec;
	box-shadow: 0 2px 12px rgba(17, 91, 138, 0.05);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	height: 100%;
}

.ds-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(17, 91, 138, 0.12);
	border-color: #c5d4e3;
}

.ds-blog-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.ds-blog-card-media {
	overflow: hidden;
	margin: 0;
	position: relative;
}

.ds-blog-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(8, 47, 71, 0.08) 100%);
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.ds-blog-card:hover .ds-blog-card-media::after {
	opacity: 1;
}

.ds-blog-category {
	margin-bottom: 0.55rem;
}

.ds-blog-category a,
.ds-blog-category .wp-block-post-terms__term {
	display: inline-block;
	padding: 0.22rem 0.55rem;
	border-radius: 6px;
	background: #e8f4fc;
	color: #115b8a !important;
	text-decoration: none;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.72rem;
}

.ds-blog-card .wp-block-post-featured-image,
.ds-blog-card-media {
	margin: 0;
}

.ds-blog-card .wp-block-post-featured-image img,
.ds-blog-card-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ds-blog-card:hover .wp-block-post-featured-image img,
.ds-blog-card:hover .ds-blog-card-media img {
	transform: scale(1.04);
}

.ds-blog-card-title,
.ds-blog-card .wp-block-post-title {
	margin: 0 0 0.65rem;
	flex: 0 0 auto;
}

.ds-blog-card .wp-block-post-title a {
	text-decoration: none;
	color: var(--wp--preset--color--navy, #1d3267);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s ease;
}

.ds-blog-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--accent, #f36735);
}

.ds-blog-card-excerpt,
.ds-blog-card .wp-block-post-excerpt {
	flex: 1 1 auto;
	color: var(--wp--preset--color--text-muted, #64748b);
	font-size: 0.8125rem;
	line-height: 1.6;
	margin-bottom: 0;
}

.ds-blog-page .wp-block-post-excerpt__more-link {
	display: none;
}

.ds-blog-card .wp-block-post-excerpt p {
	margin-bottom: 0.75rem;
}

.ds-blog-card .wp-block-post-excerpt__more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary, #115b8a);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s ease, gap 0.2s ease;
}

.ds-blog-card .wp-block-post-excerpt__more-link:hover {
	color: var(--wp--preset--color--accent, #f36735);
	gap: 0.45rem;
}

.ds-blog-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #eef2f6;
	font-size: 0.75rem;
	color: #64748b;
}

.ds-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.ds-meta-item svg {
	flex-shrink: 0;
	opacity: 0.75;
}

.ds-reading-time::before {
	content: none;
}

.ds-blog-date {
	margin: 0;
}

/* ── Empty state ─────────────────────────────────────────────── */
.ds-blog-empty {
	padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
	background: #fff;
	border: 1px dashed #dbe3ec;
	border-radius: 16px;
	text-align: center;
}

.ds-blog-empty h3 {
	margin-bottom: 0.65rem;
	color: var(--wp--preset--color--navy, #1d3267);
}

/* ── Bottom CTA ──────────────────────────────────────────────── */
.ds-blog-cta {
	background: linear-gradient(135deg, #fff 0%, #f0f6fb 100%);
	border: 1px solid #dbe3ec;
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(17, 91, 138, 0.06);
	text-align: center;
}

.ds-blog-cta h2 {
	color: var(--wp--preset--color--navy, #1d3267);
	margin-bottom: 0.65rem;
}

.ds-btn-pill .wp-block-button__link {
	border-radius: 999px;
	padding: 0.85rem 1.75rem;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(17, 91, 138, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ds-btn-pill .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(17, 91, 138, 0.25);
}

/* ── Archive pagination ────────────────────────────────────── */
.ds-blog-archive .wp-block-query-pagination,
.ds-blog-main .wp-block-query-pagination,
.ds-blog-pagination {
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 3rem;
}

.ds-blog-archive .wp-block-query-pagination a,
.ds-blog-archive .wp-block-query-pagination span,
.ds-blog-main .wp-block-query-pagination a,
.ds-blog-main .wp-block-query-pagination span,
.ds-blog-pagination a,
.ds-blog-pagination span {
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	border: 1px solid #dbe3ec;
	text-decoration: none;
	min-width: 44px;
	text-align: center;
	background: #fff;
	color: var(--wp--preset--color--navy, #1d3267);
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ds-blog-archive .wp-block-query-pagination a:hover,
.ds-blog-main .wp-block-query-pagination a:hover,
.ds-blog-pagination a:hover {
	background: #f0f6fb;
	border-color: var(--wp--preset--color--primary, #115b8a);
	color: var(--wp--preset--color--primary, #115b8a);
}

.ds-blog-archive .wp-block-query-pagination .current,
.ds-blog-main .wp-block-query-pagination .current,
.ds-blog-pagination .current {
	background: var(--wp--preset--color--primary, #115b8a);
	color: #fff;
	border-color: var(--wp--preset--color--primary, #115b8a);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.ds-blog-page .ds-blog-layout {
		grid-template-columns: 230px minmax(0, 1fr) !important;
	}
}

@media (max-width: 1024px) {
	.ds-blog-grid .wp-block-post-template,
	.ds-blog-archive .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.ds-blog-trust-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	.ds-blog-page .ds-blog-layout {
		grid-template-columns: 1fr !important;
	}

	.ds-post-page .ds-post-layout {
		grid-template-columns: 1fr !important;
	}

	.ds-blog-hero-grid,
	.ds-post-hero-grid {
		flex-direction: column;
	}

	.ds-blog-hero-media-col {
		order: -1;
	}

	.ds-post-hero-media-col {
		order: -1;
	}

	.ds-blog-hero-visual img {
		max-width: 220px;
	}
}

@media (max-width: 781px) {
	.ds-post-hero .wp-block-post-title {
		max-width: none;
	}

	.ds-post-featured {
		margin-top: 0 !important;
	}

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

	.ds-blog-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.ds-blog-grid .wp-block-post-template,
	.ds-blog-archive .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.ds-blog-trust-bar {
		grid-template-columns: 1fr !important;
	}
}
