/* Blog: image banner, searchable editorial cards and shared inquiry form. */
.blog-page { --blog-blue: #164e75; }
.blog-breadcrumb-bar { background: #f5f7f9; border-bottom: 1px solid var(--hk-line); }
.blog-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 40px; padding-block: 8px; color: var(--hk-muted); font-size: 13px; }
.blog-breadcrumb a:hover { color: var(--blog-blue); text-decoration: underline; }
.blog-page .blog-hero { display: flex; align-items: center; min-height: 330px; padding-block: 68px; color: #fff; background-color: var(--hk-navy); }
.blog-page .blog-hero--listing { background-image: linear-gradient(90deg, rgba(8,35,56,.94), rgba(8,48,76,.72) 48%, rgba(8,48,76,.28)), url('../img/hongke-real/hongke-cnc-machining-centers.jpg'); background-position: center 72%; background-size: cover; }
.blog-hero h1 { max-width: 960px; margin: 0 0 22px; font-size: clamp(44px, 3.7vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.blog-hero p { max-width: 620px; margin: 0; color: #fff; font-size: 17px; line-height: 1.65; }
.blog-section { padding-block: 26px 54px; }
.blog-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.blog-search { display: flex; align-items: center; gap: 12px; padding: 5px 6px 5px 16px; margin-bottom: 26px; border: 1px solid #7695ad; border-radius: 2px; background: #fff; }
.blog-search:focus-within { outline: 2px solid var(--blog-blue); outline-offset: 2px; }
.blog-search svg { width: 20px; height: 20px; flex-shrink: 0; color: #526e83; }
.blog-search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--hk-ink); font: inherit; font-size: 15px; }
.blog-search input::placeholder { color: #58697a; opacity: 1; }
.blog-search input:focus { outline: none; }
.blog-search button { flex-shrink: 0; min-height: 44px; padding: 10px 25px; border: 0; border-radius: 2px; color: #fff; background: var(--blog-blue); font: inherit; font-size: 13px; font-weight: 750; text-transform: uppercase; cursor: pointer; }
.blog-search button:hover { background: #103c5b; }
.blog-results-heading { margin: 0 0 24px; font-size: 22px; overflow-wrap: anywhere; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card { min-width: 0; border: 1px solid var(--hk-line); background: #fff; transition: border-color .18s ease; }
.blog-card:hover, .blog-card:focus-within { border-color: var(--blog-blue); }
.blog-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.blog-card-media { height: 205px; overflow: hidden; background: #f3f6f8; }
.blog-card-media img { width: 100%; height: 100%; object-fit: contain; }
.blog-card-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: #668196; font-size: 13px; letter-spacing: .08em; }
.blog-card-placeholder svg { width: 48px; height: 48px; }
.blog-card-copy { padding: 18px 20px 24px; }
.blog-card time { display: block; margin-bottom: 9px; color: var(--blog-blue); font-size: 12px; font-weight: 750; letter-spacing: .045em; }
.blog-card h3 { margin: 0 0 12px; color: #18384e; font-size: 20px; line-height: 1.3; letter-spacing: -.015em; overflow-wrap: anywhere; }
.blog-card p { margin: 0; color: #526173; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.blog-card-link:hover h3 { color: #b83e00; }
.blog-empty { padding: 54px 28px; border: 1px solid var(--hk-line); background: #f7f9fb; text-align: center; }
.blog-empty h3 { margin: 0 0 14px; font-size: 25px; }
.blog-empty p { max-width: 620px; margin: 0 auto 18px; }
.blog-empty a { display: inline-flex; min-height: 44px; align-items: center; color: var(--blog-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.blog-guide-note { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--hk-line); }
.blog-guide-note p { margin: 0; font-size: 14px; }
.blog-guide-note a { display: inline-flex; min-height: 44px; flex-shrink: 0; align-items: center; color: var(--blog-blue); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 40px; }
.blog-pagination a, .blog-pagination span { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: 8px 12px; border: 1px solid var(--hk-line); border-radius: 2px; color: var(--hk-muted); font-size: 14px; }
.blog-pagination [aria-current] { color: #fff; background: var(--blog-blue); border-color: var(--blog-blue); }
.blog-pagination a:hover { border-color: var(--blog-blue); color: var(--blog-blue); }
.blog-page .blog-contact { padding-block: 76px; color: var(--hk-ink); background: #f2f6f9; }
.blog-contact .contact-shell { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.blog-contact .contact-copy h2 { margin: 0 0 16px; color: var(--blog-blue); font-size: 36px; }
.blog-contact .contact-copy > p { color: var(--hk-muted); font-size: 15px; }
.blog-contact .contact-copy .blog-contact-lead { color: var(--hk-ink); font-size: 21px; font-weight: 650; line-height: 1.45; }
.blog-contact .contact-form { padding: 0; border-radius: 0; background: transparent; }
.blog-contact .form-group input, .blog-contact .form-group textarea, .blog-contact .file-upload { border-radius: 2px; }
.blog-contact .form-group label span, .blog-contact .form-group small, .blog-contact .form-privacy { color: #526173; }
.blog-contact .btn--primary { background: #ce4600; border-color: #ce4600; border-radius: 2px; }
.blog-contact .btn--primary:hover { background: #b83e00; border-color: #b83e00; }
.blog-prose { max-width: 760px; margin: 24px auto 0; overflow-wrap: anywhere; font-size: 17px; line-height: 1.7; }
.blog-prose h2 { margin-top: 44px; font-size: 30px; }
.blog-prose h3 { margin-top: 30px; font-size: 23px; }
.blog-prose img { width: auto; max-width: 100%; height: auto; margin: 28px auto; }
.blog-prose a { color: #b83e00; text-decoration: underline; }
.blog-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.blog-prose th, .blog-prose td { padding: 12px; border: 1px solid var(--hk-line); text-align: left; }
.blog-prose .blog-byline { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hk-line); color: var(--hk-muted); font-size: 14px; }
@media (max-width: 1200px) {
  .blog-page .site-quick-actions { position: static; justify-content: flex-end; padding: 14px 20px; background: var(--hk-navy); }
  .blog-card-media { height: 185px; }
  .blog-contact .contact-shell { gap: 36px; }
}
@media (max-width: 990px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .blog-card-media { height: 210px; }
  .blog-contact .contact-shell { grid-template-columns: minmax(0, 1fr); }
  .blog-contact .contact-copy { max-width: 620px; }
}
@media (max-width: 768px) {
  .blog-page .blog-hero { min-height: 280px; padding-block: 48px; }
  .blog-hero p { max-width: 560px; font-size: 16px; }
  .blog-section { padding-block: 24px 40px; }
  .blog-grid { gap: 18px; }
  .blog-card-media { height: 190px; }
  .blog-card-copy { padding: 16px; }
  .blog-card h3 { font-size: 19px; }
  .blog-guide-note { flex-direction: column; align-items: flex-start; gap: 8px; }
  .blog-page .blog-contact { padding-block: 48px; }
  .blog-contact .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 480px) {
  .blog-hero h1 { font-size: 36px; }
  .blog-hero--listing { background-position: 58% 72%; }
  .blog-search { gap: 8px; padding-left: 10px; }
  .blog-search button { padding-inline: 15px; }
  .blog-search input { font-size: 14px; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .blog-card-media { height: 205px; }
  .blog-card-copy { padding: 18px 20px 22px; }
  .blog-empty { padding: 36px 20px; }
  .blog-empty h3 { font-size: 22px; }
  .blog-contact .contact-copy h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .blog-card { transition: none; } }
