/* Articles section (home) + blog pages. Matches the Comply Wood design: blue #1a5fa8, navy #0d2a4a, Montserrat / Open Sans. */
.articles-section { padding: 44px 60px; background: #fff; max-width: 1200px; margin: 0 auto; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.article-card:hover { box-shadow: 0 8px 24px rgba(13,42,74,.12); transform: translateY(-3px); }
.article-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #f5f5f5; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #888; margin-bottom: 8px; font-family: 'Open Sans', sans-serif; }
.article-cat { background: #1a5fa8; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; text-decoration: none; }
.article-card-body h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
.article-card-body h3 a { color: #1a1a1a; text-decoration: none; }
.article-card-body h3 a:hover { color: #1a5fa8; }
.article-card-body p { font-size: 13.5px; line-height: 1.7; color: #555; margin-bottom: 14px; }
.article-readmore { margin-top: auto; color: #1a5fa8; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 13px; text-decoration: none; border-bottom: 1px solid transparent; align-self: flex-start; transition: border-color .2s, color .2s; }
.article-readmore:hover { color: #154d8a; border-color: #154d8a; }
.articles-empty { text-align: center; color: #777; font-size: 14px; padding: 30px 0; }

/* Articles / archive header band */
.articles-hero { background: #0d2a4a; color: #fff; text-align: center; padding: 56px 24px 50px; }
.articles-hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 34px; letter-spacing: .5px; margin: 0 auto; max-width: 900px; line-height: 1.25; }
.articles-hero p, .articles-hero-desc { font-size: 15px; opacity: .85; margin-top: 10px; }
.articles-hero .article-cat { display: inline-block; margin-bottom: 14px; }
.single-meta { margin-top: 14px; font-size: 13px; opacity: .8; }
.articles-page { max-width: 1200px; margin: 0 auto; padding: 44px 60px 60px; }

/* Pagination */
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 38px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid #ddd; border-radius: 3px; color: #1a5fa8; text-decoration: none; font-size: 13px; font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: #1a5fa8; color: #fff; border-color: #1a5fa8; }

/* Single article */
.article-single { max-width: 820px; margin: 0 auto; padding: 44px 24px 60px; }
.article-feature { margin-bottom: 28px; }
.article-feature img { width: 100%; height: auto; border-radius: 4px; display: block; }
.article-content { font-size: 16px; line-height: 1.9; color: #333; }
.article-content p { margin-bottom: 18px; }
.article-content h2, .article-content h3, .article-content h4 { font-family: 'Montserrat', sans-serif; color: #0d2a4a; margin: 30px 0 12px; line-height: 1.3; }
.article-content h2 { font-size: 24px; } .article-content h3 { font-size: 19px; }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content a { color: #1a5fa8; }
.article-content img { max-width: 100%; height: auto; border-radius: 4px; }
.article-content blockquote { border-left: 4px solid #1a5fa8; padding: 6px 18px; margin: 22px 0; color: #555; background: #f9f9f9; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; }
.article-content th { background: #f1f5fa; }
.article-share { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid #e6e6e6; }
.article-wa { background: #25d366; color: #fff; font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 3px; text-decoration: none; }
.article-wa.article-quote { background: #1a5fa8; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; font-size: 14px; font-weight: 600; }
.post-navigation a { color: #1a5fa8; text-decoration: none; }

/* Search */
.articles-search { display: flex; max-width: 480px; margin: 0 auto 34px; }
.articles-search input { flex: 1; padding: 11px 14px; border: 1px solid #ccc; border-right: 0; border-radius: 3px 0 0 3px; font-size: 14px; }
.articles-search button { background: #1a5fa8; color: #fff; border: 0; padding: 0 20px; font-weight: 700; border-radius: 0 3px 3px 0; cursor: pointer; }

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .articles-section { padding: 26px 16px; }
  .articles-page { padding: 28px 16px 40px; }
  .articles-hero { padding: 38px 16px 34px; }
  .articles-hero h1 { font-size: 24px; }
  .article-card-body h3 { font-size: 15px; }
}
@media (max-width: 560px) {
  .articles-grid { grid-template-columns: 1fr; }
}
