/* Blog front-end styles */
.blog_wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 20px; font-family: Roboto, Arial, sans-serif; color: #222; text-align: left; }
.blog_pageheading { font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 32px; margin: 0 0 25px; }
.blog_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog_card { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.blog_card_thumb { display: block; aspect-ratio: 16 / 9; background: #f4f4f4; overflow: hidden; }
.blog_card_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog_card_body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.blog_card_title { font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 20px; margin: 0 0 6px; line-height: 1.25; background: transparent; color: #1c2c5b; text-transform: none; padding: 0; }
.blog_card_title a { color: #1c2c5b; background: transparent; text-decoration: none; }
.blog_card_title a:hover { text-decoration: underline; }
.blog_card_date { font-size: 12px; color: #777; margin-bottom: 8px; }
.blog_card_excerpt { font-size: 14px; line-height: 1.45; color: #444; flex-grow: 1; }
.blog_card_more { margin-top: 12px; font-size: 13px; color: #c00; text-decoration: none; font-weight: bold; align-self: flex-start; }
.blog_card_more:hover { text-decoration: underline; }

.blog_tags { margin-top: 10px; }
.blog_tag { display: inline-block; background: #eef2fa; color: #1c2c5b; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 3px; margin: 2px 4px 2px 0; text-decoration: none; }
.blog_tag:hover { background: #1c2c5b; color: #fff; }

.blog_pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 40px 0; }
.blog_pagelink { padding: 8px 12px; border: 1px solid #d0d0d0; border-radius: 4px; text-decoration: none; color: #1c2c5b; font-size: 14px; background: #fff; }
.blog_pagelink:hover { background: #eef2fa; }
.blog_pagecurrent { background: #1c2c5b; color: #fff; border-color: #1c2c5b; }
.blog_pageellipsis { padding: 8px 4px; color: #999; }

/* Single post */
.blog_post { max-width: 820px; margin: 0 auto; padding: 0 20px 20px; font-family: Roboto, Arial, sans-serif; color: #222; text-align: left; }
.blog_post_title { font-family: 'Roboto Condensed', Arial, sans-serif; font-size: 36px; line-height: 1.15; margin: 0 0 8px; color: #fff; }
.blog_post_meta { font-size: 13px; color: #777; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.blog_post_thumb { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 6px; margin-bottom: 24px; }
.blog_post_body { font-size: 16px; line-height: 1.65; }
.blog_post_body img { max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0; }
.blog_post_body h2, .blog_post_body h3 { font-family: 'Roboto Condensed', Arial, sans-serif; color: #1c2c5b; margin-top: 30px; background: transparent; text-transform: none; padding: 0; }
.blog_post_body p { margin: 0 0 1em; }
.blog_post_body a { color: #c00; }
.blog_post_footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
.blog_post_back { display: inline-block; margin-top: 20px; font-size: 14px; color: #1c2c5b; text-decoration: none; }
.blog_post_back:hover { text-decoration: underline; }

.blog_empty { text-align: center; padding: 60px 20px; color: #777; font-size: 16px; }

@media (max-width: 600px) {
  .blog_pageheading { font-size: 24px; }
  .blog_post_title { font-size: 26px; }
}
