/* Article archive: generous titles, compact filters and whole-card links. */
body.page-template-page-blog #main .l-main { min-width: 0; }
body.page-template-page-blog #main .blog_filter {
  width: 100%;
  max-width: 1040px;
  margin: 24px auto 30px;
  padding: 20px 22px;
  border: 1px solid #dce5e9;
  border-radius: 12px;
  background: #f5f8f9;
  box-shadow: none;
  color: #17354a;
  text-align: left;
}
body.page-template-page-blog #main .blog_filter > select {
  width: 100%;
  max-width: 320px;
  min-height: 44px;
  margin: 0 0 14px;
  padding: 9px 12px;
  font-size: 15px;
  background: #fff;
  border: 1px solid #cbd8df;
  border-radius: 7px;
}
body.page-template-page-blog #main .akes-category-disclosure { margin: 0 0 18px; }
body.page-template-page-blog #main .akes-category-disclosure > summary { width: max-content; max-width: 100%; padding: 7px 0; cursor: pointer; color: #17354a; font-size: 15px; font-weight: 650; line-height: 1.6; }
body.page-template-page-blog #main .blog_filter .checkbox_list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; max-height: none; margin: 12px 0 0; padding: 0; overflow: visible; background: none; }
body.page-template-page-blog #main .blog_filter .ak-category-filter-label { display: flex; align-items: flex-start; gap: 8px; min-width: 0; margin: 0; padding: 6px 0; font-size: 14px; line-height: 1.6; white-space: normal; }
body.page-template-page-blog #main .blog_filter input[type="checkbox"] { flex: 0 0 17px; width: 17px; height: 17px; margin: 3px 0 0; accent-color: #19448e; }
body.page-template-page-blog #main .blog_filter :is(button[type="submit"], .akes-filter-clear) { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; width: auto; margin: 0 10px 0 0; padding: 9px 20px; border: 1px solid #17354a; border-radius: 7px; background: #17354a; color: #fff; font-size: 15px; line-height: 1.5; text-decoration: none; cursor: pointer; }
body.page-template-page-blog #main .blog_filter .akes-filter-clear { border-color: #cbd8df; background: #fff; color: #17354a; }
body.page-template-page-blog #main .blog_filter :is(summary, select, input, button, a):focus-visible { outline: 3px solid #ad782e; outline-offset: 4px; }
body.page-template-page-blog #main .article.live-writer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 1040px; margin: 0 auto 36px; padding: 0; }
body.page-template-page-blog #main .article.live-writer .blog_card { width: auto; max-width: none; min-width: 0; height: auto; margin: 0; padding: 0; overflow: hidden; border: 1px solid #dce5e9; border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgba(23,53,74,.04); }
body.page-template-page-blog #main .blog_card > a { position: relative; display: flex; flex-direction: column; align-items: stretch; width: 100%; height: 100%; margin: 0; padding: 0; color: #17354a; text-decoration: none; }
body.page-template-page-blog #main .blog_card > a > img { position: static; display: block; width: 100%; max-width: none; height: auto; max-height: none; margin: 0; padding: 0; aspect-ratio: 16 / 9; object-fit: cover; border: 0; }
body.page-template-page-blog #main .blog_card .cate_tag { position: absolute; inset: 12px auto auto 12px; display: block; width: auto; max-width: calc(100% - 24px); height: auto; margin: 0; padding: 5px 9px; border: 0; border-radius: 6px; background: rgba(23,53,74,.92); color: #fff; font-size: 12px; line-height: 1.5; white-space: normal; }
body.page-template-page-blog #main .blog_card .blog_card_txt { display: flex; flex: 1; flex-direction: column; width: 100%; max-width: none; min-width: 0; margin: 0; padding: 20px; }
body.page-template-page-blog #main .blog_card .blog_card_txt h5 { display: block; width: 100%; margin: 0; padding: 0; border: 0; color: #17354a; font-size: 20px; font-weight: 700; line-height: 1.55; overflow-wrap: break-word; }
body.page-template-page-blog #main .blog_card .blog_card_txt h5 > span { position: static; float: none; display: block; width: auto; height: auto; margin: 10px 0 0; padding: 0; color: #647580; font-size: 12px; font-weight: 400; line-height: 1.6; white-space: normal; }
body.page-template-page-blog #main .blog_card .blog_card_txt p { height: auto; max-height: none; margin: 14px 0 0; padding: 0; border: 0; color: #4b5e6b; font-size: 15px; line-height: 1.8; overflow-wrap: break-word; }
body.page-template-page-blog #main .blog_card > a:hover h5 { color: #19448e; text-decoration: underline; text-underline-offset: 4px; }
body.page-template-page-blog #main .blog_card > a:focus-visible { outline: 3px solid #ad782e; outline-offset: -4px; }
@media (max-width: 1000px) {
  body.page-template-page-blog #main .blog_filter .checkbox_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.page-template-page-blog #main .l-main { padding: 24px 18px 0; }
  body.page-template-page-blog #main .blog_filter { margin-top: 20px; padding: 18px; }
  body.page-template-page-blog #main .blog_filter > select { max-width: none; }
  body.page-template-page-blog #main .blog_filter .checkbox_list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  body.page-template-page-blog #main .article.live-writer { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.page-template-page-blog #main .blog_card .blog_card_txt { padding: 18px; }
  body.page-template-page-blog #main .blog_card .blog_card_txt h5 { font-size: 19px; }
}
