/* Bombay Dosa Cafe blog - loads after /css/style.css and reuses its tokens
   (--bd-gold, --bd-navy, --font-head, ...). */

/* ── LIST ─────────────────────────────────────────────────── */
.blog-list-section { padding: 60px 0 80px; }
.blog-list-section .container { max-width: 1140px; }

.state-msg { text-align: center; color: #777; padding: 4rem 1rem; font-size: 1rem; }

.br-img {
  display: block;
  width: 100%;
  aspect-ratio: 540 / 315;
  background: #f1ece6 center / cover no-repeat;
  transition: opacity .25s;
}
.br-img:hover { opacity: .88; }
.br-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.br-title a { color: var(--bd-gold); text-decoration: none; }
.br-title a:hover { color: var(--bd-navy); }
.br-meta { font-size: 12px; color: #777; margin-bottom: 12px; }
.br-meta i { color: var(--bd-gold); margin-right: 4px; }
.br-desc { font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
.blog-row .btn-gold { font-size: 10px; padding: 7px 16px; }

/* gold line with a diamond between posts */
.row-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--bd-gold);
  font-size: 10px;
  margin: 46px 0;
}
.row-divider::before,
.row-divider::after { content: ''; flex: 1; height: 1px; background: #D8C49A; }

/* ── PAGINATION (round numbers, like the live site) ───────── */
.blog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 60px;
}
.blog-pagination a,
.blog-pagination span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.blog-pagination a:hover { color: var(--bd-gold); }
.blog-pagination .current { border: 1px solid var(--bd-gold); color: var(--bd-gold); }
.blog-pagination .dots { width: auto; }

/* ── SINGLE POST (matches the live post pages) ─────────────── */
.post-banner { padding: 70px 0 60px; }
.post-banner h1 {
  font-size: 42px;
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto 22px;
}
.post-banner .banner-divider { max-width: 640px; }

.post-wrap { max-width: 817px; margin: 0 auto; padding: 50px 16px 70px; }
.post-meta-line { font-size: 13px; color: #000; margin-bottom: 20px; }
.post-meta-line i { color: var(--bd-gold); margin-right: 6px; }
.post-cover { width: 100%; height: auto; display: block; margin-bottom: 30px; }

.post-body { font-size: 16px; line-height: 24px; color: #000; }
.post-body p { margin-bottom: 1.25rem; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 1.5rem auto; }
.post-body a { color: var(--bd-gold); }
.post-body h1, .post-body h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.1;
  color: var(--bd-navy);
  margin: 2.2rem 0 1rem;
  scroll-margin-top: 110px; /* clear the sticky header when jumped to */
}
.post-body h3, .post-body h4, .post-body h5, .post-body h6 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--bd-navy);
  margin: 1.8rem 0 .9rem;
  scroll-margin-top: 110px;
}
.post-body h4 { font-size: 22px; }
.post-body h5, .post-body h6 { font-size: 18px; }
.post-body ul, .post-body ol { margin-bottom: 1.25rem; }
.post-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
/* wide tables scroll sideways inside the article instead of being cut off on phones */
.post-body table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; display: block; overflow-x: auto; }
.post-body a { overflow-wrap: anywhere; }
.post-body table td, .post-body table th { border: 1px solid #e6e6e6; padding: .6rem .9rem; }

/* ── PHONE ────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .blog-list-section { padding: 40px 0 60px; }
  .br-title { font-size: 20px; }
  .row-divider { margin: 32px 0; }
  .post-banner { padding: 50px 0 40px; }
  .post-banner h1 { font-size: 26px; }
  .post-wrap { padding-top: 34px; }
  .post-body h1, .post-body h2 { font-size: 30px; }
  .post-body h3 { font-size: 22px; }
}
