/* Blog category list pages - light industrial XFPCB look */

.blog-category {
 background: #ffffff;
 color: #111827;
}

.blog-wrap {
 width: min(1120px, calc(100% - 40px));
 margin: 0 auto;
}

.blog-hero {
 padding: 92px 0 64px;
 border-bottom: 1px solid #e2e8f0;
 background:
 linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
 linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
 linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
 background-size: 42px 42px, 42px 42px, auto;
}

.blog-kicker {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 color: #15803d;
 font-size: 0.85rem;
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 margin-bottom: 16px;
}

.blog-kicker::before {
 content: '';
 width: 34px;
 height: 2px;
 background: #d49559;
}

.blog-hero h1 {
 color: #0f172a !important;
 font-size: clamp(2.4rem, 5vw, 3.4rem);
 line-height: 1.08;
 margin: 0 0 18px;
 text-shadow: none !important;
}

.blog-lead {
 max-width: 820px;
 margin: 0;
 color: #334155;
 font-size: 1.12rem;
 line-height: 1.75;
}

.blog-section {
 padding: 56px 0 72px;
 background: #ffffff;
}

.blog-section.blog-faq {
 padding-top: 0;
 background: #f8fafc;
 border-top: 1px solid #e2e8f0;
 padding: 56px 0 72px;
}

.blog-crosslinks {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 12px 16px;
 margin-bottom: 36px;
 padding: 16px 18px;
 border: 1px solid #e2e8f0;
 border-radius: 12px;
 background: #f8fafc;
}

.blog-crosslinks-label {
 color: #0f172a;
 font-weight: 800;
 font-size: 0.95rem;
}

.blog-crosslinks ul {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 list-style: none;
 margin: 0;
 padding: 0;
}

.blog-crosslinks a {
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 6px 14px;
 border-radius: 999px;
 border: 1px solid #cbd5e1;
 background: #ffffff;
 color: #123a75;
 font-weight: 700;
 font-size: 0.92rem;
 text-decoration: none;
 transition: border-color 0.2s ease, color 0.2s ease;
}

.blog-crosslinks a:hover,
.blog-crosslinks a:focus-visible {
 border-color: #2563eb;
 color: #1d4ed8;
}

.blog-post-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
 gap: 22px;
}

.blog-post-card {
 display: flex;
 flex-direction: column;
 gap: 12px;
 padding: 22px;
 border: 1px solid #e2e8f0;
 border-radius: 14px;
 background: #ffffff;
 box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.blog-post-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 10px 14px;
 align-items: center;
}

.blog-post-meta time {
 color: #64748b;
 font-size: 0.88rem;
 font-weight: 700;
}

.blog-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 list-style: none;
 margin: 0;
 padding: 0;
}

.blog-tags li {
 padding: 3px 9px;
 border-radius: 999px;
 background: #ecfdf5;
 color: #166534;
 font-size: 0.78rem;
 font-weight: 800;
}

.blog-post-title {
 margin: 0;
 font-size: 1.25rem;
 line-height: 1.35;
}

.blog-post-title a {
 color: #0f172a;
 text-decoration: none;
}

.blog-post-title a:hover,
.blog-post-title a:focus-visible {
 color: #1d4ed8;
}

.blog-post-excerpt {
 margin: 0;
 color: #475569;
 line-height: 1.65;
 flex: 1;
}

.blog-post-more {
 color: #15803d;
 font-weight: 800;
 text-decoration: none;
}

.blog-post-more:hover {
 color: #166534;
 text-decoration: underline;
}

.blog-empty {
 padding: 36px 28px;
 border: 1px dashed #94a3b8;
 border-radius: 16px;
 background: #f8fafc;
 text-align: left;
}

.blog-empty h2 {
 margin: 0 0 12px;
 color: #123a75 !important;
 font-size: 1.8rem;
}

.blog-empty > p {
 margin: 0 0 22px;
 max-width: 720px;
 color: #334155;
 line-height: 1.7;
 font-size: 1.05rem;
}

.blog-empty-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 margin-bottom: 24px;
}

.blog-btn-primary,
.blog-btn-secondary {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 padding: 12px 20px;
 border-radius: 8px;
 font-weight: 800;
 text-decoration: none;
}

.blog-btn-primary {
 background: #16a34a;
 color: #ffffff;
}

.blog-btn-primary:hover {
 background: #15803d;
 color: #ffffff;
}

.blog-btn-secondary {
 border: 1px solid #94a3b8;
 background: #ffffff;
 color: #0f172a;
}

.blog-btn-secondary:hover {
 border-color: #2563eb;
 color: #1d4ed8;
}

.blog-empty-links {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
 gap: 10px 18px;
 list-style: none;
 margin: 0;
 padding: 0;
}

.blog-empty-links a {
 color: #123a75;
 font-weight: 700;
 text-decoration: none;
}

.blog-empty-links a:hover {
 color: #1d4ed8;
 text-decoration: underline;
}

.blog-faq h2 {
 margin: 0 0 22px;
 color: #123a75 !important;
 font-size: 1.9rem;
}

.blog-faq-list {
 display: grid;
 gap: 12px;
}

.blog-faq-item {
 border: 1px solid #e2e8f0;
 border-radius: 12px;
 background: #ffffff;
 padding: 4px 18px 4px;
}

.blog-faq-item summary {
 cursor: pointer;
 list-style: none;
 padding: 16px 0;
 color: #0f172a;
 font-weight: 800;
 font-size: 1.05rem;
}

.blog-faq-item summary::-webkit-details-marker {
 display: none;
}

.blog-faq-item summary::after {
 content: '+';
 float: right;
 color: #15803d;
 font-weight: 900;
}

.blog-faq-item[open] summary::after {
 content: '\2212';
}

.blog-faq-item p {
 margin: 0 0 16px;
 color: #475569;
 line-height: 1.7;
}

@media (max-width: 640px) {
 .blog-hero {
 padding: 72px 0 48px;
 }

 .blog-empty {
 padding: 28px 18px;
 }
}
