/* SeaKnot Posts Widget 1.2.4 — all selectors are scoped to .skpw-wrap */
.skpw-wrap {
	--skpw-navy: #061B2A;
	--skpw-blue: #0786B5;
	--skpw-text: #64748B;
	--skpw-border: #E2E8F0;
	width: 100%;
}
.skpw-wrap, .skpw-wrap * { box-sizing: border-box; }
.skpw-grid {
	display: grid;
	grid-template-columns: repeat(var(--skpw-columns, 3), minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}
.skpw-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--skpw-border);
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(6, 27, 42, .04);
	transition: transform .2s ease, box-shadow .2s ease;
}
.skpw-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(6, 27, 42, .10); }
.skpw-image-link {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #EAF6FB;
}
.skpw-ratio-square .skpw-image-link { aspect-ratio: 1 / 1; }
.skpw-ratio-portrait .skpw-image-link { aspect-ratio: 4 / 5; }
.skpw-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	margin: 0;
	transition: transform .35s ease;
}
.skpw-card:hover .skpw-image { transform: scale(1.035); }
.skpw-card-body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: 20px; }
.skpw-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 10px; color: var(--skpw-text); font-size: 12px; line-height: 1.5; }
.skpw-title { margin: 0 0 12px; padding: 0; color: var(--skpw-navy); font-size: 19px; font-weight: 700; line-height: 1.4; }
.skpw-title a { color: inherit; text-decoration: none; }
.skpw-title a:hover { color: var(--skpw-blue); }
.skpw-excerpt { margin: 0 0 18px; color: var(--skpw-text); font-size: 14px; line-height: 1.75; }
.skpw-read-more { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--skpw-blue); font-size: 14px; font-weight: 700; text-decoration: none; }
.skpw-read-more:hover { color: var(--skpw-navy); }
.skpw-pagination { margin-top: 30px; }
.skpw-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.skpw-pagination li { margin: 0; }
.skpw-pagination a, .skpw-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 7px 12px; border: 1px solid var(--skpw-border); border-radius: 4px; color: var(--skpw-navy); text-decoration: none; }
.skpw-pagination .current, .skpw-pagination a:hover { border-color: var(--skpw-blue); background: var(--skpw-blue); color: #fff; }
.skpw-empty { padding: 20px; border: 1px solid var(--skpw-border); border-radius: 6px; color: var(--skpw-text); }
.skpw-layout-list .skpw-grid { grid-template-columns: 1fr; }
.skpw-layout-list .skpw-card { flex-direction: row; }
.skpw-layout-list .skpw-image-link { flex: 0 0 34%; align-self: stretch; aspect-ratio: auto; min-height: 190px; }
.skpw-layout-list .skpw-card-body { flex: 1; }
@media (max-width: 1024px) {
	.skpw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.skpw-card-body { padding: 17px; }
}
@media (max-width: 767px) {
	.skpw-grid { grid-template-columns: 1fr; gap: 16px; }
	.skpw-card-body { padding: 16px; }
	.skpw-title { font-size: 18px; }
	.skpw-layout-list .skpw-card { flex-direction: column; }
	.skpw-layout-list .skpw-image-link { flex-basis: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
	.skpw-card, .skpw-image { transition: none; }
	.skpw-card:hover, .skpw-card:hover .skpw-image { transform: none; }
}


/* Optional single-post enhancements; loaded only when enabled in plugin settings. */
body.skpw-single-enhanced .entry-content,
body.skpw-single-enhanced .post-content,
body.skpw-single-enhanced .wp-block-post-content {
	color: #334155;
	font-size: 17px;
	line-height: 1.85;
	overflow-wrap: break-word;
}
body.skpw-single-enhanced .entry-content h2,
body.skpw-single-enhanced .post-content h2,
body.skpw-single-enhanced .wp-block-post-content h2 {
	margin: 1.8em 0 .65em;
	color: #061B2A;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	font-weight: 700;
	line-height: 1.3;
}
body.skpw-single-enhanced .entry-content h3,
body.skpw-single-enhanced .post-content h3,
body.skpw-single-enhanced .wp-block-post-content h3 {
	margin: 1.5em 0 .55em;
	color: #061B2A;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.4;
}
body.skpw-single-enhanced .entry-content p,
body.skpw-single-enhanced .post-content p,
body.skpw-single-enhanced .wp-block-post-content p {
	margin-top: 0;
	margin-bottom: 1.35em;
}
body.skpw-single-enhanced .entry-content ul,
body.skpw-single-enhanced .entry-content ol,
body.skpw-single-enhanced .post-content ul,
body.skpw-single-enhanced .post-content ol,
body.skpw-single-enhanced .wp-block-post-content ul,
body.skpw-single-enhanced .wp-block-post-content ol { padding-left: 1.5em; }
body.skpw-single-enhanced .entry-content img,
body.skpw-single-enhanced .post-content img,
body.skpw-single-enhanced .wp-block-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}
.skpw-related {
	clear: both;
	width: 100%;
	margin: 54px 0 20px;
	padding-top: 34px;
	border-top: 1px solid #E2E8F0;
}
.skpw-related-heading-wrap { margin: 0 0 24px; }
.skpw-related-eyebrow {
	margin: 0 0 8px;
	color: #0786B5;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	line-height: 1.5;
}
.skpw-related-heading-wrap h2 {
	margin: 0;
	color: #061B2A;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 750;
	line-height: 1.2;
}
.skpw-related .skpw-grid { grid-template-columns: repeat(var(--skpw-columns, 3), minmax(0, 1fr)); }
.skpw-related .skpw-card-body { padding: 17px; }
.skpw-related .skpw-title { font-size: 17px; }
.skpw-related .skpw-excerpt { font-size: 13px; }
@media (max-width: 767px) {
	body.skpw-single-enhanced .entry-content,
	body.skpw-single-enhanced .post-content,
	body.skpw-single-enhanced .wp-block-post-content { font-size: 16px; line-height: 1.8; }
	.skpw-related { margin-top: 38px; padding-top: 26px; }
	.skpw-related .skpw-grid { grid-template-columns: 1fr; }
}


/* Single article layout refinements (only active when the setting is enabled). */
body.skpw-single-enhanced {
	--skpw-single-navy: #061B2A;
	--skpw-single-blue: #0786B5;
	--skpw-single-muted: #64748B;
}
body.skpw-single-enhanced .entry-content,
body.skpw-single-enhanced .post-content,
body.skpw-single-enhanced .post-entry,
body.skpw-single-enhanced .post-body,
body.skpw-single-enhanced .wp-block-post-content {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
body.skpw-single-enhanced .entry-content > :first-child,
body.skpw-single-enhanced .post-content > :first-child,
body.skpw-single-enhanced .post-entry > :first-child,
body.skpw-single-enhanced .post-body > :first-child,
body.skpw-single-enhanced .wp-block-post-content > :first-child {
	margin-top: 0;
}
body.skpw-single-enhanced .entry-content p,
body.skpw-single-enhanced .post-content p,
body.skpw-single-enhanced .post-entry p,
body.skpw-single-enhanced .post-body p,
body.skpw-single-enhanced .wp-block-post-content p {
	color: #475569;
	font-size: 17px;
	line-height: 1.85;
	margin: 0 0 1.35em;
}
body.skpw-single-enhanced .entry-content h2,
body.skpw-single-enhanced .post-content h2,
body.skpw-single-enhanced .post-entry h2,
body.skpw-single-enhanced .post-body h2,
body.skpw-single-enhanced .wp-block-post-content h2 {
	color: var(--skpw-single-navy);
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
	font-weight: 750;
	line-height: 1.3;
	margin: 1.8em 0 .65em;
}
body.skpw-single-enhanced .entry-content h3,
body.skpw-single-enhanced .post-content h3,
body.skpw-single-enhanced .post-entry h3,
body.skpw-single-enhanced .post-body h3,
body.skpw-single-enhanced .wp-block-post-content h3 {
	color: var(--skpw-single-navy);
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.4;
	margin: 1.5em 0 .55em;
}
body.skpw-single-enhanced .entry-content ul,
body.skpw-single-enhanced .entry-content ol,
body.skpw-single-enhanced .post-content ul,
body.skpw-single-enhanced .post-content ol,
body.skpw-single-enhanced .post-entry ul,
body.skpw-single-enhanced .post-entry ol,
body.skpw-single-enhanced .post-body ul,
body.skpw-single-enhanced .post-body ol,
body.skpw-single-enhanced .wp-block-post-content ul,
body.skpw-single-enhanced .wp-block-post-content ol {
	color: #475569;
	font-size: 16px;
	line-height: 1.8;
	padding-left: 1.5em;
	margin: 0 0 1.4em;
}
body.skpw-single-enhanced .entry-content blockquote,
body.skpw-single-enhanced .post-content blockquote,
body.skpw-single-enhanced .post-entry blockquote,
body.skpw-single-enhanced .post-body blockquote,
body.skpw-single-enhanced .wp-block-post-content blockquote {
	margin: 1.8em 0;
	padding: 1em 1.25em;
	border-left: 4px solid var(--skpw-single-blue);
	background: #F0F8FC;
	color: #334155;
}
body.skpw-single-enhanced .entry-content img,
body.skpw-single-enhanced .post-content img,
body.skpw-single-enhanced .post-entry img,
body.skpw-single-enhanced .post-body img,
body.skpw-single-enhanced .wp-block-post-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.5em auto;
	border-radius: 6px;
}
body.skpw-single-enhanced .entry-content a,
body.skpw-single-enhanced .post-content a,
body.skpw-single-enhanced .post-entry a,
body.skpw-single-enhanced .post-body a,
body.skpw-single-enhanced .wp-block-post-content a {
	color: var(--skpw-single-blue);
	text-underline-offset: 3px;
}
body.skpw-single-enhanced .skpw-related {
	max-width: 1140px;
	margin: 64px auto 20px;
	padding-top: 38px;
}
body.skpw-single-enhanced .skpw-related .skpw-grid {
	grid-template-columns: repeat(var(--skpw-columns, 3), minmax(0, 1fr));
}
body.skpw-single-enhanced .skpw-related .skpw-card {
	border-color: #E2E8F0;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(6, 27, 42, .06);
}
body.skpw-single-enhanced .skpw-related .skpw-image-link {
	aspect-ratio: 16 / 9;
}
body.skpw-single-enhanced .skpw-related .skpw-card-body {
	padding: 18px;
}
body.skpw-single-enhanced .skpw-related .skpw-title {
	font-size: 17px;
	line-height: 1.4;
}
@media (max-width: 767px) {
	body.skpw-single-enhanced .entry-content,
	body.skpw-single-enhanced .post-content,
	body.skpw-single-enhanced .post-entry,
	body.skpw-single-enhanced .post-body,
	body.skpw-single-enhanced .wp-block-post-content {
		max-width: 100%;
	}
	body.skpw-single-enhanced .entry-content p,
	body.skpw-single-enhanced .post-content p,
	body.skpw-single-enhanced .post-entry p,
	body.skpw-single-enhanced .post-body p,
	body.skpw-single-enhanced .wp-block-post-content p {
		font-size: 16px;
		line-height: 1.8;
	}
	body.skpw-single-enhanced .skpw-related {
		margin-top: 42px;
		padding-top: 28px;
	}
	body.skpw-single-enhanced .skpw-related .skpw-grid {
		grid-template-columns: 1fr;
	}
}


/* v1.2.3: related section is outside .skpw-wrap, so define its own design tokens and resilient layout. */
body.skpw-single-enhanced .skpw-related {
	--skpw-navy: #061B2A;
	--skpw-blue: #0786B5;
	--skpw-text: #64748B;
	--skpw-border: #E2E8F0;
	display: block;
	clear: both;
	width: min(1140px, calc(100% - 40px));
	margin: 64px auto 32px;
	padding: 36px 0 0;
	border-top: 1px solid #E2E8F0;
}
body.skpw-single-enhanced .skpw-related .skpw-grid {
	display: grid !important;
	grid-template-columns: repeat(var(--skpw-columns, 3), minmax(0, 1fr)) !important;
	gap: 24px;
	align-items: stretch;
}
body.skpw-single-enhanced .skpw-related .skpw-card {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(6,27,42,.06);
}
body.skpw-single-enhanced .skpw-related .skpw-image-link {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #EAF6FB;
}
body.skpw-single-enhanced .skpw-related .skpw-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.skpw-single-enhanced .skpw-related .skpw-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 18px;
}
body.skpw-single-enhanced .skpw-related .skpw-meta {
	display: flex;
	margin: 0 0 10px;
	color: #64748B;
	font-size: 12px;
}
body.skpw-single-enhanced .skpw-related .skpw-title {
	margin: 0 0 12px;
	color: #061B2A;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}
body.skpw-single-enhanced .skpw-related .skpw-title a {
	color: inherit;
	text-decoration: none;
}
body.skpw-single-enhanced .skpw-related .skpw-excerpt {
	margin: 0 0 18px;
	color: #64748B;
	font-size: 14px;
	line-height: 1.7;
}
body.skpw-single-enhanced .skpw-related .skpw-read-more {
	display: inline-flex;
	gap: 7px;
	margin-top: auto;
	color: #0786B5;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
@media (max-width: 900px) {
	body.skpw-single-enhanced .skpw-related .skpw-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 767px) {
	body.skpw-single-enhanced .skpw-related { width: calc(100% - 32px); margin-top: 42px; padding-top: 28px; }
	body.skpw-single-enhanced .skpw-related .skpw-grid { grid-template-columns: 1fr !important; }
}

body.single-post .sm-post-navigation {
    display: none !important;
}


/* v1.5 — interior content refinement */
.sm-interior-cta {
    margin-top: 54px;
}

.sm-content-inner > h2,
.sm-content-inner > h3 {
    color: var(--sm-navy);
    line-height: 1.2;
}

.sm-content-inner > ul,
.sm-content-inner > ol {
    padding-left: 1.4em;
    line-height: 1.8;
}

.sm-content-inner blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--sm-cyan);
    background: #f1f5f7;
}

.sm-article .post-navigation,
.sm-post-navigation {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #dce5ea;
}

.sm-article .post-navigation a {
    color: var(--sm-navy);
}

.sm-archive-description {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255,255,255,.82);
}

/* Hide post navigation on single articles */
body.single-post .sm-post-navigation {
    display: none !important;
}

@media (max-width: 640px) {
    .sm-interior-cta {
        margin-top: 34px;
    }
}



/* v1.3.0 — user-configurable post card colors, scoped to the widget */
.skpw-wrap {
    --skpw-navy: var(--skpw-title-color, #061B2A);
    --skpw-blue: var(--skpw-read-color, #0786B5);
    --skpw-text: var(--skpw-text-color, #64748B);
}
.skpw-wrap .skpw-card,
body.skpw-single-enhanced .skpw-related .skpw-card {
    background-color: var(--skpw-card-bg, #FFFFFF);
}
.skpw-wrap .skpw-title,
body.skpw-single-enhanced .skpw-related .skpw-title {
    color: var(--skpw-title-color, #061B2A);
}
.skpw-wrap .skpw-title a:hover,
body.skpw-single-enhanced .skpw-related .skpw-title a:hover {
    color: var(--skpw-title-hover, #0786B5);
}
.skpw-wrap .skpw-meta,
.skpw-wrap .skpw-excerpt,
body.skpw-single-enhanced .skpw-related .skpw-meta,
body.skpw-single-enhanced .skpw-related .skpw-excerpt {
    color: var(--skpw-text-color, #64748B);
}
.skpw-wrap .skpw-read-more,
body.skpw-single-enhanced .skpw-related .skpw-read-more {
    color: var(--skpw-read-color, #0786B5);
}
.skpw-wrap .skpw-read-more:hover,
body.skpw-single-enhanced .skpw-related .skpw-read-more:hover {
    color: var(--skpw-read-hover, #061B2A);
}
