/* Blog page - White background, horizontal cards */
.blog-main {
	background: #ffffff;
	min-height: calc(100vh - 200px);
}

.blog-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 90px 32px 80px;
}

.blog-header {
	margin-bottom: 48px;
}

.blog-title {
	margin: 0;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
	letter-spacing: -0.02em;
}

.blog-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 60px;
}

.blog-item {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid #e5e5e5;
}

.blog-item:has(.item-thumb) {
	grid-template-columns: 300px 1fr;
}

.blog-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.item-thumb {
	position: relative;
	display: block;
	width: 300px;
	height: 200px;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
	flex-shrink: 0;
}

.item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-item:hover .item-thumb img {
	transform: scale(1.05);
}

.item-thumb-placeholder {
	display: grid;
	place-items: center;
	color: #999;
}

.item-thumb-placeholder svg {
	width: 48px;
	height: 48px;
}

.item-content {
	display: flex;
	flex-direction: column;
	padding-top: 4px;
}

.item-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 14px;
}

.item-cat {
	padding: 4px 12px;
	border-radius: 4px;
	background: #f0f0f0;
	color: #666;
	font-weight: 500;
	text-transform: capitalize;
}

.item-meta time {
	color: #999;
}

.item-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
	letter-spacing: -0.01em;
}

.item-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.item-title a:hover {
	color: #0066cc;
}

.item-excerpt {
	margin: 0;
	color: #666;
	font-size: 16px;
	line-height: 1.6;
}

.blog-empty {
	text-align: center;
	padding: 80px 20px;
	color: #999;
	font-size: 18px;
}

/* Pagination */
.blog-main .navigation.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #e5e5e5;
}

.blog-main .navigation.pagination .nav-links {
	display: flex;
	gap: 8px;
	align-items: center;
}

.blog-main .navigation.pagination a,
.blog-main .navigation.pagination span.current,
.blog-main .navigation.pagination span.dots {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #ffffff;
	color: #666;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.blog-main .navigation.pagination a:hover {
	border-color: #0066cc;
	background: #f5f9ff;
	color: #0066cc;
}

.blog-main .navigation.pagination span.current {
	border-color: #0066cc;
	background: #0066cc;
	color: #ffffff;
}

.blog-main .navigation.pagination span.dots {
	border: 0;
	background: transparent;
	cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
	.blog-container {
		padding: 40px 20px 60px;
	}

	.blog-header {
		margin-bottom: 32px;
	}

	.blog-title {
		font-size: 32px;
	}

	.blog-list {
		gap: 32px;
	}

	.blog-item {
		grid-template-columns: 1fr;
		gap: 16px;
		padding-bottom: 32px;
	}

	.item-thumb {
		width: 100%;
		height: 220px;
	}

	.item-title {
		font-size: 24px;
	}

	.item-excerpt {
		font-size: 15px;
	}

	.blog-main .navigation.pagination {
		margin-top: 40px;
		padding-top: 32px;
	}
}

@media (max-width: 480px) {
	.blog-title {
		font-size: 28px;
	}

	.item-title {
		font-size: 20px;
	}

	.item-excerpt {
		font-size: 14px;
	}
}

/* FAQ page - simple paginated accordion */
.faq-main {
	background: #ffffff;
	min-height: calc(100vh - 200px);
}

.faq-header {
	max-width: 1400px;
	margin-right: auto;
	margin-left: auto;
}

.faq-intro {
	max-width: 680px;
	margin: 14px 0 0;
	color: #666;
	font-size: 16px;
	line-height: 1.6;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 1400px;
	margin: 0 auto;
}

.faq-item {
	overflow: hidden;
	border: 1px solid #e7e9ed;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 5px 16px rgba(22, 34, 51, .09);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item:hover,
.faq-item.is-open {
	border-color: #c8d8e8;
	box-shadow: 0 8px 20px rgba(22, 34, 51, .12);
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 20px;
	padding: 20px 16px;
	border: 0;
	background: #ffffff;
	color: #252b35;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
}

.faq-question-text {
	min-width: 0;
}

.faq-toggle {
	display: grid;
	flex: 0 0 20px;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #12a8d8;
	color: #ffffff;
	transition: transform .2s ease;
}

.faq-toggle svg {
	width: 14px;
	height: 14px;
}

.faq-item.is-open .faq-toggle {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}

.faq-item.is-open .faq-answer {
	max-height: 1200px;
}

.faq-answer-inner {
	padding: 0 52px 22px 16px;
	color: #666;
	font-size: 16px;
	line-height: 1.65;
}

.faq-answer-inner p {
	margin: 0 0 12px;
}

.faq-answer-inner p:last-child {
	margin-bottom: 0;
}

.faq-main .navigation.pagination {
	max-width: 1400px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 768px) {
	.faq-question {
		padding: 18px 14px;
		font-size: 16px;
	}

	.faq-answer-inner {
		padding: 0 48px 18px 14px;
		font-size: 15px;
	}
}
