/* Bombay Chowpatty blog - loads after /css/style.css and reuses its tokens
   (--bc-gold, --bc-brown, --bc-ink, --font-serif, ...). */

/* ── LIST ─────────────────────────────────────────────────── */
.blog-list-section { background: #fff; padding: 50px 0 90px; }

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

.bc {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.bc-img {
  position: relative;
  width: 100%;
  aspect-ratio: 350 / 185;
  background: #ECE4D6 center / cover no-repeat;
  transition: opacity .25s;
}
.bc:hover .bc-img { opacity: .88; }
.bc-tag {
  position: absolute;
  left: 0;
  top: 8px;
  max-width: 90%;
  background: rgba(53, 60, 80, .85);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-body { padding: 14px 0 0; display: flex; flex-direction: column; flex: 1; }
.bc-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--bc-gold);
  line-height: 1.35;
  margin-bottom: .5rem;
}
.bc:hover .bc-title { color: var(--bc-brown); }
.bc-desc { font-size: .85rem; color: #666; line-height: 1.6; flex: 1; margin-bottom: .6rem; }
.bc-meta { font-size: .75rem; color: #999; }

/* ── PAGINATION ───────────────────────────────────────────── */
.blog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
}
.blog-pagination a,
.blog-pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e3e3;
  color: var(--bc-ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.blog-pagination a:hover { border-color: var(--bc-yellow); color: var(--bc-brown); }
.blog-pagination .current { background: var(--bc-yellow); border-color: var(--bc-yellow); color: #fff; }
.blog-pagination .dots { border: 0; min-width: 20px; }

/* ── SINGLE POST ──────────────────────────────────────────── */
.post-banner {
  background: var(--bc-yellow);
  padding: 14px 0 70px;
  text-align: center;
}
.post-breadcrumb {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #fff;
  margin-bottom: 26px;
}
.post-breadcrumb a { color: #fff; text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }
.post-breadcrumb span { margin: 0 4px; }
.post-breadcrumb .current { color: rgba(255, 255, 255, .7); }
.post-banner h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 55px;
  line-height: 1.25;
  color: var(--bc-ink);
  max-width: 1000px;
  margin: 0 auto 50px;
}
.banner-divider.dark { max-width: 940px; }
.banner-divider.dark::before,
.banner-divider.dark::after { background: rgba(53, 60, 80, .6); }
.banner-divider.dark span { color: var(--bc-ink); }

.post-wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 50px 16px 30px;
}
.bc-tag.static { position: static; display: inline-block; max-width: 100%; }
.post-meta-row { margin-bottom: 30px; }
.post-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  font-size: 13px;
  color: #888;
}
.post-share { display: inline-flex; gap: 6px; }
.post-share a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}
.post-share .fb { background: #3b5998; }
.post-share .tw { background: #111; }
.post-share .li { background: #0077b5; }
.post-share .pi { background: #cb2027; }
.post-share a:hover { opacity: .85; }

.post-body { font-size: 15px; line-height: 1.85; color: #444; }
.post-body p { margin-bottom: 1.4rem; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 1.5rem auto; }
.post-body img[data-align="left"] { float: left; margin: .25rem 1.5rem .75rem 0; max-width: 50%; }
.post-body img[data-align="right"] { float: right; margin: .25rem 0 .75rem 1.5rem; max-width: 50%; }
.post-body a { color: var(--bc-brown); }
.post-body h1, .post-body h2, .post-body h3,
.post-body h4, .post-body h5, .post-body h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--bc-ink);
  margin: 2rem 0 1rem;
  scroll-margin-top: 110px; /* clear the sticky header when jumped to */
}
.post-body h2 { font-size: 1.6rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body ul, .post-body ol { margin-bottom: 1.4rem; }
.post-body .video-embed-wrapper,
.post-body iframe[src*="youtube"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  margin: 1.5rem 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; vertical-align: top; }
.post-body table th { background: #FAF9F6; font-weight: 600; text-align: left; }

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 50px 0 30px;
}
.post-tags span {
  border: 1px solid #ddd;
  padding: 4px 10px;
  font-size: 12px;
  color: #888;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}
.post-nav a {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--bc-ink);
  text-decoration: none;
}
.post-nav a:hover { color: var(--bc-brown); }
.post-nav small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
}

.recommended { padding: 40px 0 90px; }
.recommended h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 48px;
  color: var(--bc-ink);
  margin-bottom: 30px;
}
.recommended .bc-title { color: var(--bc-ink); }
.recommended .bc:hover .bc-title { color: var(--bc-brown); }

@media (max-width: 767.98px) {
  .post-banner { padding-bottom: 50px; }
  .post-banner h1 { font-size: 32px; margin-bottom: 30px; }
  .recommended h2 { font-size: 32px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .text-end { text-align: left !important; }
}
