/* Wheels On Demand — blog listing + single post styles. Additive only;
   enqueued alongside style-main.css so the same brand tokens (--navy-*,
   --red-*, --ink-*, --r-*, --shadow-*) are already in scope. */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card-thumb { display: block; aspect-ratio: 16/10; background: var(--cream); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-thumb-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-600); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--navy-900); text-decoration: none; }
.blog-card-body h3 a:hover { color: var(--red-600); }
.blog-card-body p { color: var(--ink-500); font-size: 15px; line-height: 1.6; flex: 1; }
.blog-card-meta { margin-top: 16px; font-size: 13px; color: var(--ink-400); }

.blog-pagination { display: flex; justify-content: center; gap: 12px; padding-bottom: 40px; }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--line-strong); color: var(--navy-900);
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.blog-pagination .page-numbers.current { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.blog-pagination .page-numbers:hover:not(.current) { border-color: var(--navy-900); }

.blog-empty { text-align: center; padding: 64px 0 80px; }
.blog-empty h3 { font-size: 26px; margin-bottom: 12px; }
.blog-empty p { color: var(--ink-500); font-size: 16px; }

.blog-featured-image { padding: 40px 0 0; }
.blog-featured-image img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }

.blog-content { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.75; color: var(--ink-700); padding-bottom: 40px; }
.blog-content > * + * { margin-top: 22px; }
.blog-content h2 { font-size: 30px; line-height: 1.2; color: var(--navy-900); margin-top: 44px; }
.blog-content h3 { font-size: 23px; line-height: 1.25; color: var(--navy-900); margin-top: 36px; }
.blog-content p { margin-top: 22px; }
.blog-content a { color: var(--red-600); text-decoration: underline; text-underline-offset: 2px; }
.blog-content ul, .blog-content ol { padding-left: 22px; }
.blog-content li + li { margin-top: 8px; }
.blog-content blockquote { border-left: 3px solid var(--red-600); padding: 4px 0 4px 22px; font-style: italic; color: var(--navy-900); font-size: 20px; }
.blog-content img { width: 100%; border-radius: var(--r-lg); }
.blog-content figcaption { font-size: 13.5px; color: var(--ink-400); text-align: center; margin-top: 10px; }
.blog-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
