/**
 * Gutenberg blocks — Homepage sections styling.
 */

/* ==================== Hero ==================== */

.hero {
	position: relative;
	padding: 80px 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 60%),
		var(--bg-primary);
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 240, 255, 0.012) 2px, rgba(0, 240, 255, 0.012) 3px);
	pointer-events: none;
}

.hero-content {
	display: flex;
	align-items: center;
	gap: 60px;
	position: relative;
	z-index: 1;
}

.hero-text {
	flex: 1;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(0, 255, 136, 0.08);
	border: 1px solid rgba(0, 255, 136, 0.2);
	color: var(--green);
	font-size: 11px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero h1 {
	font-size: 56px;
	line-height: 1.1;
	margin-bottom: 16px;
}

.hero h1 em {
	font-style: normal;
	color: var(--cyan);
	text-shadow: 0 0 30px var(--cyan-glow);
}

.hero p {
	font-size: 17px;
	line-height: 1.7;
	color: var(--text-body);
	margin-bottom: 32px;
	max-width: 500px;
}

.hero-buttons {
	display: flex;
	gap: 14px;
}

.hero-visual {
	flex: 1;
	max-width: 500px;
	position: relative;
}

.hero-pc-card {
	background: var(--card-gradient);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 32px;
	position: relative;
	overflow: hidden;
}

.hero-pc-card::after {
	content: '';
	position: absolute;
	top: -1px;
	left: 20%;
	right: 20%;
	height: 2px;
	background: var(--cyan-topline);
	box-shadow: 0 0 15px var(--cyan-glow);
}

.hero-pc-image {
	width: 100%;
	height: 280px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	overflow: hidden;
}

.hero-pc-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hero-pc-image--placeholder {
	background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.06) 0%, var(--bg-primary) 80%);
}

.hero-pc-image--placeholder svg {
	opacity: 0.3;
}

.hero-pc-info h3 {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 22px;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.hero-pc-specs {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 16px;
}

.hero-pc-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hero-price {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 28px;
	color: var(--cyan);
	text-shadow: 0 0 15px var(--cyan-glow);
}

.hero-price small {
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 400;
	display: block;
	text-shadow: none;
}

/* ==================== Categories grid ==================== */

.categories {
	padding: 60px 0;
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.cat-card {
	background: var(--card-gradient);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px 20px;
	text-align: center;
	transition: all var(--transition-normal);
	cursor: pointer;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	display: block;
}

.cat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 0;
	background: linear-gradient(180deg, var(--cyan-soft), transparent);
	transition: height var(--transition-normal);
}

.cat-card:hover {
	border-color: rgba(0, 240, 255, 0.25);
	transform: translateY(-4px);
	box-shadow: var(--shadow-card);
}

.cat-card:hover::before {
	height: 60%;
}

.cat-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.cat-icon svg {
	width: 32px;
	height: 32px;
	stroke: var(--cyan-muted);
	fill: none;
}

.cat-card:hover .cat-icon svg {
	stroke: var(--cyan);
	filter: drop-shadow(0 0 6px var(--cyan-glow));
}

.cat-card h3 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 15px;
	color: var(--text-primary);
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	z-index: 1;
}

.cat-card span {
	font-size: 12px;
	color: var(--text-muted);
	position: relative;
	z-index: 1;
}

/* ==================== Products selection ==================== */

.products-section {
	padding: 60px 0;
}

/* Product card (used in homepage grid + archives) */
.product-card {
	background: var(--card-gradient);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: all var(--transition-normal);
	cursor: pointer;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.product-card:hover {
	border-color: rgba(0, 240, 255, 0.2);
	box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 240, 255, 0.08);
	transform: translateY(-3px);
}

/* Product badge */
.product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

/* Product card image */
.product-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--border);
}

.product-card__image::after {
	display: none;
}

.product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	position: relative;
	z-index: 1;
}

/* Product card info */
.product-card__info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card__brand {
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.product-card__name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 16px;
	color: var(--text-primary);
	margin-bottom: 8px;
	line-height: 1.3;
}

.product-card__specs {
	font-size: 11px;
	color: var(--text-muted);
	margin-bottom: 14px;
	line-height: 1.5;
}

.product-card__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	margin-top: auto;
}

.product-card__price {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 18px;
	color: var(--text-primary);
}

.product-card__price .woocommerce-price-suffix {
	display: none;
}

.product-card__price del {
	font-size: 13px;
	color: var(--text-muted);
	font-weight: 400;
	margin-right: 6px;
}

.product-card__price ins {
	text-decoration: none;
	color: var(--cyan);
}

.product-card__price .woocommerce-Price-amount {
	color: var(--cyan);
}

/* ==================== Configurator banner ==================== */

.config-banner {
	padding: 60px 0;
}

.config-card {
	background:
		radial-gradient(ellipse at 30% 50%, rgba(0, 240, 255, 0.04) 0%, transparent 50%),
		radial-gradient(ellipse at 70% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
		var(--card-gradient);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 50px 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	position: relative;
	overflow: hidden;
}

.config-card::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 10%;
	right: 10%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
	box-shadow: 0 0 15px var(--cyan-glow);
}

.config-text h2 {
	font-size: 36px;
	margin-bottom: 10px;
}

.config-text h2 em {
	font-style: normal;
	color: var(--cyan);
	text-shadow: 0 0 20px var(--cyan-glow);
}

.config-text p {
	color: var(--text-body);
	font-size: 15px;
	line-height: 1.6;
	max-width: 500px;
}

.config-steps {
	display: flex;
	gap: 24px;
	flex-shrink: 0;
}

.config-step {
	text-align: center;
	width: 110px;
}

.step-number {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--cyan-soft);
	border: 1px solid rgba(0, 240, 255, 0.15);
	color: var(--cyan-muted);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	transition: all var(--transition-normal);
}

.config-step:hover .step-number {
	color: var(--cyan);
	border-color: rgba(0, 240, 255, 0.3);
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.config-step span {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.4;
}

/* ==================== Features bar ==================== */

.features {
	padding: 40px 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
}

.feature-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: var(--card-gradient);
	border: 1px solid var(--border);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon svg {
	stroke: var(--cyan-muted);
}

.feature-text h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--text-primary);
	text-transform: uppercase;
	margin-bottom: 2px;
}

.feature-text p {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 0;
}

/* ==================== Responsive ==================== */

@media (max-width: 1024px) {
	.hero-content {
		gap: 40px;
	}

	.hero h1 {
		font-size: 42px;
	}

	.cat-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.config-card {
		flex-direction: column;
		padding: 40px;
		text-align: center;
	}

	.config-text p {
		max-width: none;
	}

	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 50px 0;
	}

	.hero-content {
		flex-direction: column;
		gap: 32px;
	}

	.hero h1 {
		font-size: 34px;
	}

	.hero-visual {
		max-width: 100%;
	}

	.cat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.config-steps {
		flex-wrap: wrap;
		gap: 16px;
	}

	.config-step {
		width: calc(50% - 8px);
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* ==================== Blog / Utility Pages ==================== */

/* --- Archive & Search Header --- */

.archive-header,
.search-header {
	padding: 40px 0 32px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 40px;
}

.archive-header h1,
.search-header h1 {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
}

.archive-desc {
	margin-top: 8px;
	color: var(--text-body);
	font-size: 15px;
}

/* --- Post Cards (Archive / Search grid) --- */

.posts-grid {
	display: grid;
	gap: 24px;
}

.posts-grid.grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

.post-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
}

.post-card:hover {
	border-color: var(--border-hover);
	transform: translateY(-2px);
}

.post-card__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

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

.post-card__body {
	padding: 20px;
}

.post-card__date {
	display: block;
	font-size: 12px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.post-card__type {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.post-card__title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 8px;
}

.post-card__title a {
	color: var(--text-primary);
	text-decoration: none;
	transition: color 0.2s;
}

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

.post-card__excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-body);
	margin: 0;
}

/* --- Pagination --- */

.pagination {
	padding: 48px 0;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: 6px;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-body);
	background: var(--bg-card);
	border: 1px solid var(--border);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pagination .page-numbers:hover {
	border-color: var(--cyan);
	color: var(--cyan);
}

.pagination .page-numbers.current {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--bg-primary);
	font-weight: 600;
}

.pagination .page-numbers.dots {
	border: none;
	background: none;
	color: var(--text-muted);
}

/* --- Single Post --- */

.single-post {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 0;
}

.single-post__header {
	margin-bottom: 32px;
}

.single-post__date {
	display: block;
	font-size: 13px;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.single-post__header h1 {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
	margin: 0;
}

.single-post__excerpt {
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-body);
	margin: 16px 0 0;
}

.single-post__image {
	margin-bottom: 32px;
	border-radius: 12px;
	overflow: hidden;
}

.single-post__image img {
	width: 100%;
	height: auto;
	display: block;
}

/* --- Page Body / Entry Content (shared by single post + page) --- */

.entry-content {
	font-size: 16px;
	line-height: 1.75;
	color: var(--text-body);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--font-heading);
	color: var(--text-primary);
	margin: 32px 0 16px;
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }

.entry-content p {
	margin: 0 0 20px;
}

.entry-content a {
	color: var(--cyan);
	text-decoration: underline;
	text-decoration-color: rgba(0, 240, 255, 0.3);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}

.entry-content a:hover {
	text-decoration-color: var(--cyan);
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.entry-content blockquote {
	margin: 24px 0;
	padding: 20px 24px;
	border-left: 3px solid var(--cyan);
	background: var(--bg-card);
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: var(--text-body);
}

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

.entry-content ul,
.entry-content ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content pre {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 20px;
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: 14px;
	margin: 0 0 20px;
}

.entry-content code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	background: var(--bg-card);
	padding: 2px 6px;
	border-radius: 4px;
}

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

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 20px;
}

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

.entry-content th {
	background: var(--bg-card);
	color: var(--text-primary);
	font-weight: 600;
}

.entry-content hr {
	border: none;
	border-top: 1px solid var(--border);
	margin: 32px 0;
}

/* --- .page-body alias — same styles as entry-content --- */
/* Used in page.php and single.php for native Gutenberg content */

.page-body { font-size: 15px; line-height: 1.8; color: var(--text-body); }
.page-body h2,
.page-body h3,
.page-body h4 { font-family: var(--font-heading); color: var(--text-primary); margin: 32px 0 16px; }
.page-body h2 { font-size: 26px; }
.page-body h3 { font-size: 22px; }
.page-body h4 { font-size: 18px; }
.page-body p { margin: 0 0 16px; }
.page-body a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(0, 240, 255, 0.2); transition: border-color 0.2s; }
.page-body a:hover { border-color: var(--cyan); }
.page-body ul,
.page-body ol { margin: 0 0 20px; padding-left: 24px; }
.page-body li { margin-bottom: 8px; }
.page-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.page-body blockquote { margin: 24px 0; padding: 20px 24px; border-left: 3px solid var(--cyan); background: var(--bg-card); border-radius: 0 8px 8px 0; font-style: italic; color: var(--text-body); }
.page-body blockquote p:last-child { margin-bottom: 0; }
.page-body pre { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; margin: 0 0 20px; }
.page-body code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-card); padding: 2px 6px; border-radius: 4px; }
.page-body pre code { background: none; padding: 0; }
.page-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.page-body th,
.page-body td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.page-body th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; font-family: var(--font-heading); }
.page-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.page-body .wp-block-image { margin: 24px 0; }
.page-body .wp-block-columns { gap: 2em; }
.page-body .wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* --- Post Navigation (single post footer) --- */

.single-post__footer {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.single-post__footer .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.single-post__footer .nav-previous a,
.single-post__footer .nav-next a {
	color: var(--text-body);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}

.single-post__footer .nav-previous a:hover,
.single-post__footer .nav-next a:hover {
	color: var(--cyan);
}

/* --- Comments --- */

.single-post__comments {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.single-post__comments .comments-title {
	font-family: var(--font-heading);
	font-size: 24px;
	color: var(--text-primary);
	margin: 0 0 24px;
}

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

.single-post__comments .comment {
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}

.single-post__comments .comment-author {
	font-weight: 600;
	color: var(--text-primary);
}

.single-post__comments .comment-meta {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.single-post__comments .comment-body p {
	color: var(--text-body);
	margin: 0;
}

.single-post__comments .comment-respond {
	margin-top: 32px;
}

.single-post__comments .comment-form input[type="text"],
.single-post__comments .comment-form input[type="email"],
.single-post__comments .comment-form input[type="url"],
.single-post__comments .comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: var(--text-primary);
	font-size: 14px;
	transition: border-color 0.2s;
}

.single-post__comments .comment-form input:focus,
.single-post__comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--cyan);
}

.single-post__comments .comment-form .submit {
	background: var(--cyan);
	color: var(--bg-primary);
	border: none;
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s;
}

.single-post__comments .comment-form .submit:hover {
	opacity: 0.9;
}

/* --- Page Content --- */

.page-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 0;
}

.page-content h1 {
	font-family: var(--font-heading);
	font-size: 36px;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0 0 32px;
}

/* --- 404 Page --- */

.page-404 {
	text-align: center;
	padding: 100px 0;
}

.page-404__code {
	font-family: var(--font-heading);
	font-size: 120px;
	font-weight: 700;
	line-height: 1;
	color: var(--cyan);
	text-shadow: 0 0 40px var(--cyan-glow);
	margin-bottom: 16px;
}

.page-404 h1 {
	font-family: var(--font-heading);
	font-size: 32px;
	color: var(--text-primary);
	margin: 0 0 12px;
}

.page-404 p {
	font-size: 16px;
	color: var(--text-body);
	margin: 0 0 32px;
}

.page-404 .btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.page-404 .btn-primary {
	background: var(--cyan);
	color: var(--bg-primary);
}

.page-404 .btn-primary:hover {
	opacity: 0.9;
}

/* --- Content None (no results) --- */

.content-none {
	text-align: center;
	padding: 80px 0;
}

.content-none h2 {
	font-family: var(--font-heading);
	font-size: 28px;
	color: var(--text-primary);
	margin: 0 0 12px;
}

.content-none p {
	color: var(--text-body);
	margin: 0 0 24px;
}

.content-none .search-form {
	display: inline-flex;
	max-width: 400px;
}

.content-none .search-form .search-field {
	flex: 1;
	padding: 12px 16px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 8px 0 0 8px;
	color: var(--text-primary);
	font-size: 14px;
}

.content-none .search-form .search-field:focus {
	outline: none;
	border-color: var(--cyan);
}

.content-none .search-form .search-submit {
	background: var(--cyan);
	color: var(--bg-primary);
	border: none;
	padding: 12px 20px;
	border-radius: 0 8px 8px 0;
	font-weight: 600;
	cursor: pointer;
}

/* --- Full-width templates (Configurator, Landing) --- */

.site-main--full,
.site-main--landing {
	width: 100%;
}

.site-main--full .entry-content--full {
	max-width: 100%;
	padding: 0;
}

.site-main--landing .entry-content {
	max-width: var(--container-max, 1320px);
	margin: 0 auto;
	padding: 40px 20px;
}

/* ==================== Gutenberg core blocks (static pages) ==================== */

/* Page wrapper for static content */
.page-content .entry-content,
.site-main--landing .entry-content {
	color: var(--text-body);
	line-height: 1.8;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--text-primary);
	font-family: var(--font-heading);
	line-height: 1.3;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.entry-content h2 {
	font-size: 1.75rem;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}

.entry-content h3 {
	font-size: 1.35rem;
}

.entry-content h4 {
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Paragraphs */
.entry-content p {
	margin-bottom: 1.2em;
	font-size: 15px;
}

/* Links */
.entry-content a {
	color: var(--cyan);
	transition: color 0.2s;
}

.entry-content a:hover {
	color: var(--text-primary);
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 24px;
	margin-bottom: 1.2em;
}

.entry-content li {
	margin-bottom: 6px;
	font-size: 15px;
}

.entry-content ul li::marker {
	color: var(--cyan);
}

.entry-content ol li::marker {
	color: var(--cyan);
	font-family: var(--font-heading);
	font-weight: 700;
}

/* Tables */
.entry-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1.5em;
}

.entry-content table thead,
.wp-block-table thead {
	background: var(--bg-elevated);
}

.entry-content table th,
.wp-block-table th {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-muted);
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.entry-content table td,
.wp-block-table td {
	padding: 10px 16px;
	border-bottom: 1px solid var(--border);
	color: var(--text-body);
	font-size: 14px;
}

.entry-content table tr:last-child td,
.wp-block-table tr:last-child td {
	border-bottom: none;
}

.entry-content table tr:hover td,
.wp-block-table tr:hover td {
	background: var(--bg-card);
}

/* Blockquote */
.entry-content blockquote,
.wp-block-quote {
	border-left: 3px solid var(--cyan);
	padding: 16px 24px;
	margin: 1.5em 0;
	background: var(--cyan-soft);
	border-radius: 0 8px 8px 0;
}

.entry-content blockquote p,
.wp-block-quote p {
	color: var(--text-primary);
	font-size: 16px;
	margin-bottom: 0;
}

.entry-content blockquote cite,
.wp-block-quote cite {
	color: var(--text-muted);
	font-size: 13px;
	display: block;
	margin-top: 8px;
}

/* Code */
.entry-content code {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 13px;
	padding: 2px 6px;
	color: var(--cyan);
}

.entry-content pre,
.wp-block-code {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 20px;
	overflow-x: auto;
	margin-bottom: 1.5em;
}

.entry-content pre code,
.wp-block-code code {
	background: transparent;
	border: none;
	padding: 0;
	font-size: 13px;
	color: var(--text-body);
}

/* Separator */
.entry-content hr,
.wp-block-separator {
	border: none;
	border-top: 1px solid var(--border);
	margin: 2em 0;
}

.wp-block-separator.is-style-wide {
	border-top-width: 2px;
}

.wp-block-separator.is-style-dots {
	border: none;
	text-align: center;
	color: var(--text-muted);
}

/* Buttons */
.wp-block-button .wp-block-button__link {
	font-family: var(--font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 8px;
	padding: 12px 24px;
	transition: all 0.2s;
}

.wp-block-button.is-style-fill .wp-block-button__link {
	background: linear-gradient(135deg, var(--cyan), #00D4E0);
	color: var(--bg-primary);
	border: none;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
	box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--cyan);
	color: var(--cyan);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--cyan-soft);
}

/* Columns */
.wp-block-columns {
	gap: 30px;
	margin-bottom: 1.5em;
}

/* Group */
.wp-block-group {
	padding: 24px;
}

.wp-block-group.has-background {
	border-radius: 12px;
}

/* Image */
.wp-block-image {
	margin-bottom: 1.5em;
}

.wp-block-image img {
	border-radius: 8px;
}

.wp-block-image figcaption {
	color: var(--text-muted);
	font-size: 13px;
	text-align: center;
	margin-top: 8px;
}

/* Gallery */
.wp-block-gallery figcaption {
	color: var(--text-primary);
	font-size: 13px;
	background: rgba(10, 14, 23, 0.8);
}

/* Cover */
.wp-block-cover {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 1.5em;
}

/* --- Blog / Utility Responsive --- */

@media (max-width: 1024px) {
	.posts-grid.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.posts-grid.grid-4 {
		grid-template-columns: 1fr;
	}

	.single-post__header h1 {
		font-size: 28px;
	}

	.page-404__code {
		font-size: 80px;
	}

	.page-404 {
		padding: 60px 0;
	}

	.single-post__footer .nav-links {
		flex-direction: column;
	}

	.wp-block-columns {
		flex-direction: column;
	}

	.entry-content table {
		font-size: 13px;
	}

	.entry-content table th,
	.entry-content table td {
		padding: 8px 10px;
	}
}
