/* ========================================
   Pikler Triangle DIY - Component Styles
   ======================================== */

/* ======== HOMEPAGE SECTIONS ======== */

/* Hero */
.hero-section {
	background: linear-gradient(135deg, var(--primary-light, #E8F4F8) 0%, var(--bg-cream, #FEF7F0) 100%);
	padding: 60px 0 50px; overflow: hidden;
}
.hero-inner { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero-title { font-size: 2.6rem; margin: 0 0 16px; color: var(--text-dark); line-height: 1.15; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-body); margin-bottom: 28px; line-height: 1.65; max-width: 520px; }
.hero-btn { font-size: 1.1rem; padding: 15px 36px; }
.hero-image { flex: 0 0 45%; max-width: 500px; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (max-width: 768px) {
	.hero-section { padding: 35px 0 30px; }
	.hero-inner { flex-direction: column; text-align: center; gap: 25px; }
	.hero-title { font-size: 1.8rem; }
	.hero-subtitle { font-size: 1rem; max-width: 100%; }
	.hero-image { max-width: 320px; }
}
@media (max-width: 480px) { .hero-title { font-size: 1.5rem; } }

/* Section headings */
.section-heading { text-align: center; margin: 0 0 12px; font-size: 1.8rem; }
.section-subheading { text-align: center; color: var(--text-light); margin: 0 0 35px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-cta { text-align: center; margin-top: 30px; }
.btn-outline {
	background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color);
}
.btn-outline:hover { background: var(--primary-color); color: white; }

/* What You'll Build */
.whatyoullbuild-section { padding: 60px 0; background: var(--bg-white); }
.build-images {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
	max-width: 900px; margin: 30px auto 0;
}
.build-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.build-img img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.4s; }
.build-img:hover img { transform: scale(1.03); }
@media (max-width: 600px) {
	.build-images { grid-template-columns: 1fr; }
	.build-img img { height: 240px; }
	.whatyoullbuild-section { padding: 40px 0; }
}

/* Features */
.features-section { padding: 50px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
	background: var(--bg-white); border-radius: var(--radius-md); padding: 30px 24px;
	text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
	transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.15rem; margin: 0 0 10px; color: var(--text-dark); }
.feature-card p { font-size: 0.92rem; color: var(--text-light); margin: 0; line-height: 1.6; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } .features-section { padding: 35px 0; } }

/* DIY Guide Content (from WordPress page) */
.diy-guide-section { padding: 60px 0; background: var(--bg-white); }
.diy-guide-content { max-width: 860px; margin: 0 auto; }
.diy-guide-content h2 {
	font-size: 1.5rem; margin-top: 50px; padding-top: 30px;
	border-top: 2px solid var(--border-light); color: var(--primary-color);
}
.diy-guide-content h2:first-child { border-top: none; margin-top: 30px; padding-top: 0; }
.diy-guide-content h3 { font-size: 1.2rem; color: var(--text-dark); margin-top: 30px; }
.diy-guide-content p { line-height: 1.8; color: var(--text-body); }
.diy-guide-content img {
	border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
	margin: 20px 0;
}
/* Image grid for multiple images in guide */
.diy-guide-content .wp-block-gallery,
.diy-guide-content .gallery {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px; margin: 24px 0;
}
.diy-guide-content .wp-block-gallery img,
.diy-guide-content .gallery img {
	width: 100%; height: 200px; object-fit: cover; margin: 0;
	border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
/* Affiliate links in guide content */
.diy-guide-content a {
	color: var(--primary-color); font-weight: 600;
	text-decoration: underline; text-decoration-color: rgba(74,144,164,0.3);
	text-underline-offset: 3px; transition: all var(--transition);
}
.diy-guide-content a:hover {
	color: var(--cta-color); text-decoration-color: var(--cta-color);
}
/* Tool/material list styling */
.diy-guide-content ul, .diy-guide-content ol {
	margin: 16px 0 24px 24px; line-height: 1.8;
}
.diy-guide-content li { margin-bottom: 8px; }
.diy-guide-content li a {
	background: linear-gradient(to bottom, transparent 60%, rgba(245,166,35,0.15) 60%);
	text-decoration: none; padding: 0 2px;
}
.diy-guide-content li a:hover { background: rgba(245,166,35,0.25); }
/* Inline CTA buttons in guide (add class "wp-block-button" in editor) */
.diy-guide-content .wp-block-button__link,
.diy-guide-content a.btn {
	display: inline-block; padding: 12px 24px; background: var(--cta-color);
	color: white; border-radius: var(--radius-sm); font-weight: 700;
	text-decoration: none; transition: all var(--transition); margin: 8px 4px;
}
.diy-guide-content .wp-block-button__link:hover,
.diy-guide-content a.btn:hover {
	background: var(--cta-hover); transform: translateY(-1px); box-shadow: var(--shadow-md);
}
/* Block quotes / tips in guide */
.diy-guide-content blockquote {
	border-left: 4px solid var(--secondary-color); padding: 16px 20px;
	background: var(--secondary-light, #FFF0ED); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	margin: 24px 0; font-style: italic;
}
/* Tables in guide (tool specs, dimensions, etc.) */
.diy-guide-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.diy-guide-content th { background: var(--primary-light); padding: 10px 14px; text-align: left; font-weight: 600; }
.diy-guide-content td { padding: 10px 14px; border-bottom: 1px solid var(--border-light); }

@media (max-width: 480px) {
	.diy-guide-section { padding: 40px 0; }
	.diy-guide-content .wp-block-gallery,
	.diy-guide-content .gallery { grid-template-columns: 1fr 1fr; }
}

/* Featured Guides */
.featured-guides { padding: 60px 0; }
.guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guide-card {
	background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden;
	border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
	transition: all var(--transition); text-decoration: none; color: inherit; display: block;
}
.guide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.guide-card-image { height: 160px; overflow: hidden; }
.guide-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.guide-card:hover .guide-card-image img { transform: scale(1.05); }
.guide-card-body { padding: 18px; }
.guide-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.guide-card-title { font-size: 1.05rem; margin: 0 0 8px; color: var(--text-dark); }
.guide-card-desc { font-size: 0.88rem; color: var(--text-light); margin: 0 0 10px; line-height: 1.5; }
.guide-card-link { font-size: 0.85rem; color: var(--primary-color); font-weight: 600; }

@media (max-width: 1024px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .guides-grid { grid-template-columns: 1fr; } .featured-guides { padding: 40px 0; } }

/* DIY Steps - Full layout with descriptions (matching original) */
.diy-steps-section { padding: 60px 0; background: var(--bg-white); }
.steps-list { max-width: 960px; margin: 40px auto 0; }
.step-block {
	display: flex; gap: 35px; align-items: center;
	margin-bottom: 50px; padding-bottom: 50px;
	border-bottom: 1px solid var(--border-light);
}
.step-block:last-child { border-bottom: none; margin-bottom: 20px; padding-bottom: 0; }
.step-block.step-reverse { flex-direction: row-reverse; }
.step-block-image {
	flex: 0 0 45%; border-radius: var(--radius-md); overflow: hidden;
	box-shadow: var(--shadow-md);
}
.step-block-image img { width: 100%; height: 280px; object-fit: cover; display: block; }
.step-block-content { flex: 1; }
.step-block-number {
	width: 48px; height: 48px; background: var(--primary-color); color: white;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.step-block-content h3 {
	font-size: 1.35rem; margin: 0 0 12px; color: var(--text-dark);
}
.step-block-content p {
	font-size: 1rem; line-height: 1.75; color: var(--text-body); margin: 0;
}

@media (max-width: 768px) {
	.step-block, .step-block.step-reverse { flex-direction: column; gap: 20px; }
	.step-block-image { flex: none; width: 100%; }
	.step-block-image img { height: 220px; }
	.step-block { margin-bottom: 35px; padding-bottom: 35px; }
	.diy-steps-section { padding: 40px 0; }
}
@media (max-width: 480px) {
	.step-block-image img { height: 180px; }
	.step-block-content h3 { font-size: 1.15rem; }
}

/* Product Showcase */
.product-showcase { padding: 60px 0; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-showcase-card {
	background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden;
	border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
	text-align: center; padding: 24px; position: relative; transition: all var(--transition);
}
.product-showcase-card:hover { box-shadow: var(--shadow-md); }
.product-showcase-img { height: 180px; margin-bottom: 16px; }
.product-showcase-img img { width: 100%; height: 100%; object-fit: contain; }
.product-showcase-body h3 { font-size: 1.1rem; margin: 0 0 8px; }
.product-showcase-card .pikler-cta-button { margin-top: 14px; font-size: 0.9rem; padding: 12px 20px; }

@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } .product-showcase { padding: 40px 0; } }

/* Latest Articles */
.latest-articles { padding: 60px 0; background: var(--bg-white); }
@media (max-width: 480px) { .latest-articles { padding: 40px 0; } }

/* Newsletter */
.newsletter-section {
	padding: 50px 0; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark, #3A7A8E) 100%);
	color: white; text-align: center;
}
.newsletter-inner h2 { color: white; margin-top: 0; }
.newsletter-inner p { color: rgba(255,255,255,0.9); max-width: 500px; margin: 0 auto 20px; }
.newsletter-section input[type="email"] { max-width: 340px; display: inline-block; border: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.newsletter-section .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ======== END HOMEPAGE ======== */

/* ========================================
   Component Styles (posts, products, etc.)
   Warm, kid/parent-friendly design
   CSS classes documented for AI plugin:
   .pikler-tldr, .pikler-pro-tip, .pikler-warning
   .pikler-faq-section, .pikler-faq-item, .pikler-faq-question, .pikler-faq-answer
   .pikler-product-card, .pikler-comparison-wrap, .pikler-cta-button
   .pikler-affiliate-link, .pikler-rating-stars, .pikler-price, .pikler-badge
   .pikler-toc
   ======================================== */

/* Typography */
ul, ol { margin-bottom: 1.5em; margin-left: 1.5em; }
blockquote {
	border-left: 4px solid var(--secondary-color); padding: 20px 24px; margin: 25px 0;
	background-color: var(--secondary-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic; color: var(--text-dark);
}
code { background-color: var(--primary-light); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }
pre { background-color: #2d2d2d; color: #f8f8f2; padding: 20px; border-radius: var(--radius-sm); overflow-x: auto; }
table:not(.pikler-comparison-table) {
	width: 100%; border-collapse: collapse; margin: 25px 0;
}
table:not(.pikler-comparison-table) th,
table:not(.pikler-comparison-table) td {
	padding: 10px 14px; border: 1px solid var(--border-color); text-align: left;
}
table:not(.pikler-comparison-table) th { background-color: var(--primary-light); font-weight: 600; }
table:not(.pikler-comparison-table) tr:nth-child(even) { background-color: var(--bg-cream); }

/* Archive Styles */
.archive-header { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 2px solid var(--border-color); }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-bottom: 40px; }

/* Post Card */
.post-card {
	background-color: var(--bg-white); border-radius: var(--radius-md); overflow: hidden;
	transition: all var(--transition); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-thumbnail { height: 200px; overflow: hidden; background-color: var(--bg-cream); }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.03); }
.post-content { padding: 22px; }
.post-title { font-size: 1.25rem; margin-bottom: 10px; margin-top: 0; line-height: 1.35; }
.post-title a { color: var(--text-dark); text-decoration: none; }
.post-title a:hover { color: var(--primary-color); }
.post-excerpt { margin-bottom: 15px; color: var(--text-light); font-size: 0.95rem; }

/* Single Post */
.single-post-full {
	background-color: var(--bg-white); padding: 45px; border-radius: var(--radius-md);
	margin-bottom: 40px; box-shadow: var(--shadow-sm);
}
.post-header { margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--border-light); }
.post-header h1 { margin-top: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.9rem; color: var(--text-light); margin-top: 12px; }
.post-meta a { color: var(--primary-color); }
.featured-image { margin: 25px 0; border-radius: var(--radius-sm); overflow: hidden; }
.post-body { margin-bottom: 40px; }
.post-body .post-content > p:first-of-type { font-size: 1.1em; line-height: 1.8; color: var(--text-dark); }

/* Breadcrumbs */
.pikler-breadcrumbs { margin-bottom: 20px; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.breadcrumb-list li { display: inline; }
.breadcrumb-list li:not(:last-child)::after { content: ' > '; margin: 0 6px; color: var(--border-color); }
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--primary-color); }

/* ---- CALLOUT BOXES ---- */
.pikler-tldr, .pikler-pro-tip, .pikler-warning {
	padding: 22px 24px; margin: 28px 0; border-left: 4px solid;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.pikler-tldr { border-left-color: var(--primary-color); background-color: var(--primary-light); }
.pikler-pro-tip { border-left-color: var(--success-color); background-color: #F0FAF4; }
.pikler-warning { border-left-color: var(--warning-color); background-color: #FFF8EC; }
.pikler-tldr strong, .pikler-pro-tip strong, .pikler-warning strong {
	display: block; margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ---- PRODUCT CARD ---- */
.pikler-product-card {
	background-color: var(--bg-white); border: 1px solid var(--border-light);
	border-radius: var(--radius-md); overflow: hidden; margin: 30px 0;
	box-shadow: var(--shadow-sm); position: relative; transition: box-shadow var(--transition);
}
.pikler-product-card:hover { box-shadow: var(--shadow-md); }
.product-image { height: 280px; overflow: hidden; background-color: var(--bg-cream); }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.product-content { padding: 25px; }
.product-name { font-size: 1.35rem; margin: 0 0 12px 0; color: var(--text-dark); }

.pikler-badge {
	display: inline-block; background: var(--secondary-color); color: white; padding: 5px 14px;
	font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: 20px;
	letter-spacing: 0.05em; margin-bottom: 12px;
}

.pikler-rating-stars { margin-bottom: 10px; font-size: 1.15rem; }
.pikler-rating-stars .star.full { color: #F5A623; }
.pikler-rating-stars .star.half { color: #F5A623; opacity: 0.6; }
.pikler-rating-stars .star.empty { color: #ddd; }
.pikler-rating-stars .rating-value { font-size: 0.85rem; color: var(--text-light); margin-left: 6px; }

.pikler-price { font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 16px; }

.pikler-features { margin: 15px 0; padding-left: 22px; }
.pikler-features li { margin-bottom: 6px; line-height: 1.5; }

.pikler-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pikler-pros { background: #F0FAF4; padding: 14px; border-radius: var(--radius-sm); }
.pikler-cons { background: #FFF0F0; padding: 14px; border-radius: var(--radius-sm); }
.pikler-pros h4 { color: var(--success-color); margin: 0 0 8px 0; font-size: 0.9rem; }
.pikler-cons h4 { color: var(--danger-color); margin: 0 0 8px 0; font-size: 0.9rem; }
.pikler-pros ul, .pikler-cons ul { padding-left: 18px; margin: 0; font-size: 0.9rem; }
.pikler-pros li { margin-bottom: 4px; }
.pikler-cons li { margin-bottom: 4px; }
.pikler-pros li::marker { color: var(--success-color); }
.pikler-cons li::marker { color: var(--danger-color); }

.pikler-cta-button, .pikler-affiliate-link {
	display: block; width: 100%; padding: 16px 20px; text-align: center;
	background-color: var(--cta-color); color: white; border: none;
	border-radius: var(--radius-sm); cursor: pointer; font-weight: 700;
	font-size: 1.05rem; transition: all var(--transition); text-decoration: none;
	margin-top: 15px;
}
.pikler-cta-button:hover, .pikler-affiliate-link:hover {
	background-color: var(--cta-hover); color: white; text-decoration: none;
	transform: translateY(-1px); box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
	.pikler-product-card { display: grid; grid-template-columns: 280px 1fr; }
	.product-image { height: auto; min-height: 250px; }
	.pikler-cta-button, .pikler-affiliate-link { width: auto; display: inline-block; }
}
@media (max-width: 767px) {
	.pikler-pros-cons { grid-template-columns: 1fr; }
	.product-image { height: 220px; }
}

/* ---- COMPARISON TABLE ---- */
.pikler-comparison-wrap { margin: 30px 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.pikler-comparison-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pikler-comparison-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.pikler-comparison-table th, .pikler-comparison-table td {
	padding: 14px 16px; border: 1px solid var(--border-light); text-align: center; vertical-align: middle;
}
.pikler-comparison-table thead th {
	background-color: var(--primary-light); padding: 20px 16px; vertical-align: top;
}
.pikler-comparison-table thead th strong { display: block; margin-top: 10px; font-size: 1rem; color: var(--text-dark); }
.comparison-product-img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 10px; display: block; }
.pikler-comparison-table .field-label { text-align: left; background-color: var(--bg-cream); white-space: nowrap; font-weight: 600; }
.pikler-comparison-table tbody tr:nth-child(even) td:not(.field-label) { background-color: var(--bg-cream); }
.pikler-comparison-table .cta-row td { padding: 16px; border: none; background: white; }
.pikler-comparison-table .pikler-cta-button { display: inline-block; width: auto; padding: 10px 22px; font-size: 0.9rem; margin-top: 0; }
.pikler-comparison-table .pikler-badge { position: static; }

/* ---- TABLE OF CONTENTS ---- */
.pikler-toc {
	background-color: var(--bg-cream); border: 1px solid var(--border-light);
	border-radius: var(--radius-md); padding: 22px 26px; margin: 28px 0;
}
.pikler-toc h4 {
	margin: 0 0 14px 0; font-size: 0.95rem; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between;
	color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.04em;
}
.pikler-toc .toc-toggle { color: var(--primary-color); font-size: 0.85rem; }
.pikler-toc ol { padding-left: 22px; margin: 0; }
.pikler-toc li { margin-bottom: 7px; font-size: 0.92rem; line-height: 1.4; }
.pikler-toc a { color: var(--text-body); text-decoration: none; }
.pikler-toc a:hover { color: var(--primary-color); text-decoration: underline; }

/* ---- FAQ SECTION ---- */
.pikler-faq-section { margin: 35px 0; }
.pikler-faq-item {
	margin-bottom: 12px; border: 1px solid var(--border-light);
	border-radius: var(--radius-sm); overflow: hidden; transition: border-color var(--transition);
}
.pikler-faq-item:hover { border-color: var(--primary-color); }
.pikler-faq-question {
	background-color: var(--bg-cream); padding: 16px 22px; margin: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between;
	transition: all var(--transition); font-weight: 600; font-size: 1rem;
}
.pikler-faq-question:hover { background-color: var(--primary-light); }
.pikler-faq-question::after { content: '+'; font-size: 1.2rem; color: var(--primary-color); font-weight: 700; }
.pikler-faq-item.active .pikler-faq-question { background-color: var(--primary-color); color: white; }
.pikler-faq-item.active .pikler-faq-question::after { content: '-'; color: white; }
.pikler-faq-answer { padding: 20px 22px; display: none; line-height: 1.7; }
.pikler-faq-item.active .pikler-faq-answer { display: block; }

/* ---- RELATED POSTS ---- */
.related-posts { margin: 50px 0; padding-top: 35px; border-top: 2px solid var(--border-light); }
.related-posts h3 { margin-top: 0; }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }

/* ---- POST NAVIGATION ---- */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.nav-previous, .nav-next {
	display: block; padding: 18px; background-color: var(--bg-cream);
	border-radius: var(--radius-sm); transition: all var(--transition);
	border: 1px solid var(--border-light);
}
.nav-previous:hover, .nav-next:hover { background-color: var(--primary-light); border-color: var(--primary-color); text-decoration: none; }

/* ---- PAGINATION ---- */
.pagination { text-align: center; margin: 40px 0; }
.page-numbers { display: inline-flex; gap: 6px; list-style: none; padding: 0; }
.page-numbers a, .page-numbers span {
	display: inline-block; padding: 10px 14px; border: 1px solid var(--border-color);
	border-radius: var(--radius-sm); transition: all var(--transition); font-weight: 500;
}
.page-numbers a { color: var(--primary-color); }
.page-numbers a:hover, .page-numbers .current { background-color: var(--primary-color); color: white; border-color: var(--primary-color); text-decoration: none; }

/* ---- AUTHOR BOX ---- */
.author-box {
	background-color: var(--bg-cream); border: 1px solid var(--border-light);
	border-radius: var(--radius-md); padding: 28px; margin: 40px 0;
	display: flex; gap: 20px; align-items: flex-start;
}
.author-avatar { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; }

/* ---- AD SLOTS ---- */
.ad-slot { margin: 30px 0; text-align: center; min-height: 90px; overflow: hidden; clear: both; }
.ad-slot:empty { display: none; }
.ad-slot ins { display: block !important; }

/* ---- SEARCH FORM ---- */
.search-form { display: flex; gap: 10px; }
.search-field { flex: 1; padding: 12px 15px; margin-bottom: 0; }
.search-submit {
	background-color: var(--cta-color); color: white; border: none;
	padding: 12px 28px; border-radius: var(--radius-sm); cursor: pointer;
	font-weight: 600; transition: background-color var(--transition);
}
.search-submit:hover { background-color: var(--cta-hover); }

/* ---- UTILITIES ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- MOBILE OVERRIDES ---- */
@media (max-width: 768px) {
	.posts-grid { grid-template-columns: 1fr; gap: 20px; }
	.single-post-full { padding: 24px 18px; }
	.post-navigation { grid-template-columns: 1fr; }
	.author-box { flex-direction: column; align-items: center; text-align: center; }
	.related-posts-grid { grid-template-columns: 1fr 1fr; }
	.pikler-comparison-table { font-size: 0.85rem; }
	.pikler-comparison-table th, .pikler-comparison-table td { padding: 8px 10px; }
	.comparison-product-img { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
	.related-posts-grid { grid-template-columns: 1fr; }
	.pikler-toc { padding: 16px 18px; }
}
