.ywnode-home {
	background: #f6f8fb;
	color: #374151;
}

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

.ywnode-hero {
	padding: 72px 0 34px;
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0) 42%),
		#f6f8fb;
}

.ywnode-hero__content {
	max-width: 720px;
	margin-bottom: 32px;
}

.ywnode-hero__eyebrow {
	margin: 0 0 12px;
	color: #2563eb;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ywnode-hero h1 {
	margin: 0;
	color: #111827;
	font-size: clamp(42px, 7vw, 72px);
	line-height: 1.04;
	letter-spacing: 0;
}

.ywnode-hero__summary {
	margin: 18px 0 0;
	color: #4b5563;
	font-size: 20px;
	line-height: 1.7;
}

.ywnode-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.ywnode-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ywnode-button:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.ywnode-button--primary {
	background: #2563eb;
	color: #fff;
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.ywnode-button--secondary {
	border: 1px solid #c8d5ea;
	background: #fff;
	color: #1d4ed8;
}

.ywnode-entry-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}

.ywnode-entry-card {
	display: flex;
	min-height: 146px;
	padding: 18px 14px 16px;
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	color: #374151;
	text-decoration: none;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ywnode-entry-card:hover {
	border-color: #93b4e8;
	box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
	transform: translateY(-2px);
	text-decoration: none;
}

.ywnode-entry-card__icon {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #eff6ff;
	color: #2563eb;
}

.ywnode-entry-card__icon svg {
	width: 19px;
	height: 19px;
	stroke-width: 2;
}

.ywnode-entry-card__title {
	margin-top: 14px;
	color: #111827;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.ywnode-entry-card__subtitle {
	margin-top: 7px;
	color: #6b7280;
	font-size: 12px;
	line-height: 1.45;
}

.ywnode-main-section {
	padding: 34px 0 56px;
}

.ywnode-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 22px;
	align-items: start;
}

.ywnode-latest,
.ywnode-sidebar-card,
.ywnode-empty-state {
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.ywnode-latest {
	padding: 24px;
}

.ywnode-section-heading {
	display: flex;
	margin-bottom: 18px;
	align-items: end;
	justify-content: space-between;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 14px;
}

.ywnode-section-heading p {
	margin: 0;
	color: #2563eb;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.ywnode-section-heading h2 {
	margin: 0;
	color: #111827;
	font-size: 24px;
	line-height: 1.2;
}

.ywnode-post-list {
	display: grid;
	gap: 12px;
}

.ywnode-post-item {
	margin: 0;
}

.ywnode-post-item__link {
	display: block;
	padding: 16px;
	border: 1px solid transparent;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.ywnode-post-item__link:hover {
	border-color: #dbe6f4;
	background: #f8fbff;
	text-decoration: none;
}

.ywnode-post-item__meta {
	display: block;
	margin-bottom: 8px;
	color: #6b7280;
	font-size: 12px;
}

.ywnode-post-item h3 {
	margin: 0;
	color: #111827;
	font-size: 18px;
	line-height: 1.4;
}

.ywnode-post-item p {
	margin: 8px 0 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.7;
}

.ywnode-sidebar {
	display: grid;
	gap: 14px;
}

.ywnode-sidebar-card {
	padding: 20px;
}

.ywnode-sidebar-card h3,
.ywnode-empty-state h3 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 17px;
}

.ywnode-sidebar-card p,
.ywnode-empty-state p {
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.75;
}

.ywnode-sidebar-card a {
	display: inline-flex;
	margin-top: 14px;
	color: #2563eb;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.ywnode-empty-state {
	padding: 22px;
}

@media (max-width: 1180px) {
	.ywnode-entry-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.ywnode-content-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ywnode-container {
		width: min(100% - 28px, 1180px);
	}

	.ywnode-hero {
		padding-top: 48px;
	}

	.ywnode-entry-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ywnode-entry-card {
		min-height: 132px;
	}

	.ywnode-latest {
		padding: 18px;
	}
}
/* Phase 2 reusable section pages */
.ywnode-page {
	background: #f6f8fb;
	color: #374151;
}

.ywnode-page-hero {
	padding: 58px 0 24px;
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(255, 255, 255, 0) 44%),
		#f6f8fb;
}

.ywnode-page-hero h1 {
	margin: 0;
	color: #111827;
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.08;
	letter-spacing: 0;
}

.ywnode-page-hero p:not(.ywnode-hero__eyebrow) {
	max-width: 760px;
	margin: 16px 0 0;
	color: #4b5563;
	font-size: 17px;
	line-height: 1.8;
}

.ywnode-section-panel {
	min-height: 320px;
}

.ywnode-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.ywnode-filter-row a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #dbe6f4;
	border-radius: 999px;
	background: #f8fbff;
	color: #1d4ed8;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.ywnode-filter-row a:hover {
	border-color: #93b4e8;
	background: #eff6ff;
	text-decoration: none;
}

.ywnode-post-item h2 {
	margin: 0;
	color: #111827;
	font-size: 18px;
	line-height: 1.4;
}

.ywnode-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ywnode-card-grid--tools {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ywnode-feature-card {
	display: flex;
	min-height: 184px;
	padding: 20px;
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
	color: #374151;
	text-decoration: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ywnode-feature-card--link:hover {
	border-color: #93b4e8;
	box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
	transform: translateY(-2px);
	text-decoration: none;
}

.ywnode-feature-card h2 {
	margin: 0;
	color: #111827;
	font-size: 18px;
	line-height: 1.35;
}

.ywnode-feature-card p {
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.75;
}

.ywnode-status-pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border: 1px solid #c8d5ea;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 800;
}

.ywnode-empty-state--flat {
	box-shadow: none;
}

.ywnode-empty-state--flat h2 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 20px;
}

@media (max-width: 760px) {
	.ywnode-page-hero {
		padding-top: 44px;
	}

	.ywnode-card-grid,
	.ywnode-card-grid--tools {
		grid-template-columns: 1fr;
	}

	.ywnode-feature-card {
		min-height: 156px;
	}
}
/* Phase 3-1 tutorial article cards */
.ywnode-post-list--section {
	gap: 14px;
}

.ywnode-post-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 18px;
	padding: 16px;
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.ywnode-post-card--no-media {
	grid-template-columns: 1fr;
}

.ywnode-post-card__media {
	display: block;
	min-height: 138px;
	overflow: hidden;
	border-radius: 8px;
	background: #eff6ff;
}

.ywnode-post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 138px;
	object-fit: cover;
}

.ywnode-post-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.ywnode-post-card__body h2 {
	margin: 0;
	font-size: 19px;
	line-height: 1.4;
}

.ywnode-post-card__body h2 a {
	color: #111827;
	text-decoration: none;
}

.ywnode-post-card__body h2 a:hover {
	color: #2563eb;
	text-decoration: none;
}

.ywnode-post-card__body p {
	margin: 8px 0 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.75;
}

.ywnode-read-more {
	display: inline-flex;
	margin-top: 12px;
	color: #2563eb;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.ywnode-read-more:hover {
	color: #1d4ed8;
	text-decoration: none;
}

@media (max-width: 760px) {
	.ywnode-post-card {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 14px;
	}

	.ywnode-post-card__media,
	.ywnode-post-card__media img {
		min-height: 180px;
	}
}
/* Phase 3-2 tools and subscription converter */
.ywnode-tool-card--disabled {
	opacity: 0.72;
}

.ywnode-tool-card--disabled .ywnode-entry-card__icon {
	background: #f3f4f6;
	color: #64748b;
}

.ywnode-status-pill--muted {
	border-color: #e5e7eb;
	background: #f9fafb;
	color: #64748b;
}

.ywnode-converter {
	display: grid;
	gap: 18px;
}

.ywnode-form-field {
	display: grid;
	gap: 8px;
}

.ywnode-form-field label {
	color: #111827;
	font-size: 15px;
	font-weight: 800;
}

.ywnode-form-field textarea,
.ywnode-form-field select {
	width: 100%;
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #fff;
	color: #111827;
	font: inherit;
	line-height: 1.5;
}

.ywnode-form-field textarea {
	min-height: 150px;
	padding: 14px;
	resize: vertical;
}

.ywnode-form-field select {
	min-height: 44px;
	padding: 0 12px;
}

.ywnode-form-field textarea:focus,
.ywnode-form-field select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
	outline: none;
}

.ywnode-form-field p {
	margin: 0;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.6;
}

.ywnode-converter-result,
.ywnode-info-card {
	border: 1px solid #dbe6f4;
	border-radius: 10px;
	background: #f8fbff;
	padding: 18px;
}

.ywnode-converter-result.is-error {
	border-color: #fecaca;
	background: #fff7f7;
}

.ywnode-converter-result h2,
.ywnode-info-card h2 {
	margin: 0 0 8px;
	color: #111827;
	font-size: 18px;
	line-height: 1.35;
}

.ywnode-converter-result p,
.ywnode-info-card p {
	margin: 0;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.75;
}

.ywnode-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

@media (max-width: 760px) {
	.ywnode-info-grid {
		grid-template-columns: 1fr;
	}
}
/* Phase 3-3 visual and interaction refinement */
.ywnode-hero,
.ywnode-page-hero {
	background:
		radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.11), rgba(37, 99, 235, 0) 30%),
		linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0) 48%),
		#f6f8fb;
}

.ywnode-entry-card,
.ywnode-sidebar-card,
.ywnode-feature-card,
.ywnode-post-card,
.ywnode-converter-result,
.ywnode-info-card,
.ywnode-latest,
.ywnode-empty-state {
	border-color: #dbe6f4;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.ywnode-entry-card,
.ywnode-sidebar-card[data-ywnode-card-url],
.ywnode-feature-card--link,
.ywnode-post-card,
.ywnode-button {
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ywnode-entry-card,
.ywnode-sidebar-card[data-ywnode-card-url],
.ywnode-feature-card--link,
.ywnode-post-card,
.ywnode-button {
	cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
	.ywnode-entry-card:hover,
	.ywnode-sidebar-card[data-ywnode-card-url]:hover,
	.ywnode-feature-card--link:hover,
	.ywnode-post-card:hover {
		border-color: #93b4e8;
		box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
		transform: translateY(-3px);
	}

	.ywnode-sidebar-card[data-ywnode-card-url]:hover a,
	.ywnode-post-card:hover .ywnode-read-more,
	.ywnode-post-card:hover h2 a {
		color: #1d4ed8;
	}
}

.ywnode-sidebar-card[data-ywnode-card-url]:focus-visible,
.ywnode-entry-card:focus-visible,
.ywnode-feature-card--link:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.2);
	outline-offset: 3px;
}

.ywnode-sidebar {
	gap: 16px;
}

.ywnode-sidebar-card {
	min-height: 148px;
}

.ywnode-entry-card__title,
.ywnode-sidebar-card h3,
.ywnode-feature-card h2,
.ywnode-post-card__body h2 {
	letter-spacing: 0;
}

@media (hover: none) {
	.ywnode-entry-card:hover,
	.ywnode-sidebar-card[data-ywnode-card-url]:hover,
	.ywnode-feature-card--link:hover,
	.ywnode-post-card:hover,
	.ywnode-button:hover {
		transform: none;
	}
}
