/*
 * YourWatt Content & SEO — front-end styles
 * All rules are scoped to plugin components to protect Elementor layouts.
 */

:root {
	--ywcs-primary: #0052d4;
	--ywcs-secondary: #00b140;
	--ywcs-dark: #0f172a;
	--ywcs-text: #334155;
	--ywcs-muted: #64748b;
	--ywcs-line: #e2e8f0;
	--ywcs-soft: #f5f8fc;
	--ywcs-white: #fff;
	--ywcs-radius-lg: 24px;
	--ywcs-radius-md: 16px;
	--ywcs-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.ywcs-site-main,
.ywcs-shortcode-wrap {
	color: var(--ywcs-text);
	font-family: "Manrope", "Segoe UI", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

.ywcs-site-main *,
.ywcs-shortcode-wrap * {
	box-sizing: border-box;
}

.ywcs-site-main img,
.ywcs-shortcode-wrap img {
	max-width: 100%;
	height: auto;
}

.ywcs-site-main a,
.ywcs-shortcode-wrap a {
	color: var(--ywcs-primary);
}

.ywcs-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.ywcs-container--narrow {
	width: min(920px, calc(100% - 40px));
}

.ywcs-container--media {
	width: min(1080px, calc(100% - 40px));
}

/* Breadcrumbs */
.ywcs-breadcrumbs {
	margin: 0 0 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

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

.ywcs-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.ywcs-breadcrumbs a {
	color: var(--ywcs-primary);
	text-decoration: none;
}

.ywcs-breadcrumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ywcs-breadcrumbs li > span[aria-hidden="true"] {
	color: #a7b3c4;
}

.ywcs-breadcrumbs [aria-current="page"] {
	display: inline-block;
	max-width: 360px;
	overflow: hidden;
	color: var(--ywcs-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Singular hero */
.ywcs-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(58px, 8vw, 104px) 0 clamp(66px, 9vw, 118px);
	background:
		radial-gradient(circle at 12% 12%, rgba(0, 177, 64, 0.12), transparent 30%),
		radial-gradient(circle at 88% 8%, rgba(0, 82, 212, 0.14), transparent 28%),
		linear-gradient(180deg, #f8fbff 0%, #fff 100%);
	border-bottom: 1px solid #edf2f8;
	text-align: center;
}

.ywcs-hero::before,
.ywcs-hero::after {
	position: absolute;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(0, 82, 212, 0.09);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.ywcs-hero::before {
	top: -190px;
	left: -70px;
}

.ywcs-hero::after {
	right: -90px;
	bottom: -220px;
	width: 360px;
	height: 360px;
}

.ywcs-hero .ywcs-container {
	position: relative;
	z-index: 1;
}

.ywcs-hero .ywcs-breadcrumbs ol {
	justify-content: center;
}

.ywcs-category-pill,
.ywcs-page-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin-bottom: 20px;
	padding: 6px 13px;
	border: 1px solid rgba(0, 82, 212, 0.16);
	border-radius: 999px;
	background: rgba(0, 82, 212, 0.07);
	color: var(--ywcs-primary) !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.4;
	text-decoration: none !important;
	text-transform: uppercase;
}

.ywcs-category-pill:hover {
	background: var(--ywcs-primary);
	color: #fff !important;
}

.ywcs-hero h1,
.ywcs-archive-hero h1 {
	max-width: 900px;
	margin: 0 auto;
	color: var(--ywcs-dark);
	font-family: "Sora", "Segoe UI", Arial, sans-serif;
	font-size: clamp(37px, 5.8vw, 68px);
	font-weight: 750;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.ywcs-hero--page h1 {
	font-size: clamp(38px, 5vw, 62px);
}

.ywcs-hero__intro {
	max-width: 760px;
	margin: 24px auto 0;
	color: #526176;
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.7;
}

.ywcs-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 11px;
	margin-top: 30px;
	color: var(--ywcs-muted);
	font-size: 13px;
	font-weight: 650;
}

.ywcs-post-meta__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ywcs-dark);
}

.ywcs-avatar {
	display: inline-grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ywcs-primary), var(--ywcs-secondary));
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.ywcs-meta-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #a7b3c4;
}

/* Featured media */
.ywcs-featured-image {
	position: relative;
	z-index: 2;
	overflow: hidden;
	margin: clamp(-50px, -5vw, -36px) 0 0;
	border: 8px solid #fff;
	border-radius: var(--ywcs-radius-lg);
	background: #eef3f8;
	box-shadow: 0 28px 65px rgba(15, 23, 42, 0.14);
}

.ywcs-featured-image img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.ywcs-featured-image figcaption {
	padding: 10px 16px;
	background: #fff;
	color: var(--ywcs-muted);
	font-size: 12px;
	text-align: center;
}

/* Article layout */
.ywcs-article-grid {
	display: grid;
	grid-template-columns: minmax(210px, 250px) minmax(0, 820px);
	gap: clamp(34px, 5vw, 68px);
	align-items: start;
	justify-content: center;
	padding-top: clamp(55px, 7vw, 90px);
	padding-bottom: clamp(72px, 8vw, 110px);
}

.ywcs-article-grid--centered {
	grid-template-columns: minmax(0, 860px);
}

.ywcs-article-sidebar {
	position: sticky;
	top: 154px;
}

.ywcs-toc {
	overflow: hidden;
	border: 1px solid var(--ywcs-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.ywcs-toc__title {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 17px 19px;
	border-bottom: 1px solid var(--ywcs-line);
	color: var(--ywcs-dark);
	font-family: "Sora", "Segoe UI", Arial, sans-serif;
	font-size: 13px;
	font-weight: 750;
}

.ywcs-toc__icon {
	color: var(--ywcs-primary);
	font-size: 15px;
}

.ywcs-toc ol {
	max-height: min(55vh, 500px);
	overflow: auto;
	margin: 0;
	padding: 12px 10px 14px;
	list-style: none;
	scrollbar-width: thin;
}

.ywcs-toc li {
	margin: 0;
	padding: 0;
}

.ywcs-toc li + li {
	margin-top: 2px;
}

.ywcs-toc a {
	display: block;
	padding: 8px 9px;
	border-radius: 8px;
	color: #536277;
	font-size: 12.5px;
	font-weight: 650;
	line-height: 1.45;
	text-decoration: none;
	transition: 0.2s ease;
}

.ywcs-toc a:hover,
.ywcs-toc a:focus-visible {
	background: #f0f5ff;
	color: var(--ywcs-primary);
}

.ywcs-toc-level-3 a {
	padding-left: 24px;
	font-size: 12px;
	font-weight: 550;
}

.ywcs-content-card {
	min-width: 0;
}

.ywcs-entry-content {
	color: var(--ywcs-text);
	font-size: clamp(16px, 1.7vw, 18px);
	line-height: 1.82;
}

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

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

.ywcs-entry-content p,
.ywcs-entry-content ul,
.ywcs-entry-content ol,
.ywcs-entry-content table,
.ywcs-entry-content blockquote,
.ywcs-entry-content figure,
.ywcs-entry-content pre {
	margin-top: 0;
	margin-bottom: 1.55em;
}

.ywcs-entry-content h2,
.ywcs-entry-content h3,
.ywcs-entry-content h4,
.ywcs-faq h2,
.ywcs-related-section h2,
.ywcs-archive-heading h2 {
	color: var(--ywcs-dark);
	font-family: "Sora", "Segoe UI", Arial, sans-serif;
	font-weight: 730;
	letter-spacing: -0.03em;
	line-height: 1.25;
	scroll-margin-top: 170px;
}

.ywcs-entry-content h2 {
	margin: 2.1em 0 0.72em;
	font-size: clamp(27px, 3vw, 36px);
}

.ywcs-entry-content h3 {
	margin: 1.8em 0 0.65em;
	font-size: clamp(22px, 2.4vw, 28px);
}

.ywcs-entry-content h4 {
	margin: 1.6em 0 0.6em;
	font-size: 20px;
}

.ywcs-entry-content a {
	font-weight: 650;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ywcs-entry-content ul,
.ywcs-entry-content ol {
	padding-left: 1.35em;
}

.ywcs-entry-content li {
	padding-left: 0.25em;
}

.ywcs-entry-content li + li {
	margin-top: 0.45em;
}

.ywcs-entry-content blockquote {
	position: relative;
	padding: 24px 26px 24px 32px;
	border: 1px solid #dbe7fb;
	border-left: 5px solid var(--ywcs-primary);
	border-radius: 0 14px 14px 0;
	background: #f5f9ff;
	color: #243750;
	font-size: 1.05em;
	font-weight: 550;
}

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

.ywcs-entry-content img {
	border-radius: 14px;
}

.ywcs-entry-content figure {
	max-width: 100%;
}

.ywcs-entry-content figcaption {
	margin-top: 8px;
	color: var(--ywcs-muted);
	font-size: 13px;
	text-align: center;
}

.ywcs-entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--ywcs-line);
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 12px;
}

.ywcs-entry-content th,
.ywcs-entry-content td {
	min-width: 120px;
	padding: 13px 15px;
	border-right: 1px solid var(--ywcs-line);
	border-bottom: 1px solid var(--ywcs-line);
	text-align: left;
}

.ywcs-entry-content th {
	background: #f5f8fc;
	color: var(--ywcs-dark);
	font-weight: 750;
}

.ywcs-entry-content tr:last-child td {
	border-bottom: 0;
}

.ywcs-entry-content th:last-child,
.ywcs-entry-content td:last-child {
	border-right: 0;
}

.ywcs-entry-content pre {
	overflow: auto;
	padding: 22px;
	border-radius: 13px;
	background: #111827;
	color: #e5e7eb;
	font-size: 14px;
}

.ywcs-entry-content .wp-block-button__link {
	border-radius: 9px;
	background: var(--ywcs-primary);
	box-shadow: none;
	color: #fff;
	font-weight: 750;
}

.ywcs-page-links {
	margin-top: 32px;
	font-weight: 700;
}

/* FAQ */
.ywcs-faq {
	margin-top: clamp(64px, 8vw, 94px);
	padding-top: clamp(52px, 6vw, 72px);
	border-top: 1px solid var(--ywcs-line);
}

.ywcs-section-kicker {
	margin-bottom: 8px;
	color: var(--ywcs-primary);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.ywcs-faq > h2 {
	margin: 0 0 28px;
	font-size: clamp(28px, 3.5vw, 40px);
}

.ywcs-faq__list {
	display: grid;
	gap: 12px;
}

.ywcs-faq__item {
	overflow: hidden;
	border: 1px solid var(--ywcs-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ywcs-faq__item[open] {
	border-color: rgba(0, 82, 212, 0.32);
	box-shadow: 0 12px 30px rgba(0, 82, 212, 0.07);
}

.ywcs-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 22px;
	color: var(--ywcs-dark);
	cursor: pointer;
	font-family: "Sora", "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	font-weight: 690;
	line-height: 1.45;
	list-style: none;
}

.ywcs-faq__item summary::-webkit-details-marker {
	display: none;
}

.ywcs-faq__plus {
	position: relative;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #eef4ff;
}

.ywcs-faq__plus::before,
.ywcs-faq__plus::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 2px;
	background: var(--ywcs-primary);
	content: "";
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.ywcs-faq__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ywcs-faq__item[open] .ywcs-faq__plus::after {
	transform: translate(-50%, -50%) rotate(0);
}

.ywcs-faq__answer {
	padding: 0 22px 20px;
	color: #526176;
	font-size: 15.5px;
	line-height: 1.75;
}

.ywcs-faq__answer p:last-child {
	margin-bottom: 0;
}

/* CTA */
.ywcs-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	align-items: center;
	overflow: hidden;
	margin-top: clamp(52px, 7vw, 82px);
	padding: clamp(30px, 4vw, 46px);
	border-radius: 22px;
	background: linear-gradient(135deg, #043d99 0%, var(--ywcs-primary) 58%, #087635 140%);
	box-shadow: 0 24px 50px rgba(0, 82, 212, 0.24);
	color: #fff;
}

.ywcs-cta__glow {
	position: absolute;
	right: -90px;
	bottom: -130px;
	width: 300px;
	height: 300px;
	border: 55px solid rgba(255, 255, 255, 0.06);
	border-radius: 50%;
}

.ywcs-cta__content,
.ywcs-cta__actions {
	position: relative;
	z-index: 1;
}

.ywcs-cta__eyebrow {
	display: block;
	margin-bottom: 9px;
	color: #a8d3ff;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.12em;
}

.ywcs-cta h2 {
	margin: 0;
	color: #fff;
	font-family: "Sora", "Segoe UI", Arial, sans-serif;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 720;
	letter-spacing: -0.03em;
	line-height: 1.25;
}

.ywcs-cta p {
	max-width: 590px;
	margin: 12px 0 0;
	color: #dceaff;
	font-size: 14px;
	line-height: 1.7;
}

.ywcs-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 180px;
}

.ywcs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 11px 19px;
	border: 1px solid transparent;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: 0.2s ease;
}

.ywcs-button--light {
	background: #fff;
	color: var(--ywcs-primary) !important;
}

.ywcs-button--light:hover {
	background: #edf6ff;
	transform: translateY(-2px);
}

.ywcs-button--outline {
	border-color: rgba(255, 255, 255, 0.36);
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
}

.ywcs-button--outline:hover {
	background: rgba(255, 255, 255, 0.16);
}

/* Related posts and grids */
.ywcs-related-section {
	padding: clamp(72px, 8vw, 105px) 0;
	background: #f7f9fc;
	border-top: 1px solid #edf1f6;
}

.ywcs-section-heading,
.ywcs-archive-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
}

.ywcs-section-heading h2,
.ywcs-archive-heading h2 {
	margin: 0;
	font-size: clamp(29px, 3.6vw, 42px);
}

.ywcs-section-heading > a {
	color: var(--ywcs-primary);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.ywcs-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

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

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

.ywcs-post-card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ywcs-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ywcs-post-card:hover {
	border-color: rgba(0, 82, 212, 0.24);
	box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
	transform: translateY(-5px);
}

.ywcs-post-card__image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #eaf1fa;
}

.ywcs-post-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.ywcs-post-card:hover .ywcs-post-card__image img {
	transform: scale(1.04);
}

.ywcs-post-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background:
		radial-gradient(circle at 72% 30%, rgba(0, 177, 64, 0.34), transparent 25%),
		linear-gradient(135deg, #003c9c, var(--ywcs-primary));
}

.ywcs-post-card__placeholder span {
	display: grid;
	width: 64px;
	height: 64px;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: 18px;
	color: #fff;
	font-family: "Sora", sans-serif;
	font-size: 32px;
	font-weight: 800;
}

.ywcs-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.ywcs-post-card__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 13px;
	color: var(--ywcs-muted);
	font-size: 11px;
	font-weight: 700;
}

.ywcs-post-card__category {
	overflow: hidden;
	color: var(--ywcs-primary);
	font-weight: 850;
	letter-spacing: 0.045em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.ywcs-post-card__title {
	margin: 0 0 11px;
	font-family: "Sora", "Segoe UI", Arial, sans-serif;
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.34;
}

.ywcs-post-card__title a {
	color: var(--ywcs-dark);
	text-decoration: none;
}

.ywcs-post-card__title a:hover {
	color: var(--ywcs-primary);
}

.ywcs-post-card__body > p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 21px;
	color: #607087;
	font-size: 14px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ywcs-post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #edf1f6;
	font-size: 11.5px;
	font-weight: 700;
}

.ywcs-post-card__footer time {
	color: var(--ywcs-muted);
}

.ywcs-post-card__footer a {
	color: var(--ywcs-primary);
	text-decoration: none;
}

.ywcs-shortcode-wrap {
	width: 100%;
}

/* Blog archive */
.ywcs-archive-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(68px, 9vw, 118px) 0 clamp(72px, 9vw, 120px);
	background: linear-gradient(135deg, #071a3e 0%, #063b91 62%, #055626 145%);
	color: #fff;
	text-align: center;
}

.ywcs-archive-hero__orb {
	position: absolute;
	border: 65px solid rgba(255, 255, 255, 0.035);
	border-radius: 50%;
	pointer-events: none;
}

.ywcs-archive-hero__orb--one {
	top: -220px;
	left: -120px;
	width: 430px;
	height: 430px;
}

.ywcs-archive-hero__orb--two {
	right: -150px;
	bottom: -260px;
	width: 520px;
	height: 520px;
}

.ywcs-archive-hero .ywcs-container {
	position: relative;
	z-index: 1;
}

.ywcs-breadcrumbs--light a,
.ywcs-breadcrumbs--light [aria-current="page"] {
	color: #d6e6ff;
}

.ywcs-breadcrumbs--light li > span[aria-hidden="true"] {
	color: #7797c6;
}

.ywcs-archive-hero .ywcs-breadcrumbs ol {
	justify-content: center;
}

.ywcs-archive-hero__kicker {
	margin-bottom: 17px;
	color: #78e19e;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.14em;
}

.ywcs-archive-hero h1 {
	color: #fff;
}

.ywcs-archive-hero__intro {
	max-width: 720px;
	margin: 22px auto 0;
	color: #d2e1f7;
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.75;
}

.ywcs-archive-hero__intro p {
	margin: 0;
}

.ywcs-archive-content {
	padding: clamp(70px, 8vw, 112px) 0;
	background: #f8fafc;
}

.ywcs-archive-heading > p {
	max-width: 360px;
	margin: 0;
	color: var(--ywcs-muted);
	font-size: 14px;
	text-align: right;
}

.ywcs-empty-state {
	padding: 34px;
	border: 1px dashed #cbd5e1;
	border-radius: 15px;
	background: #f8fafc;
	color: var(--ywcs-muted);
	text-align: center;
}

.ywcs-empty-state--large {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(52px, 7vw, 80px) 30px;
	background: #fff;
}

.ywcs-empty-state__mark {
	display: grid;
	width: 64px;
	height: 64px;
	margin: 0 auto 22px;
	place-items: center;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--ywcs-primary), var(--ywcs-secondary));
	color: #fff;
	font-family: "Sora", sans-serif;
	font-size: 30px;
	font-weight: 800;
}

.ywcs-empty-state h2 {
	margin: 0 0 10px;
	color: var(--ywcs-dark);
	font-family: "Sora", sans-serif;
	font-size: clamp(24px, 3vw, 32px);
}

.ywcs-empty-state p {
	margin: 0;
}

.ywcs-archive-content .navigation.pagination {
	margin-top: 48px;
}

.ywcs-archive-content .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ywcs-archive-content .page-numbers {
	display: inline-grid;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	place-items: center;
	border: 1px solid var(--ywcs-line);
	border-radius: 9px;
	background: #fff;
	color: var(--ywcs-dark);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

.ywcs-archive-content .page-numbers.current,
.ywcs-archive-content a.page-numbers:hover {
	border-color: var(--ywcs-primary);
	background: var(--ywcs-primary);
	color: #fff;
}

/* Keyboard accessibility */
.ywcs-site-main a:focus-visible,
.ywcs-site-main summary:focus-visible,
.ywcs-shortcode-wrap a:focus-visible {
	outline: 3px solid rgba(0, 82, 212, 0.34);
	outline-offset: 3px;
}

@media (max-width: 980px) {
	.ywcs-article-grid {
		grid-template-columns: minmax(0, 820px);
		gap: 26px;
	}

	.ywcs-article-sidebar {
		position: static;
	}

	.ywcs-toc ol {
		max-height: none;
	}

	.ywcs-cta {
		grid-template-columns: 1fr;
	}

	.ywcs-cta__actions {
		flex-direction: row;
		min-width: 0;
	}

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

@media (max-width: 680px) {
	.ywcs-site-main,
	.ywcs-shortcode-wrap {
		font-size: 16px;
	}

	.ywcs-container,
	.ywcs-container--narrow,
	.ywcs-container--media {
		width: min(100% - 28px, 1180px);
	}

	.ywcs-hero {
		padding-top: 45px;
		padding-bottom: 76px;
	}

	.ywcs-hero h1,
	.ywcs-archive-hero h1 {
		font-size: clamp(33px, 10.5vw, 46px);
		letter-spacing: -0.04em;
	}

	.ywcs-hero__intro {
		font-size: 16px;
	}

	.ywcs-breadcrumbs [aria-current="page"] {
		max-width: 170px;
	}

	.ywcs-post-meta {
		gap: 8px;
	}

	.ywcs-post-meta__author {
		width: 100%;
		justify-content: center;
		margin-bottom: 2px;
	}

	.ywcs-featured-image {
		margin-top: -36px;
		border-width: 5px;
		border-radius: 17px;
	}

	.ywcs-article-grid {
		padding-top: 48px;
		padding-bottom: 70px;
	}

	.ywcs-entry-content {
		font-size: 16px;
		line-height: 1.78;
	}

	.ywcs-entry-content h2 {
		font-size: 27px;
	}

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

	.ywcs-entry-content blockquote {
		padding: 20px;
	}

	.ywcs-faq__item summary {
		padding: 18px;
		font-size: 15px;
	}

	.ywcs-faq__answer {
		padding: 0 18px 18px;
	}

	.ywcs-cta {
		gap: 24px;
		padding: 28px 22px;
		border-radius: 17px;
	}

	.ywcs-cta__actions {
		flex-direction: column;
	}

	.ywcs-section-heading,
	.ywcs-archive-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.ywcs-archive-heading > p {
		text-align: left;
	}

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

	.ywcs-post-card__body {
		padding: 20px;
	}

	.ywcs-archive-hero {
		padding-top: 58px;
		padding-bottom: 78px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ywcs-site-main *,
	.ywcs-shortcode-wrap * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
