/* ===================================================================
   Blog Page — .page-blog 作用域
   =================================================================== */

.page-blog,
.page-blog * {
	box-sizing: border-box;
}

.page-blog {
	font-family: 'Open Sans', sans-serif;
	color: var(--brand-ink);
	line-height: 1.65;
	background: #fff;
}

.page-blog a {
	color: inherit;
	text-decoration: none;
}

.page-blog img {
	display: block;
	max-width: 100%;
}

.page-blog .container {
	width: min(1240px, calc(100% - 36px));
	margin: 0 auto;
}

/* ---- Hero ---- */
.page-blog .blog-hero {
	position: relative;
	overflow: hidden;
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-color: #0a2540;
}

.page-blog .blog-hero-overlay {
	width: 100%;
	padding: 72px 0 56px;
	background: rgba(10, 37, 64, 0.55);
}

.page-blog .blog-hero-title {
	font-family: 'Open Sans', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ---- Toolbar (Search + Category Filter) ---- */
.page-blog .blog-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 40px 0 32px;
}

/* Search form */
.page-blog .blog-search {
	flex: 1 1 320px;
	max-width: 480px;
}

.page-blog .blog-search-inner {
	display: flex;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #e4e7ec;
	background: #fff;
}

.page-blog .blog-search-input {
	flex: 1;
	border: none;
	padding: 11px 16px;
	font-size: 15px;
	font-family: 'Open Sans', sans-serif;
	color: var(--brand-ink);
	outline: none;
	background: transparent;
}

.page-blog .blog-search-input::placeholder {
	color: #9ca3af;
}

.page-blog .blog-search-btn {
	border: none;
	background: var(--brand-red);
	color: #fff;
	padding: 11px 24px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
	transition: background 0.15s;
	white-space: nowrap;
}

.page-blog .blog-search-btn:hover {
	background: var(--brand-red-dark);
}

/* Category filter */
.page-blog .blog-cat-select {
	padding: 10px 36px 10px 16px;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	border: 1px solid #e4e7ec;
	border-radius: 6px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667085' d='M6 8.825L1.175 4l.825-.825L6 7.175 10 3.175l.825.825z'/%3E%3C/svg%3E") right 12px center no-repeat;
	appearance: none;
	color: var(--brand-ink);
	cursor: pointer;
	min-width: 180px;
}

.page-blog .blog-cat-select:focus {
	outline: 2px solid var(--brand-red);
	border-color: var(--brand-red);
}

/* ---- Article Grid ---- */
.page-blog .blog-articles-wrap {
	padding: 0 0 32px;
}

.page-blog .blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

@media (max-width: 989px) {
	.page-blog .blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.page-blog .blog-grid {
		grid-template-columns: 1fr;
	}
}

/* Card */
.page-blog .blog-card {
	border: 1px solid #eef2f6;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s;
}

.page-blog .blog-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.page-blog .blog-card-img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f4f6;
}

.page-blog .blog-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.page-blog .blog-card:hover .blog-card-img img {
	transform: scale(1.04);
}

.page-blog .blog-card-body {
	padding: 20px 20px 24px;
}

.page-blog .blog-card-title {
	margin: 0 0 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
}

.page-blog .blog-card-title a {
	color: var(--brand-ink);
	text-decoration: none;
	transition: color 0.15s;
}

.page-blog .blog-card-title a:hover {
	color: var(--brand-red);
}

.page-blog .blog-card-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	color: var(--brand-muted);
}

.page-blog .blog-card-cat {
	font-weight: 600;
	color: var(--brand-red);
}

.page-blog .blog-card-divider {
	color: #d1d5db;
	margin: 0 4px;
}

.page-blog .blog-card-date {
	color: var(--brand-muted);
}

/* ---- Pagination ---- */
.page-blog .blog-pagination {
	margin: 48px 0 16px;
	text-align: center;
}

.page-blog .blog-paging {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
}

.page-blog .blog-paging li {
	display: inline-block;
}

.page-blog .blog-paging li a,
.page-blog .blog-paging li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color: var(--brand-ink);
	background: #fff;
	border: 1px solid #e4e7ec;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.15s;
	box-sizing: border-box;
}

.page-blog .blog-paging li a:hover {
	background: #f3f4f6;
	border-color: #d1d5db;
}

.page-blog .blog-paging li span.current,
.page-blog .blog-paging li .current {
	background: var(--brand-red);
	color: #fff;
	border-color: var(--brand-red);
	font-weight: 600;
}

.page-blog .blog-paging li span.dots {
	border: none;
	background: none;
	color: #9ca3af;
	min-width: 24px;
}

.page-blog .blog-empty {
	text-align: center;
	color: var(--brand-muted);
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	padding: 60px 0;
}


/* ===================================================================
   Solutions Section
   =================================================================== */
.page-blog .blog-solutions {
	padding: 60px 0 48px;
	background: #f8fafc;
}

.page-blog .blog-solutions-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 40px;
	gap: 24px;
	flex-wrap: wrap;
}

.page-blog .blog-solutions-eyebrow {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 5px;
	color: var(--brand-red);
	text-transform: uppercase;
	margin: 0 0 8px;
	opacity: 0.8;
}

.page-blog .blog-solutions-title {
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(24px, 3.2vw, 32px);
	font-weight: 700;
	color: var(--brand-red);
	margin: 0;
	letter-spacing: 1px;
}

.page-blog .blog-solutions-btn {
	display: inline-flex;
	align-items: center;
	padding: 11px 28px;
	background: var(--brand-red);
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	border-radius: 4px;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}

.page-blog .blog-solutions-btn:hover {
	background: var(--brand-red-dark);
}

/* ---- Solution Tile Grid (1+2+1 layout) ---- */
.page-blog .blog-solutions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr 1fr;
	gap: 0;
}

/*
  1+2+1 布局：
    Card 1 = 左列通高
    Card 2 = 中上
    Card 3 = 中下
    Card 4 = 右列通高
*/
.page-blog .blog-solution-tile:nth-child(1) {
	grid-row: 1 / 3;
	grid-column: 1;
}
.page-blog .blog-solution-tile:nth-child(2) {
	grid-row: 1;
	grid-column: 2;
}
.page-blog .blog-solution-tile:nth-child(3) {
	grid-row: 2;
	grid-column: 2;
}
.page-blog .blog-solution-tile:nth-child(4) {
	grid-row: 1 / 3;
	grid-column: 3;
}

/* 左右通高卡片填满单元格 */
.page-blog .blog-solution-tile:nth-child(1) .blog-solution-tile-inner,
.page-blog .blog-solution-tile:nth-child(4) .blog-solution-tile-inner {
	height: 100%;
}
.page-blog .blog-solution-tile:nth-child(1) .blog-solution-tile-img,
.page-blog .blog-solution-tile:nth-child(4) .blog-solution-tile-img {
	aspect-ratio: auto;
	height: 100%;
}

@media (max-width: 989px) {
	.page-blog .blog-solutions-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
	}
	.page-blog .blog-solution-tile {
		grid-row: auto !important;
		grid-column: auto !important;
	}
	.page-blog .blog-solution-tile-img {
		aspect-ratio: 4 / 3 !important;
		height: auto !important;
	}
	.page-blog .blog-solution-tile-inner {
		height: auto !important;
	}
}

@media (max-width: 640px) {
	.page-blog .blog-solutions-grid {
		grid-template-columns: 1fr;
	}
}

/* ---- Individual Tile ---- */
.page-blog .blog-solution-tile {
	overflow: hidden;

}

.page-blog .blog-solution-tile-inner {
	position: relative;
	overflow: hidden;

	background: #eef2f6;
}

.page-blog .blog-solution-tile-img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.page-blog .blog-solution-tile-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.page-blog .blog-solution-tile-inner:hover .blog-solution-tile-img img {
	transform: scale(1.08);
}

/* ---- Overlay ---- */
.page-blog .blog-solution-tile-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.05) 100%);
	display: flex;
	flex-direction: column;
	padding: 24px 20px;
	transition: background 0.3s ease;
}

/* Spacer via flex-grow: pushed content to bottom; hover collapses -> content rises */
.page-blog .blog-solution-tile-overlay::before {
	content: '';
	flex: 1;
}

.page-blog .blog-solution-tile-inner:hover .blog-solution-tile-overlay::before {
	flex: 0;
}

.page-blog .blog-solution-tile-inner:hover .blog-solution-tile-overlay {
	background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.2) 100%);
}

.page-blog .blog-solution-tile-content {
	transition: transform 0.35s ease;
}

.page-blog .blog-solution-tile-title {
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(16px, 1.8vw, 20px);
	font-weight: 700;
	color: #fff;
	margin: 0 0 14px;
	line-height: 1.4;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-blog .blog-solution-tile-btn {
	display: inline-block;
	padding: 8px 20px;
	border: 2px solid #fff;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-decoration: none;
	border-radius: 3px;
	transition: all 0.2s ease;
	opacity: 0;
	align-self: flex-start;
	transform: translateY(10px);
}

.page-blog .blog-solution-tile-inner:hover .blog-solution-tile-btn {
	opacity: 1;
	transform: translateY(0);
}

.page-blog .blog-solution-tile-btn:hover {
	background: #fff;
	color: var(--brand-ink);
}
