/* AR-TEC Blog styles */
.blog-section { padding: 70px 0; }
.blog-intro { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.blog-intro h1 { margin-bottom: 12px; }
.blog-intro p { color: #5a5a5a; }

/* Category filter */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 40px; padding: 0; list-style: none; }
.blog-filter a {
	display: inline-block; padding: 8px 18px; border-radius: 30px; font-size: 14px; font-weight: 600;
	color: #4b00a0; background: #f3eefb; text-decoration: none; transition: all .2s ease;
}
.blog-filter a:hover { background: #e7dafb; }
.blog-filter a.is-active { background: #4b00a0; color: #fff; }

/* Card grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid #ececec;
	border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.05);
	transition: transform .25s ease, box-shadow .25s ease; height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,0,0,.1); }
.blog-card__image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.06); }
.blog-card__category {
	position: absolute; top: 14px; left: 14px; background: #4b00a0; color: #fff;
	font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px;
}
.blog-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { font-size: 13px; color: #8a8a8a; margin-bottom: 10px; }
.blog-card__title { font-size: 19px; line-height: 1.4; margin: 0 0 12px; }
.blog-card__title a { color: #1a1a2e; text-decoration: none; }
.blog-card__title a:hover { color: #4b00a0; }
.blog-card__excerpt { color: #5a5a5a; font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.blog-card__more { font-weight: 600; color: #4b00a0; text-decoration: none; font-size: 14px; align-self: flex-start; }
.blog-card__more i { margin-left: 6px; transition: transform .2s ease; }
.blog-card__more:hover i { transform: translateX(4px); }

.blog-empty { text-align: center; padding: 60px 20px; color: #777; }

/* Pagination */
.blog-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 50px; }
.blog-pagination a, .blog-pagination span {
	min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
	padding: 0 14px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid #e3e3e3; color: #333;
}
.blog-pagination a:hover { border-color: #4b00a0; color: #4b00a0; }
.blog-pagination .is-active { background: #4b00a0; border-color: #4b00a0; color: #fff; }
.blog-pagination .is-disabled { opacity: .45; pointer-events: none; }

/* ── Single post (article) ───────────────────────────────────── */
.blog-post-hero { position: relative; height: 420px; display: flex; align-items: flex-end; }
.blog-post-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.blog-post-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72)); }
.blog-post-hero__content { position: relative; z-index: 2; color: #fff; padding-bottom: 46px; }
.blog-post-breadcrumb { font-size: 14px; margin-bottom: 16px; color: rgba(255,255,255,.85); }
.blog-post-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.blog-post-breadcrumb a:hover { color: #fff; }
.blog-post-breadcrumb .sep { margin: 0 8px; }
.blog-post-hero__category { display: inline-block; background: #4b00a0; color: #fff; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.blog-post-hero__title { color: #fff; font-size: 38px; line-height: 1.25; margin: 0 0 14px; max-width: 900px; }
.blog-post-hero__meta { font-size: 14px; color: rgba(255,255,255,.9); }
.blog-post-hero__meta i { margin-right: 6px; }
.blog-post-hero__meta span { margin-right: 22px; }

.blog-article-section { padding: 60px 0 80px; }
.blog-article { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: #2b2b2b; }
.blog-article p { margin: 0 0 22px; }
.blog-article h2 { font-size: 28px; margin: 38px 0 16px; }
.blog-article h3 { font-size: 23px; margin: 32px 0 14px; }
.blog-article h4 { font-size: 19px; margin: 26px 0 12px; }
.blog-article img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.blog-article figure { margin: 22px 0; }
.blog-article figure img { margin: 0; }
.blog-article figcaption { font-size: 14px; color: #888; text-align: center; margin-top: 8px; }
.blog-article ul, .blog-article ol { margin: 0 0 22px; padding-left: 24px; }
.blog-article li { margin-bottom: 8px; }
.blog-article a { color: #4b00a0; text-decoration: underline; }
.blog-article blockquote {
	margin: 26px 0; padding: 16px 24px; border-left: 4px solid #4b00a0; background: #f7f3fd; color: #444; font-style: italic;
}
.blog-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; }
.blog-article table th, .blog-article table td { border: 1px solid #e0e0e0; padding: 10px 14px; text-align: left; }
.blog-article table th { background: #f3eefb; }
.blog-article .btn-blog {
	display: inline-block; padding: 12px 26px; background: #4b00a0; color: #fff; border-radius: 6px;
	text-decoration: none; font-weight: 600; margin: 6px 0;
}
.blog-article .btn-blog:hover { background: #3a007d; }

/* Related posts */
.blog-related { background: #f7f7fa; padding: 60px 0; }
.blog-related h2 { text-align: center; margin-bottom: 36px; }
